[Glibc-bsd-commits] r5059 - trunk/freebsd-sendpr/debian

Guillem Jover guillem at alioth.debian.org
Sat Oct 19 05:15:54 UTC 2013


Author: guillem
Date: 2013-10-19 05:15:53 +0000 (Sat, 19 Oct 2013)
New Revision: 5059

Modified:
   trunk/freebsd-sendpr/debian/changelog
   trunk/freebsd-sendpr/debian/control
   trunk/freebsd-sendpr/debian/rules
Log:
Use ?\194?\171dpkg-parsechangelog -SVersion?\194?\187 instead of sed-filtering the output

Modified: trunk/freebsd-sendpr/debian/changelog
===================================================================
--- trunk/freebsd-sendpr/debian/changelog	2013-10-19 05:15:47 UTC (rev 5058)
+++ trunk/freebsd-sendpr/debian/changelog	2013-10-19 05:15:53 UTC (rev 5059)
@@ -6,6 +6,7 @@
   * Switch to canonical Vcs URLs.
   * Remove packaging history from debian/copyright.
   * Add a missing template placeholder for mktemp in trap call.
+  * Use «dpkg-parsechangelog -SVersion» instead of sed-filtering the output.
 
  -- Guillem Jover <guillem at debian.org>  Sun, 29 May 2011 20:44:02 +0200
 

Modified: trunk/freebsd-sendpr/debian/control
===================================================================
--- trunk/freebsd-sendpr/debian/control	2013-10-19 05:15:47 UTC (rev 5058)
+++ trunk/freebsd-sendpr/debian/control	2013-10-19 05:15:53 UTC (rev 5059)
@@ -6,7 +6,7 @@
 Vcs-Browser: http://anonscm.debian.org/viewvc/glibc-bsd/trunk/freebsd-sendpr/
 Vcs-Svn: svn://anonscm.debian.org/glibc-bsd/trunk/freebsd-sendpr/
 Homepage: http://www.freebsd.org/send-pr.html
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.17.0)
 Build-Depends-Indep: freebsd-buildutils, texinfo
 Standards-Version: 3.9.2
 

Modified: trunk/freebsd-sendpr/debian/rules
===================================================================
--- trunk/freebsd-sendpr/debian/rules	2013-10-19 05:15:47 UTC (rev 5058)
+++ trunk/freebsd-sendpr/debian/rules	2013-10-19 05:15:53 UTC (rev 5059)
@@ -6,7 +6,7 @@
 #export DH_VERBOSE=1
 
 SOURCE := freebsd-sendpr
-VERSION = $(shell dpkg-parsechangelog | sed -e '/^Version:/!d' -e 's/^Version: //g' -e 's/-.*//g')
+VERSION = $(shell dpkg-parsechangelog -SVersion | sed -e 's/-.*//g')
 FREEBSD_VERSION = $(shell echo $(VERSION) | sed -e 's/^[^+]\++//g')
 SVN = http://svn.freebsd.org/base/release/$(FREEBSD_VERSION).0
 ORIGDIR = $(SOURCE)-$(VERSION)




More information about the Glibc-bsd-commits mailing list