On Wed, Feb 24, 2021 at 07:32:11AM +0100, Matthias Klose wrote:
> patch at
> http://launchpadlibrarian.net/524724757/libdebian-installer_0.120ubuntu2_0.120ubuntu3.diff.gz

In the interest of reproducible builds, the hunk about dh_shlibdeps
should be dropped. It affects the non-udeb package and the udeb lines in
shlibs files are harmless otherwise.

I'm attaching an updated patch.

Helmut
diff --minimal -Nru libdebian-installer-0.124/debian/changelog 
libdebian-installer-0.124+nmu1/debian/changelog
--- libdebian-installer-0.124/debian/changelog  2022-10-02 04:14:09.000000000 
+0200
+++ libdebian-installer-0.124+nmu1/debian/changelog     2022-11-27 
19:57:11.000000000 +0100
@@ -1,3 +1,10 @@
+libdebian-installer (0.124+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Support the noudeb build profile. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 27 Nov 2022 19:57:11 +0100
+
 libdebian-installer (0.124) unstable; urgency=high
 
   * Package parser: ignore multiarch qualifier suffix (Closes: #1020783).
diff --minimal -Nru libdebian-installer-0.124/debian/control 
libdebian-installer-0.124+nmu1/debian/control
--- libdebian-installer-0.124/debian/control    2022-03-31 22:25:41.000000000 
+0200
+++ libdebian-installer-0.124+nmu1/debian/control       2022-11-27 
19:56:05.000000000 +0100
@@ -35,6 +35,7 @@
 
 Package: libdebian-installer4-udeb
 Package-Type: udeb
+Build-Profiles: <!noudeb>
 Section: debian-installer
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -56,6 +57,7 @@
 
 Package: libdebian-installer-extra4-udeb
 Package-Type: udeb
+Build-Profiles: <!noudeb>
 Section: debian-installer
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, libdebian-installer4-udeb (= 
${binary:Version})
diff --minimal -Nru libdebian-installer-0.124/debian/rules 
libdebian-installer-0.124+nmu1/debian/rules
--- libdebian-installer-0.124/debian/rules      2021-10-19 13:55:02.000000000 
+0200
+++ libdebian-installer-0.124+nmu1/debian/rules 2022-11-27 19:57:09.000000000 
+0100
@@ -29,8 +29,10 @@
 endif
 
 override_dh_install:
+ifeq ($(filter noudeb,$(DEB_BUILD_PROFILES)),)
        install 
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdebian-installer.so.4 
$(CURDIR)/debian/libdebian-installer4-udeb/lib
        install 
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdebian-installer-extra.so.4
 $(CURDIR)/debian/libdebian-installer-extra4-udeb/lib
+endif
        dh_install --sourcedir=debian/tmp
 ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS))$(filter 
nodoc,$(DEB_BUILD_PROFILES)),)
        dh_install -plibdebian-installer4-dev --sourcedir=debian/tmp 
usr/share/doc/libdebian-installer4-dev

Reply via email to