[Python-modules-commits] r24052 - in packages/python-gpyconf/trunk/debian (rules)
sunweaver at users.alioth.debian.org
sunweaver at users.alioth.debian.org
Mon Apr 29 07:00:57 UTC 2013
Date: Monday, April 29, 2013 @ 07:00:53
Author: sunweaver
Revision: 24052
fix get-orig-source after change of upstream version
Modified:
packages/python-gpyconf/trunk/debian/rules
Modified: packages/python-gpyconf/trunk/debian/rules
===================================================================
--- packages/python-gpyconf/trunk/debian/rules 2013-04-29 06:58:05 UTC (rev 24051)
+++ packages/python-gpyconf/trunk/debian/rules 2013-04-29 07:00:53 UTC (rev 24052)
@@ -5,8 +5,8 @@
SOURCE_PACKAGE = $(shell dpkg-parsechangelog|sed -n '/^Source/{s/Source: \(.*\)/\1/p}')
MAIN_VERSION = $(shell dpkg-parsechangelog|sed -n '/^Version/{s/Version: \(.*\)/\1/p}')
-BUILD_VERSION = $(shell echo $(MAIN_VERSION)|sed -n 's/\([0-9.]*\)[-+~].*/\1/p')
-VER = $(BUILD_VERSION)~git$(shell date -u '+%Y%m%d')
+BUILD_VERSION = $(shell echo $(MAIN_VERSION)|sed -n 's/\([0-9.]*\)[-+].*/\1/p')
+VER = $(BUILD_VERSION)
get-orig-source:
dh_testdir
@@ -16,4 +16,4 @@
cd .upstream && git clone git://github.com/jonashaag/gpyconf --depth 1 $(SOURCE_PACKAGE)-$(VER)
find .upstream -type f | while read F; do chmod -x "$$F"; done
cd .upstream && tar --exclude .git -jvcf ../../tarballs/$(SOURCE_PACKAGE)_$(VER).orig.tar.bz2 $(SOURCE_PACKAGE)-$(VER)
- rm -rfv .upstream
\ No newline at end of file
+ rm -rfv .upstream
More information about the Python-modules-commits
mailing list