Browse Source

modifying package: perl-xml-5.8.8 20060703 again

Thomas Lotterer 19 years ago
parent
commit
e39d424182
2 changed files with 9 additions and 8 deletions
  1. 7 7
      perl-xml/perl-xml.patch
  2. 2 1
      perl-xml/perl-xml.spec

+ 7 - 7
perl-xml/perl-xml.patch

@@ -41,9 +41,9 @@ Index: HTML-Prototype-1.45/Makefile.PL
 +    NAME => 'HTML::Prototype',
 +);
 +
-Index: HTML-Prototype-Useful-0.04/Makefile.PL
---- HTML-Prototype-Useful-0.04/Makefile.PL.orig	2005-07-28 16:22:51 +0200
-+++ HTML-Prototype-Useful-0.04/Makefile.PL	2006-03-25 19:02:37 +0100
+Index: HTML-Prototype-Useful-0.05/Makefile.PL
+--- HTML-Prototype-Useful-0.05/M5kefile.PL.orig	2006-07-02 11:56:00 +0200
++++ HTML-Prototype-Useful-0.05/Makefile.PL	2006-07-03 12:43:16 +0200
 @@ -1,31 +1,9 @@
 -# Note: this file was auto-generated by Module::Build::Compat version 0.03
 -    
@@ -64,15 +64,15 @@ Index: HTML-Prototype-Useful-0.04/Makefile.PL
 -      
 -      # Save this 'cause CPAN will chdir all over the place.
 -      my $cwd = Cwd::cwd();
--      my $makefile = File::Spec->rel2abs($0);
 -      
--      CPAN::Shell->install('Module::Build::Compat')
--	or die " *** Cannot install without Module::Build.  Exiting ...\n";
+-      CPAN::Shell->install('Module::Build::Compat');
+-      CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
+-	or die "Couldn't install Module::Build, giving up.\n";
 -      
 -      chdir $cwd or die "Cannot chdir() back to $cwd: $!";
 -    }
 -    eval "use Module::Build::Compat 0.02; 1" or die $@;
--    use lib '_build/lib';
+-    
 -    Module::Build::Compat->run_build_pl(args => \@ARGV);
 -    require Module::Build;
 -    Module::Build::Compat->write_makefile(build_class => 'Module::Build');

+ 2 - 1
perl-xml/perl-xml.spec

@@ -34,7 +34,7 @@
 %define       V_html_template_extension 0.25
 %define       V_html_email_obfuscate    0.02
 %define       V_html_prototype          1.45
-%define       V_html_prototype_useful   0.04
+%define       V_html_prototype_useful   0.05
 %define       V_css                     1.07
 %define       V_css_tiny                1.11
 %define       V_xml_dom                 1.44
@@ -565,6 +565,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 56
     %patch -p0
     rm -f HTML-Prototype*/Build.PL
+    chmod u+w HTML-Prototype-Useful-0.05/Makefile.PL*
 
 %build