Changeset 01bc36 in git for Singular/misc_ip.cc


Ignore:
Timestamp:
Dec 6, 2012, 4:05:07 AM (11 years ago)
Author:
Jan Engelhardt <jengelh@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8e73e05e7ecfd2e52c0036f263459ac859585888
Parents:
838f56f282a80f908d7d7f3fee81e986ed1c0fab
git-author:
Jan Engelhardt <jengelh@inai.de>2012-12-06 04:05:07+01:00
git-committer:
Jan Engelhardt <jengelh@inai.de>2022-07-17 10:18:22+02:00
Message:
src: remove __DATE__/__TIME__

	singular-libSingular-3_1_90.x86_64: W: file-contains-date-and-time
	/usr/lib64/singular/libSingular.so
	Your file uses __DATE__ and __TIME__ this causes the package
	to rebuild when not needed.

In the Open Build Service, Singular is rebuilt when a parent package
is rebuilt. However, if the resulting "new" Singular package has the
same checksum, the result is discarded, so that end-users do _not_
needlessy get idempotent updates offered through their package
manager.

__DATE__ or __TIME__ voids the effectiveness of discarding the result,
as the checksum is always different.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.cc

    r838f56 r01bc36  
    765765
    766766#ifndef MAKE_DISTRIBUTION
    767 const char *singular_date=__DATE__ " " __TIME__;
     767const char *singular_date = "";
    768768#endif
    769769
Note: See TracChangeset for help on using the changeset viewer.