[liblinear] 08/26: d/rules: Drop override_dh_makeshlibs needed only for lenny

Christian Kastner ckk at moszumanska.debian.org
Sun Sep 6 13:33:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

ckk pushed a commit to branch master
in repository liblinear.

commit f942b6c41cd5e7a4171b78eae66d7a2cb26340f7
Author: Christian Kastner <ckk at kvr.at>
Date:   Fri Sep 4 18:17:10 2015 +0200

    d/rules: Drop override_dh_makeshlibs needed only for lenny
---
 debian/rules | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0b019ab..006df58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,6 @@ PKGDIR := $(dir $(firstword $(MAKEFILE_LIST)))..
 # Get version numbers for SONAME from changelog
 UPVER := $(shell cd $(PKGDIR) && dpkg-parsechangelog -SVersion | \
 		sed -rne 's/([0-9]+\.[0-9]+).*/\1/p')
-# Get Dpkg version (needed for override_dh_makeshlibs)
-DPKGVER := $(shell dpkg -l dpkg-dev | grep '^i' | awk '{print $$3}')
 
 export DEB_CFLAGS_MAINT_APPEND += -Wall
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -29,12 +27,6 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 override_dh_auto_install:
 	dh_auto_install -- libdir=/usr/lib/$(DEB_HOST_MULTIARCH)/
 
-# Help out backporters on platforms not supporting c++ tags in symbols files
-override_dh_makeshlibs:
-	dpkg --compare-versions "$(DPKGVER)" ge "1.15.6" || \
-		rm -f debian/liblinear1.symbols
-	dh_makeshlibs
-
 
 override_dh_compress:
 	dh_compress -Xexamples

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/liblinear.git



More information about the debian-science-commits mailing list