r40953 - in /trunk/libjavascript-beautifier-perl/debian: changelog patches/remove-pl-extension.patch rules

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Jul 28 23:30:51 UTC 2009


Author: jawnsy-guest
Date: Tue Jul 28 23:30:45 2009
New Revision: 40953

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=40953
Log:
Patch the file before renaming, and unpatch after renaming, so that it
works with the new quilt patch system

Modified:
    trunk/libjavascript-beautifier-perl/debian/changelog
    trunk/libjavascript-beautifier-perl/debian/patches/remove-pl-extension.patch
    trunk/libjavascript-beautifier-perl/debian/rules

Modified: trunk/libjavascript-beautifier-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjavascript-beautifier-perl/debian/changelog?rev=40953&op=diff
==============================================================================
--- trunk/libjavascript-beautifier-perl/debian/changelog (original)
+++ trunk/libjavascript-beautifier-perl/debian/changelog Tue Jul 28 23:30:45 2009
@@ -8,6 +8,8 @@
   * Updated description in control file
   * Added myself to Uploaders and Copyright
   * Refreshed patch, renamed to remove-pl-extension.patch (Closes: #538676)
+    + Patch the file before renaming, and unpatch after renaming, so that it
+      works with the new quilt patch system
 
  -- Jonathan Yu <frequency at cpan.org>  Tue, 28 Jul 2009 14:26:12 -0400
 

Modified: trunk/libjavascript-beautifier-perl/debian/patches/remove-pl-extension.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjavascript-beautifier-perl/debian/patches/remove-pl-extension.patch?rev=40953&op=diff
==============================================================================
--- trunk/libjavascript-beautifier-perl/debian/patches/remove-pl-extension.patch (original)
+++ trunk/libjavascript-beautifier-perl/debian/patches/remove-pl-extension.patch Tue Jul 28 23:30:45 2009
@@ -13,8 +13,8 @@
                           ],
            'PL_FILES' => {}
          )
---- a/bin/js_beautify
-+++ b/bin/js_beautify
+--- a/bin/js_beautify.pl
++++ b/bin/js_beautify.pl
 @@ -48,11 +48,11 @@
  
  =head1 NAME

Modified: trunk/libjavascript-beautifier-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjavascript-beautifier-perl/debian/rules?rev=40953&op=diff
==============================================================================
--- trunk/libjavascript-beautifier-perl/debian/rules (original)
+++ trunk/libjavascript-beautifier-perl/debian/rules Tue Jul 28 23:30:45 2009
@@ -4,9 +4,9 @@
 	dh --with quilt $@
 
 override_dh_quilt_patch:
+	dh_quilt_patch
 	[ -f bin/js_beautify ] || mv bin/js_beautify.pl bin/js_beautify
-	dh_quilt_patch
 
 override_dh_quilt_unpatch:
+	[ -f bin/js_beautify.pl ] || mv bin/js_beautify bin/js_beautify.pl
 	dh_quilt_unpatch
-	[ -f bin/js_beautify.pl ] || mv bin/js_beautify bin/js_beautify.pl




More information about the Pkg-perl-cvs-commits mailing list