[libgap-sage] 11/12: Don't mess around with versions in override_dh_auto_configure.

Tobias Hansen thansen at moszumanska.debian.org
Tue Oct 11 23:15:47 UTC 2016


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

thansen pushed a commit to branch debian-4.8.4
in repository libgap-sage.

commit eb71800e93713610580e4c591fedd0d6195ad0d0
Author: Tobias Hansen <thansen at debian.org>
Date:   Tue Oct 11 22:46:22 2016 +0100

    Don't mess around with versions in override_dh_auto_configure.
---
 debian/rules | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 49852f6..2b676e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,11 +27,6 @@ override_dh_auto_configure:
 	dh_auto_configure -B _build -- --with-gap_system_arch=$(DEB_BUILD_GAP_INFO_ARCH)
 	# postamble: based on the dist-hook target.
 	cp -t _build/src $(wildcard src/*.h src/*.c src/*.s)
-	sed -i -e 's/SyKernelVersion = "[0-9]*\.[0-9]*\.[0-9]*"/SyKernelVersion = "$(UPS_PKG_VERSION)"/g' _build/src/system.c
-	sed -i \
-			-e 's/GAP_BUILD_VERSION  "libgap-[0-9]*\.[0-9]*\.[0-9]*"/GAP_BUILD_VERSION  "libgap-$(UPS_PKG_VERSION)"/g' \
-			-e 's/GAP_BUILD_DATETIME "\(.*\)"/GAP_BUILD_DATETIME "$(DEB_BUILD_GAP_BUILD_DATETIME)"/g' \
-		_build/src/gap_version.h
 
 override_dh_auto_configure-indep:
 	@true

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



More information about the debian-science-commits mailing list