[Fusionforge-commits] r8744 - in trunk/gforge: deb-specific debian

Roland Mas lolando at libremir.placard.fr.eu.org
Sun Feb 7 22:01:46 CET 2010


Author: lolando
Date: 2010-02-07 22:01:46 +0100 (Sun, 07 Feb 2010)
New Revision: 8744

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

Modified: trunk/gforge/deb-specific/dsf-helper.pl
===================================================================
--- trunk/gforge/deb-specific/dsf-helper.pl	2010-02-07 21:01:25 UTC (rev 8743)
+++ trunk/gforge/deb-specific/dsf-helper.pl	2010-02-07 21:01:46 UTC (rev 8744)
@@ -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/debian/changelog
===================================================================
--- trunk/gforge/debian/changelog	2010-02-07 21:01:25 UTC (rev 8743)
+++ trunk/gforge/debian/changelog	2010-02-07 21:01:46 UTC (rev 8744)
@@ -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/debian/rules
===================================================================
--- trunk/gforge/debian/rules	2010-02-07 21:01:25 UTC (rev 8743)
+++ trunk/gforge/debian/rules	2010-02-07 21:01:46 UTC (rev 8744)
@@ -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 Fusionforge-commits mailing list