Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libnet for openSUSE:Factory checked in at 2022-02-09 20:39:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libnet (Old) and /work/SRC/openSUSE:Factory/.libnet.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnet" Wed Feb 9 20:39:40 2022 rev:33 rq:952890 version:1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libnet/libnet.changes 2020-09-25 16:21:38.931365192 +0200 +++ /work/SRC/openSUSE:Factory/.libnet.new.1898/libnet.changes 2022-02-09 20:41:00.070634464 +0100 @@ -1,0 +2,5 @@ +Wed Feb 9 08:23:54 UTC 2022 - Bernhard Wiedemann <[email protected]> + +- Add reproducible.patch to override build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnet.spec ++++++ --- /var/tmp/diff_new_pack.AQckyT/_old 2022-02-09 20:41:00.622635785 +0100 +++ /var/tmp/diff_new_pack.AQckyT/_new 2022-02-09 20:41:00.626635794 +0100 @@ -25,6 +25,7 @@ Group: Development/Libraries/C and C++ URL: https://codedocs.xyz/libnet/libnet/ Source0: https://github.com/libnet/libnet/releases/download/v%{version}/libnet-%{version}.tar.gz +Patch0: reproducible.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen @@ -70,8 +71,7 @@ packets. This package contains documentation. %prep -%setup -q -###%patch1 -p1 +%autosetup -p1 rm -rf sample/win32 # HACK: to have samples/ dir untouched and ready for installation ++++++ reproducible.patch ++++++ https://github.com/libnet/libnet/pull/112 commit e65c6d042be83c8a0feacadd15f1bb027d020745 Author: Bernhard M. Wiedemann <[email protected]> Date: Wed Sep 30 07:30:58 2020 +0200 Make man-page generation reproducible For this we behave similar to pod2man and use the input file mtime. Also adapt date format to what doxygen-1.8.20 produces to make the comment above true again. LC_ALL=C is used so that %B is independent of language. Also use UTC to be independent of timezone. This patch was done while working on reproducible builds for openSUSE. Index: libnet-1.2/doc/fixmanpages.in =================================================================== --- libnet-1.2.orig/doc/fixmanpages.in +++ libnet-1.2/doc/fixmanpages.in @@ -32,10 +32,10 @@ test -d $MANDIR/man3 || die "Could not l find $MANDIR/man3/ -name "libnet.h.3" -exec sh -c 'rm -f "$1"' _ {} \; # Let's create libnet.3 before dealing with the rest. -# BTW: We're using this hideous date format because Doxygen generated man +# BTW: We're using this date format because Doxygen generated man # pages have them set like this and our date format shouldn't look different. -pod2man -d "$(date +%a\ %b\ %d\ %C%y)" -n LIBNET -c "libnet Programmers Guide" -s 3 -r "@PACKAGE_NAME@-@PACKAGE_VERSION@" @top_srcdir@/doc/libnet.Pod man/man3/libnet.3 || die "Could not create libnet.3 in $MANDIR/man/man3." +pod2man -d "$(LC_ALL=C date -u -r @top_srcdir@/doc/libnet.Pod +%d\ %B\ %Y)" -n LIBNET -c "libnet Programmers Guide" -s 3 -r "@PACKAGE_NAME@-@PACKAGE_VERSION@" @top_srcdir@/doc/libnet.Pod man/man3/libnet.3 || die "Could not create libnet.3 in $MANDIR/man/man3." # pod2html --title="libnet Programmers Guide" --noindex --infile=libnet.Pod --outfile=libnet.html
