[evolvis-commits] r14247: Bugfix in the renaming

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Feb 28 03:59:20 CET 2011


Author: mirabilos
Date: 2011-02-28 03:59:20 +0100 (Mon, 28 Feb 2011)
New Revision: 14247

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/deb-specific/dsf-helper.pl
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/changelog
   trunk/gforge_base/evolvisforge-5.1/gforge/debian/rules
Log:
Bugfix in the renaming

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/deb-specific/dsf-helper.pl
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/deb-specific/dsf-helper.pl	2011-02-28 02:59:18 UTC (rev 14246)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/deb-specific/dsf-helper.pl	2011-02-28 02:59:20 UTC (rev 14247)
@@ -73,6 +73,8 @@
 @package_list = split /\n/, qx! dh_listpackages ! ;
 my $package_name = qx! grep ^PACKAGE= debian/rules | cut -d= -f2 ! ;
 $package_name =~ s/\n//;
+my $old_package_name = qx! grep ^OLDPACKAGE= debian/rules | cut -d= -f2 ! ;
+$old_package_name =~ s/\n//;
 my $forge_name = qx! grep ^FORGENAME= debian/rules | cut -d= -f2 ! ;
 $forge_name =~ s/\n//;
 
@@ -125,6 +127,7 @@
 	   $dest =~ s/\n\n+/\n\n/g ;
        }
        $dest =~ s/\@PACKAGE\@/$package_name/g ;
+       $dest =~ s/\@OLDPACKAGE\@/$old_package_name/g ;
        $dest =~ s/\@FORGENAME\@/$forge_name/g ;
 
        open D, "> $destfile" ;

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/changelog
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/changelog	2011-02-28 02:59:18 UTC (rev 14246)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/changelog	2011-02-28 02:59:20 UTC (rev 14247)
@@ -1,10 +1,10 @@
-fusionforge (4.8.55-2) experimental; urgency=low
+fusionforge (4.8.55-2) unstable; urgency=low
 
   * Renamed source package.
   * Also renamed binary meta-packages, now split into three parts:
     fusionforge-basic, fusionforge-standard and fusionforge-full.
 
- -- Roland Mas <lolando at debian.org>  Sun, 07 Feb 2010 20:46:14 +0100
+ -- Roland Mas <lolando at debian.org>  Sun, 07 Feb 2010 21:04:48 +0100
 
 gforge (4.8.55-1) experimental; urgency=low
   

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/rules
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/rules	2011-02-28 02:59:18 UTC (rev 14246)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/rules	2011-02-28 02:59:20 UTC (rev 14247)
@@ -20,7 +20,7 @@
 CRONDFILES=$(patsubst packaging/cron.d/%,debian/$(OLDPACKAGE)-%.cron.d,$(wildcard packaging/cron.d/[a-z]*))
 DIRSFILES=$(patsubst packaging/dirs/%,debian/$(OLDPACKAGE)-%.dirs,$(wildcard packaging/dirs/[a-z]*))
 INSTALLFILES=$(patsubst packaging/install/%,debian/$(OLDPACKAGE)-%.install,$(wildcard packaging/install/[a-z]*))
-DOCSFILES=$(patsubst packaging/docs/oldpkgname%,debian/$(OLDPACKAGE)%.docs,$(wildcard packaging/docs/pkgname*)) $(patsubst packaging/docs/pkgname%,debian/$(PACKAGE)%.docs,$(wildcard packaging/docs/pkgname*))
+DOCSFILES=$(patsubst packaging/docs/oldpkgname%,debian/$(OLDPACKAGE)%.docs,$(wildcard packaging/docs/oldpkgname*)) $(patsubst packaging/docs/pkgname%,debian/$(PACKAGE)%.docs,$(wildcard packaging/docs/pkgname*))
 POFILES=$(patsubst debian/dsf-po/%,debian/po/%,$(wildcard debian/dsf-po/*) debian/po/POTFILES.in)
 
 remove-binary-files:
@@ -38,8 +38,10 @@
 debian/$(OLDPACKAGE)-%.install:
 	cp $(CURDIR)/packaging/install/$* $@ 
 
-debian/%.docs:
-	cp $(CURDIR)/packaging/docs/$(patsubst $(OLDPACKAGE)%,pkgname%,$*) $@
+debian/$(OLDPACKAGE)-%.docs:
+	cp $(CURDIR)/packaging/docs/$(patsubst $(OLDPACKAGE)%,oldpkgname%,$*) $@
+debian/$(PACKAGE)-%.docs:
+	cp $(CURDIR)/packaging/docs/$(patsubst $(PACKAGE)%,pkgname%,$*) $@
 
 debian/control: $(wildcard packaging/control/*)
 	ls $(CURDIR)/packaging/control/[0-9][0-9][0-9]* | grep -v shortdesc | grep -v scmcpold | while read file ; do cat $${file}; if [ -f $${file}.shortdesc ] ; then cat $(CURDIR)/packaging/control/AAAdesc; echo ' .'; cat $${file}.shortdesc; fi; echo '';  done | $(SED_REPLACE) > $@



More information about the evolvis-commits mailing list