[Python-apps-commits] r13101 - in packages/terminator/trunk/debian (changelog rules)

pochu at users.alioth.debian.org pochu at users.alioth.debian.org
Sun Apr 24 21:37:58 UTC 2016


    Date: Sunday, April 24, 2016 @ 21:37:58
  Author: pochu
Revision: 13101

debian/rules: Add get-orig-source rule.

Modified:
  packages/terminator/trunk/debian/changelog
  packages/terminator/trunk/debian/rules

Modified: packages/terminator/trunk/debian/changelog
===================================================================
--- packages/terminator/trunk/debian/changelog	2016-04-24 21:37:14 UTC (rev 13100)
+++ packages/terminator/trunk/debian/changelog	2016-04-24 21:37:58 UTC (rev 13101)
@@ -1,6 +1,7 @@
 terminator (0.98+bzr-gtk3-1637-1) UNRELEASED; urgency=medium
 
   * New upstream snapshot from the gtk3 branch.
+  * debian/rules: Add get-orig-source rule.
 
  -- Emilio Pozuelo Monfort <pochu at debian.org>  Thu, 21 Apr 2016 16:56:23 +0200
 

Modified: packages/terminator/trunk/debian/rules
===================================================================
--- packages/terminator/trunk/debian/rules	2016-04-24 21:37:14 UTC (rev 13100)
+++ packages/terminator/trunk/debian/rules	2016-04-24 21:37:58 UTC (rev 13101)
@@ -24,3 +24,13 @@
 	rm -f data/terminator.desktop
 	rm -f po/.intltool-merge-cache
 	find . -name '*.pyc' -delete
+
+DEBVERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
+REV := $(shell echo $(DEBVERSION) | cut -d'-' -f3)
+VER := $(shell echo $(DEBVERSION) | cut -d'-' -f-3)
+
+get-orig-source:
+	bzr branch -r $(REV) lp:terminator/gtk3
+	rm -rf gtk3/.bzr*
+	mv gtk3 terminator-$(VER)
+	tar cJf terminator_$(VER).orig.tar.xz terminator-$(VER)




More information about the Python-apps-commits mailing list