commit a2ps for openSUSE:Factory
Hello community, here is the log from the commit of package a2ps for openSUSE:Factory checked in at 2018-07-17 09:42:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/a2ps (Old) and /work/SRC/openSUSE:Factory/.a2ps.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "a2ps" Tue Jul 17 09:42:44 2018 rev:44 rq:623110 version:4.14 Changes: -------- --- /work/SRC/openSUSE:Factory/a2ps/a2ps.changes 2017-06-29 15:22:00.942528234 +0200 +++ /work/SRC/openSUSE:Factory/.a2ps.new/a2ps.changes 2018-07-17 09:43:52.424965415 +0200 @@ -1,0 +2,7 @@ +Mon Jul 16 09:50:16 UTC 2018 - bwiedemann@suse.com + +- Add reproducible.patch to fix build date (boo#1047218) +- Run build non-parallelized and with make -B because of + poorly specified make build dependencies to make build reproducible + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ a2ps.spec ++++++ --- /var/tmp/diff_new_pack.CrS0wr/_old 2018-07-17 09:43:53.156962733 +0200 +++ /var/tmp/diff_new_pack.CrS0wr/_new 2018-07-17 09:43:53.160962718 +0200 @@ -48,6 +48,7 @@ # PATCH-FIX-SUSE Bug 955194 - CVE-2015-8107: CVE-2015-8107 - a2ps(gnu) v4.14 format string vulnerability Patch16: a2ps-4.14-bnc955194.patch Patch17: a2ps-buildcompare.patch +Patch18: reproducible.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: emacs-nox @@ -57,6 +58,7 @@ BuildRequires: psutils BuildRequires: texlive-latex BuildRequires: timezone +BuildRequires: bison Requires: file Requires: ghostscript-fonts-std Requires: glibc @@ -128,6 +130,7 @@ %patch16 -p0 %patch17 -p1 %patch0 -b .p0 +%patch18 -p1 cp -f %{SOURCE3} po/ko.po find -type f | grep -vE '(parseppd|parsessh).y' | xargs \ sed -ri 's/59 Temple Place(,| -) Suite 330/51 Franklin Street, Fifth Floor/;s/02111-1307/02110-1301/' @@ -153,9 +156,10 @@ con="$con ${in##*/}" done popd - make %{?_smp_mflags} -C contrib/ ${con} LDFLAGS="-pie" + make -C contrib/ ${con} LDFLAGS="-pie" sh ./config.status - make %{?_smp_mflags} PSFONT_PATH=%{_datadir}/ghostscript/fonts LDFLAGS="-pie" MAKEINFO='makeinfo --force' + # the build system is awful so we need to build with -B and avoid parallelism + make PSFONT_PATH=%{_datadir}/ghostscript/fonts LDFLAGS="-pie" MAKEINFO='makeinfo --force' -B pushd doc texi2html a2ps.texi popd ++++++ reproducible.patch ++++++ Index: a2ps-4.14/man/help2man =================================================================== --- a2ps-4.14.orig/man/help2man +++ a2ps-4.14/man/help2man @@ -164,7 +164,7 @@ my ($help_text, $version_text) = map { or die "$this_program: can't get `--$_' info from $ARGV[0]\n" } qw(help version); -my $date = strftime "%B %Y", localtime; +my $date = strftime "%B %Y", gmtime($ENV{SOURCE_DATE_EPOCH} || time); (my $program = $ARGV[0]) =~ s!.*/!!; my $package = $program; my $version;
participants (1)
-
root