rpm-build/build
Dmitry V. Levin d304554617 packageSources: override RPMTAG_BUILDTIME with $SOURCE_DATE_EPOCH
When hasher generates an src.rpm from pkg.tar, it sets $SOURCE_DATE_EPOCH
according to pkg.tar's specfile modification time which in turn is set to
the corresponding commit time.

When hasher builds from an src.rpm, it sets $SOURCE_DATE_EPOCH according
to the src.rpm's RPMTAG_BUILDTIME.

This changes helps to connect these two stages, setting the
RPMTAG_BUILDTIME of the generated src.rpm to $SOURCE_DATE_EPOCH.

Co-Authored-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2020-04-21 15:54:47 +00:00
..
.lclintrc re-added .lclintrc and .cvsignore files from CVS 2002-03-25 20:27:37 +00:00
build.c build.c,parsePrep.c: quoted buildSubdir, to allow spaces. 2011-08-06 18:38:30 +03:00
buildio.h Initial revision 2002-03-25 20:16:26 +00:00
checkFiles.c build/checkFiles.c: disable intersection check for /usr/src/debug 2011-02-05 23:54:19 +03:00
checkFiles.h build/checkFiles.c: reimplemented checkIntersect() using fiIntersect() 2011-01-15 11:49:07 +03:00
expression.c build/expression.c (doPrimary): Read closing parenthesis, patch from Michael Schroeder 2007-02-23 00:05:37 +00:00
files.c Add 'VCS' key 2019-11-01 16:16:23 +00:00
interdep.c interdep.c: fix the optimization ("due to repentancy") of a non-identical dep 2019-02-27 07:30:19 +03:00
interdep.h build/interdep.c: initial revision 2011-01-31 04:53:26 +03:00
Makefile.am Fix automake warnings 2014-02-15 22:19:47 +00:00
misc.c Initial revision 2002-03-25 20:16:26 +00:00
names.c Removed const from getBuildTime(). 2006-05-15 04:54:03 +04:00
pack.c packageSources: override RPMTAG_BUILDTIME with $SOURCE_DATE_EPOCH 2020-04-21 15:54:47 +00:00
parseBuildInstallClean.c Backport %check from rpm-4.2 2009-09-08 20:46:26 +00:00
parseChangelog.c Add support for $RPM_ADD_CHANGELOG_{NAME,TEXT,TIME} 2018-09-24 18:07:32 +03:00
parseDescription.c fixed spacing 2005-10-06 18:21:40 +00:00
parseFiles.c fixed spacing 2005-10-06 18:21:40 +00:00
parsePreamble.c Add 'VCS' key 2019-11-01 16:16:23 +00:00
parsePrep.c Fix %patch and %autopatch 2020-01-04 10:43:44 +00:00
parseReqs.c parseRCPOT: reject Provides containing logical operator < or > 2019-04-16 18:46:34 +00:00
parseScript.c Revert "build/parseScript.c: opitimize out RPMSENSE_INTERP dependencies on /bin/sh" 2008-03-17 20:58:55 +03:00
parseSpec.c build: add %autopatch support 2019-10-03 21:14:18 +03:00
poptBT.c rpmbuild: add "-bt" %check-only option 2011-12-06 16:25:14 +00:00
reqprov.c reqprov.c: fix a comment (after the disttag handling was inserted) 2019-02-27 07:30:19 +03:00
rpmbuild.h build/reqprov.c, rpmbuild.h: export compare_deps() 2011-02-07 04:28:18 +03:00
rpmspec.h parseSpec: use getline() to fix long line processing 2012-03-19 19:02:25 +00:00
spec.c headerNVR() replaced by the new header{NVRD,Name{,Version}}() in trivial cases 2019-02-26 23:16:13 +03:00
TODO Initial revision 2002-03-25 20:16:26 +00:00