tags 829754 + pending patch
tags 929036 + pending patch
thanks

I've just uploaded bibclean 2.11.4.1-4.1 to DELAYED/10:
  
  bibclean (2.11.4.1-4.1) unstable; urgency=medium
  .
    * Non-maintainer upload.
    * Export CFLAGS from dpkg-buildflags(1) and FORCE_SOURCE_DATE to make the
      build reproducible. Based on a patch by Vagrant Cascadian.
      (Closes: #829754)
    * Apply a patch by Helmut Grohne to add support for using a C compiler
      suitable for cross-building. (Closes: #929036)

The full debdiff is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diffstat for bibclean-2.11.4.1 bibclean-2.11.4.1

 changelog |   11 +++++++++++
 rules     |   15 ++++-----------
 2 files changed, 15 insertions(+), 11 deletions(-)

diff -Nru bibclean-2.11.4.1/debian/changelog bibclean-2.11.4.1/debian/changelog
--- bibclean-2.11.4.1/debian/changelog  2011-12-07 05:26:23.000000000 -0800
+++ bibclean-2.11.4.1/debian/changelog  2022-10-06 10:42:07.000000000 -0700
@@ -1,3 +1,14 @@
+bibclean (2.11.4.1-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Export CFLAGS from dpkg-buildflags(1) and FORCE_SOURCE_DATE to make the
+    build reproducible. Based on a patch by Vagrant Cascadian.
+    (Closes: #829754)
+  * Apply a patch by Helmut Grohne to add support for using a C compiler
+    suitable for cross-building. (Closes: #929036)
+
+ -- Chris Lamb <la...@debian.org>  Thu, 06 Oct 2022 10:42:07 -0700
+
 bibclean (2.11.4.1-4) unstable; urgency=low
 
   * build targets changed to recommendation from lintian
diff -Nru bibclean-2.11.4.1/debian/rules bibclean-2.11.4.1/debian/rules
--- bibclean-2.11.4.1/debian/rules      2011-12-07 05:17:38.000000000 -0800
+++ bibclean-2.11.4.1/debian/rules      2022-10-06 10:42:07.000000000 -0700
@@ -4,17 +4,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
 
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-else
-       CFLAGS += -O2
-endif
+export CC
+export FORCE_SOURCE_DATE=1
 
 # This target makes sure that timestamps of files are in the
 # right order after dpkg-deb has unpacked the package. It prevents
@@ -29,7 +23,6 @@
 config.status: autogen-check
        CFLAGS="$(CFLAGS)" ./configure \
                --with-pager=/usr/bin/pager --with-fhs-rcfiles \
-               --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
                 --prefix=/usr --mandir=\$${prefix}/share/man
 
 build: build-arch build-indep

Reply via email to