Source: osmo-hlr
Version: 1.7.0+dfsg1-2
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath usrmerge shell
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The included file /usr/share/doc/osmo-hlr/examples/Makefile contains
various paths dependent on the build environment:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/osmo-hlr.html

  154 ACLOCAL·=·${SHELL}·'/build/1st/osmo-hlr-1.2.0+dfsg1/missing'·aclocal-1.16
  154 
ACLOCAL·=·${SHELL}·'/build/2/osmo-hlr-1.2.0+dfsg1/2nd/missing'·aclocal-1.16
  
  176 EGREP·=·/bin/grep·-E
  176 EGREP·=·/usr/bin/grep·-E

The attached patch fixes this by removing the Makefile from the package,
while preserving the Makefile.in and Makefile.am files needed to
regenerate the Makefile should the user wish to use it.


Thanks for maintaining osmo-hlr!


live well,
  vagrant
From 5c565cc9d173b988f3f0e47591c3e3251454da31 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Wed, 16 Dec 2020 19:07:33 +0000
Subject: [PATCH] debian/rules: Remove example Makefile.

The Makefile contains information specific to the build environment
such as build paths and paths to specific binaries. Remove it as it
would need to be regenerated on the end user system in order to be
used.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6a206cc..cf98b80 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,3 +24,7 @@ override_dh_clean:
 
 override_dh_installsystemd:
 	dh_installsystemd --no-enable --no-start
+
+override_dh_installexamples:
+	dh_installexamples
+	rm -f debian/osmo-hlr/usr/share/doc/osmo-hlr/examples/Makefile
-- 
2.29.2

Attachment: signature.asc
Description: PGP signature

Reply via email to