[libgap-sage] 01/03: Improve d/get-orig-source.sh

Jerome Benoit calculus-guest at moszumanska.debian.org
Fri Nov 18 08:03:15 UTC 2016


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

calculus-guest pushed a commit to branch master
in repository libgap-sage.

commit 8384eeccb4e39eb76f006de29d4dbd80803cdf79
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Fri Nov 18 05:05:47 2016 +0000

    Improve d/get-orig-source.sh
---
 debian/changelog          | 9 +++++++++
 debian/control            | 4 ++--
 debian/get-orig-source.sh | 6 ++----
 3 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a10a48d..4b1857b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+libgap-sage (4.8.6+3+20160327g69a66f0+dsx-0) UNRELEASED; urgency=medium
+
+  * New GAP upstream minor/patch release.
+  * Debianization:
+    - debian/control, update;
+    - debian/get-orig-source.sh, link g/s/gap4r8p<PATCH> to g/s/gap4r8 .
+
+ -- Jerome Benoit <calculus at rezozer.net>  Fri, 18 Nov 2016 04:57:27 +0000
+
 libgap-sage (4.8.5+3+20160327g69a66f0+dsx-3) unstable; urgency=medium
 
   * Fix Release Critical bug caused by architecture dependent symbols,
diff --git a/debian/control b/debian/control
index 13ad5d4..21bd22d 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 Uploaders: Jerome Benoit <calculus at rezozer.net>
 Build-Depends:
  debhelper (>= 9), gnulib, dh-autoreconf, libtool, python-ply,
- gap (>= 4r8p5), gap (<< 4r8p6),
+ gap (>= 4r8p6), gap (<< 4r8p7),
  libgmp-dev
 Build-Depends-Indep:
 Standards-Version: 3.9.8
@@ -19,7 +19,7 @@ Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends:
- gap (>= 4r8p5), gap (<< 4r8p6),
+ gap (>= 4r8p6), gap (<< 4r8p7),
  ${shlibs:Depends}, ${misc:Depends}
 Description: GAP kernel as a C shared library -- lib
  GAP is a system for computational group theory. LibGAP contains a shared
diff --git a/debian/get-orig-source.sh b/debian/get-orig-source.sh
index 9863624..16ebdf3 100755
--- a/debian/get-orig-source.sh
+++ b/debian/get-orig-source.sh
@@ -95,6 +95,7 @@ mkdir ${GAPCORE_ROOTFOLDER}
 cd ${GAPCORE_ROOTFOLDER}
 unzip "${UPSTREAM_GAPCOREFOLDER}/${GAPCOREZIPBALL}" "${GAPCOREBALLFOLDERNAME}/src/*"
 mv ${GAPCOREBALLFOLDERNAME} ${GAPCOREBALLFOLDERNAME}p${UPSTREAM_GAP_RELEASE_PATCH}
+ln -sf ${GAPCOREBALLFOLDERNAME}p${UPSTREAM_GAP_RELEASE_PATCH} ${GAPCOREBALLFOLDERNAME}
 
 
 message "Fetching extra material"
@@ -174,10 +175,7 @@ cp -prd ${EXTRA_ROOTFOLDER} ${DEBIAN_ROOTFOLDER}
 
 GOS_TARBALL="${GOS_TMPDIR}/repacked.tar"
 GOS_TARBALLXZ="${GOS_TARBALL}.xz"
-( cd "${GOS_TMPDIR}" && \
-	find -L "${DEBIAN_ROOTFOLDERNAME}" -xdev -type f -print | sort | \
-	tar -T-  --owner=root --group=root --mode=a+rX --create --file "${GOS_TARBALL}" \
-	)
+tar -C ${GOS_TMPDIR} --owner=root --group=root --mode=a+rX --sort=name --create --file "${GOS_TARBALL}" ${DEBIAN_ROOTFOLDERNAME}
 xz -9e < "${GOS_TARBALL}" > "${GOS_TARBALLXZ}"
 mv "${GOS_TARBALLXZ}" "${DEBIAN_TARBALLXZ}"
 

-- 
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