Hello community, here is the log from the commit of package dbh for openSUSE:Factory checked in at 2017-01-18 21:56:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dbh (Old) and /work/SRC/openSUSE:Factory/.dbh.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dbh" Changes: -------- --- /work/SRC/openSUSE:Factory/dbh/dbh.changes 2016-03-26 15:28:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.dbh.new/dbh.changes 2017-01-18 21:56:06.659182777 +0100 @@ -1,0 +2,6 @@ +Tue Jan 17 08:40:13 UTC 2017 - bwiedem...@suse.com + +- Add reproducible.patch to allow for reproducible builds + Add buildfix.patch to allow build on kernel versions containing fc + +------------------------------------------------------------------- New: ---- buildfix.patch reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dbh.spec ++++++ --- /var/tmp/diff_new_pack.mpaxVh/_old 2017-01-18 21:56:07.263097348 +0100 +++ /var/tmp/diff_new_pack.mpaxVh/_new 2017-01-18 21:56:07.267096783 +0100 @@ -27,6 +27,10 @@ Source: http://downloads.sf.net/dbh/%{lname}-%{version}.tar.gz Patch0: dbh-bigendian.patch +# PATCH-FIX-OPENSUSE -- bmwiedemann - make builds reproducible +Patch1: reproducible.patch +# PATCH-FIX-UPSTREAM -- https://savannah.gnu.org/bugs/index.php?50063 +Patch2: buildfix.patch BuildRequires: fdupes BuildRequires: gtk-doc BuildRequires: libtool @@ -74,6 +78,8 @@ %prep %setup -q -n %{lname}-%{version} %patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build %configure --disable-static ++++++ buildfix.patch ++++++ reported upstream https://savannah.gnu.org/bugs/index.php?50063 https://sourceforge.net/p/dbh/bugs/8/ Index: libdbh2-5.0.19/configure =================================================================== --- libdbh2-5.0.19.orig/configure +++ libdbh2-5.0.19/configure @@ -2625,7 +2625,7 @@ if test x"$os" != x ; then PKG_CONF_DIR="$datadir/pkgconfig" fi -os=`uname -a | grep fc` +os=`uname -a | grep fc-this-was-matching-kernel-SHA1sum` if test x"$os" != x ; then PKG_CONF_DIR="$datadir/pkgconfig" fi ++++++ reproducible.patch ++++++ Index: libdbh2-5.0.19/configure.ac =================================================================== --- libdbh2-5.0.19.orig/configure.ac +++ libdbh2-5.0.19/configure.ac @@ -300,10 +300,10 @@ else BYTESEX="little-endian" fi dnl Configuration date -AC_SUBST([CONFIG_DATE]) CONFIG_DATE="`date`" +AC_SUBST([CONFIG_DATE]) CONFIG_DATE="`date -u -d @${SOURCE_DATE_EPOCH:-$(date +%s)}`" dnl User doing the configuration -AC_SUBST([CONFIG_USER]) CONFIG_USER="`whoami`@`hostname`" +AC_SUBST([CONFIG_USER]) CONFIG_USER="reproducible@reproducible" if test -n "$ORGANIZATION"; then CONFIG_USER="$CONFIG_USER at $ORGANIZATION" fi @@ -351,7 +351,7 @@ AC_SUBST(THREAD_SAFE) THREAD_SAFE=yes AC_SUBST(STATIC_SHARED) AC_SUBST(ENABLE_SHARED) AC_SUBST(ENABLE_STATIC) -AC_SUBST(UNAME_INFO) UNAME_INFO=`uname -a` +AC_SUBST(UNAME_INFO) UNAME_INFO="reproducible" if test "$enable_gtk_doc" = yes; then dnl AC_MSG_RESULT(Documentation will be produced with gtk-doc.) Index: libdbh2-5.0.19/configure =================================================================== --- libdbh2-5.0.19.orig/configure +++ libdbh2-5.0.19/configure @@ -16743,9 +16743,9 @@ if test "X$ac_cv_c_bigendian" = "Xyes"; else BYTESEX="little-endian" fi - CONFIG_DATE="`date`" + CONFIG_DATE="`date -u -d @${SOURCE_DATE_EPOCH:-$(date +%s)}`" - CONFIG_USER="`whoami`@`hostname`" + CONFIG_USER="reproducible@reproducible" if test -n "$ORGANIZATION"; then CONFIG_USER="$CONFIG_USER at $ORGANIZATION" fi @@ -16788,7 +16788,7 @@ fi - UNAME_INFO=`uname -a` + UNAME_INFO="reproducible" if test "$enable_gtk_doc" = yes; then ENABLE_GTK_DOC=yes