[libbssolv-perl] 06/07: Patch Makefile.PL to avoid useless library dependencies
Florian Schlichting
fsfs at moszumanska.debian.org
Thu Sep 10 09:09:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libbssolv-perl.
commit 2ec68fa3fc872aad44bdf1d3d2a1c49c26310af6
Author: Florian Schlichting <fsfs at debian.org>
Date: Thu Sep 10 11:04:49 2015 +0200
Patch Makefile.PL to avoid useless library dependencies
---
debian/control | 4 +---
debian/patches/avoid-useless-dependency.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index b89b760..d3f6a8b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,9 +6,7 @@ Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 9.20120312~),
perl,
- libsolv-dev,
- liblzma-dev,
- libz-dev
+ libsolv-dev
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libbssolv-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libbssolv-perl.git
diff --git a/debian/patches/avoid-useless-dependency.patch b/debian/patches/avoid-useless-dependency.patch
new file mode 100644
index 0000000..a90e9b2
--- /dev/null
+++ b/debian/patches/avoid-useless-dependency.patch
@@ -0,0 +1,15 @@
+Description: avoid useless library dependencies (as discovered by dpkg-shlibdeps)
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: https://github.com/openSUSE/perl-BSSolv/issues/4
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -11,7 +11,7 @@
+ $lib = "-L$builddir/src -L$builddir/ext";
+ }
+
+-$lib = ($lib ? "$lib " : '') . '-lsolvext -lsolv -lz -llzma';
++$lib = ($lib ? "$lib " : '') . '-lsolvext -lsolv';
+
+ WriteMakefile(
+ NAME => 'BSSolv',
diff --git a/debian/patches/series b/debian/patches/series
index 676d496..606c00d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+avoid-useless-dependency.patch
2001_libsolv-dev-installs-to-multiarch-dest.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libbssolv-perl.git
More information about the Pkg-perl-cvs-commits
mailing list