[pve-devel] applied: [PATCH] buildsys: perlapi-X.Y gets set automatically by dh, so drop manual replace

Thomas Lamprecht t.lamprecht at proxmox.com
Sat May 25 19:37:12 CEST 2019


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---

This is not needed, as dh_perl sees that we install XS stuff into version
dependent perl target directories, and can figure this out itself, and else a
debian/rules override of dh_perl adding the '-V' option would be a bit saner..

 Makefile                       | 1 -
 debian/{control.in => control} | 1 -
 2 files changed, 2 deletions(-)
 rename debian/{control.in => control} (98%)

diff --git a/Makefile b/Makefile
index dac65a1..1f0f541 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,6 @@ ${DEB}:
 	rm -rf build
 	cp -a data build
 	cp -a debian build/debian
-	sed -e "s|@PERLAPI@|perlapi-$(PERL_APIVER)|g" debian/control.in > build/debian/control
 	echo "git clone git://git.proxmox.com/git/pve-cluster.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
 	cd build; dpkg-buildpackage -rfakeroot -b -us -uc
 	lintian ${DEB}
diff --git a/debian/control.in b/debian/control
similarity index 98%
rename from debian/control.in
rename to debian/control
index 1990176..b3410d2 100644
--- a/debian/control.in
+++ b/debian/control
@@ -47,7 +47,6 @@ Depends: corosync (>= 2.3.4-1),
          ${misc:Depends},
          ${perl:Depends},
          ${shlibs:Depends},
-         @PERLAPI@,
 Breaks: pve-ha-manager (<<2.0-4),
 Description: Cluster Infrastructure for Proxmox Virtual Environment
  This package contains the Cluster Infrastructure for the Proxmox
-- 
2.20.1





More information about the pve-devel mailing list