[Glibc-bsd-commits] r3472 - trunk/freebsd-utils/debian
Robert Millan
rmh at alioth.debian.org
Sat Jun 18 17:52:12 UTC 2011
Author: rmh
Date: 2011-06-18 17:52:12 +0000 (Sat, 18 Jun 2011)
New Revision: 3472
Modified:
trunk/freebsd-utils/debian/rules
Log:
resync get-orig-source with freebsd-libs to cope with X.Y+dsZ version scheme
Modified: trunk/freebsd-utils/debian/rules
===================================================================
--- trunk/freebsd-utils/debian/rules 2011-06-18 17:34:20 UTC (rev 3471)
+++ trunk/freebsd-utils/debian/rules 2011-06-18 17:52:12 UTC (rev 3472)
@@ -18,9 +18,10 @@
endif
SOURCE = freebsd-utils
-VERSION = $(shell dpkg-parsechangelog | sed -e '/^Version:/!d' -e 's/^Version: //g' -e 's/-.*//g')
-SVN = http://svn.freebsd.org/base/release/$(VERSION).0
-#SVN = http://svn.freebsd.org/base/releng/8.1
+VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-[^-]*$$/\1/p')
+SVN_REL = $(shell echo $(VERSION) | sed -ne 's/+[^+]*$$//p')
+SVN = http://svn.freebsd.org/base/release/$(SVN_REL).0
+#SVN = http://svn.freebsd.org/base/releng/$(SVN_REL)
ORIGDIR = $(SOURCE)-$(VERSION)
TARNAME = $(SOURCE)_$(VERSION).orig.tar.gz
More information about the Glibc-bsd-commits
mailing list