[netpanzer] 58/118: Clean source from unused Libs in get-orig-source
Markus Koschany
apo at moszumanska.debian.org
Sun Jun 5 10:19:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository netpanzer.
commit 34d5c135cd4ad875a187a5b775ede949374d6768
Author: Alexander Reichle-Schmehl <tolimar at debian.org>
Date: Fri Jan 20 10:26:46 2012 +0000
Clean source from unused Libs in get-orig-source
---
debian/changelog | 2 +-
debian/rules | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 653ac5b..2d66490 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-netpanzer (0.8.4-1) UNRELEASED; urgency=low
+netpanzer (0.8.4.debian.1-1) UNRELEASED; urgency=low
[ Eddy Petrișor ]
* fix Vcs-Svn URL to point to svn, not the incomplete ssh location
diff --git a/debian/rules b/debian/rules
index caa230e..57701ea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
+UPP_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p'| sed -e 's/\.debian\.[0-9]*//')
CFLAGS = -Wall -g
@@ -85,7 +86,8 @@ binary-arch: build install
get-orig-source:
rm -rf get-orig-source netpanzer_$(SRC_VERSION).orig.tar.gz
mkdir get-orig-source
- svn export svn://svn.berlios.de/netpanzer/tags/netpanzer/$(SRC_VERSION) get-orig-source/netpanzer-$(SRC_VERSION)
+ svn export svn://svn.berlios.de/netpanzer/tags/netpanzer/$(UPP_VERSION) get-orig-source/netpanzer-$(SRC_VERSION)
+ rm -rf get-orig-source/netpanzer-$(SRC_VERSION)/src/Libs/{lua,physfs}
GZIP='--best --no-name' tar czf netpanzer_$(SRC_VERSION).orig.tar.gz -C get-orig-source netpanzer-$(SRC_VERSION)
rm -rf get-orig-source
echo " "netpanzer_$(SRC_VERSION).orig.tar.gz" created; move it to the right destination to build the package"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/netpanzer.git
More information about the Pkg-games-commits
mailing list