[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r895 ./packages/openofficeorg/2.3/experimental: fix Developer Snapshot detection to match on x.y.z~mX



------------------------------------------------------------
revno: 895
committer: Rene Engelhard <rene@debian.org>
branch nick: experimental
timestamp: Mon 2007-09-24 16:11:04 +0200
message:
  fix Developer Snapshot detection to match on x.y.z~mX
modified:
  changelog
  rules
=== modified file 'changelog'
--- a/changelog	2007-09-23 22:49:11 +0000
+++ b/changelog	2007-09-24 14:11:04 +0000
@@ -3,6 +3,7 @@
   [ Rene Engelhard ]
   * debian/rules:
     - remove bogus curl conditional which was temporary but slipped in...
+    - fix Developer Snapshot detection to match on x.y.z~mX
 
   [ Mirco Bauer ]
   * debian/rules:
@@ -12,7 +13,7 @@
   * debian/control.mono.in:
     - enhanced package description
 
- -- Mirco Bauer <meebey@debian.org>  Mon, 24 Sep 2007 00:00:05 +0200
+ -- Rene Engelhard <rene@debian.org>  Mon, 24 Sep 2007 16:09:40 +0200
 
 openoffice.org (1:2.3.0-1) experimental; urgency=low
 

=== modified file 'rules'
--- a/rules	2007-09-23 22:49:11 +0000
+++ b/rules	2007-09-24 14:11:04 +0000
@@ -2104,7 +2104,7 @@
 	cat $(PKGDIR)-common/usr/share/applications/ooo-template.desktop \
 		| sed -e "s/ooff/broff/" | sed -e "s/OpenO/BrO/" \
 		 > debian/broffice.org/usr/share/applications/ooo-template.desktop
-	if dpkg-parsechangelog | grep urgency | grep -q $(SRCNUM); then \
+	if dpkg-parsechangelog | grep urgency | grep -q "\~.*m"; then \
 		 debian/scripts/fix_image_rgb \
 			 $(SOURCE_TREE)/ooo_custom_images/dev_nologo_broffice/introabout/intro.bmp \
 			 debian/broffice.org/$(OODIR)/program/intro.bmp; \
@@ -2481,7 +2481,7 @@
 	done
 
 	# fix intro
-	if dpkg-parsechangelog | grep urgency | grep -q $(SRCNUM); then \
+	if dpkg-parsechangelog | grep urgency | grep -q  "\~.*m"; then \
 		debian/scripts/fix_image_rgb \
 			$(SOURCE_TREE)/ooo_custom_images/dev_nologo/introabout/intro.bmp \
 			$(PKGDIR)-common/$(OODIR)/program/intro.bmp; \


Reply to: