[perl-Net-IDN-Encode/el6] Patching to remove un-necessary module build version requirement

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

 



commit 5a04bcbd81637d4da7c7cca9de51288d4d1ebaca
Author: David Dick <ddick@xxxxxxxx>
Date:   Wed Dec 17 06:54:39 2014 +1100

    Patching to remove un-necessary module build version requirement

 net_idn_module_build_remove_version.patch |   24 ++++++++++++++++++++++++
 perl-Net-IDN-Encode.spec                  |    3 ++-
 2 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/net_idn_module_build_remove_version.patch b/net_idn_module_build_remove_version.patch
new file mode 100644
index 0000000..282fa01
--- /dev/null
+++ b/net_idn_module_build_remove_version.patch
@@ -0,0 +1,24 @@
+diff -Naur old/META.json new/META.json
+--- old/META.json	2014-08-31 01:45:43.000000000 +1000
++++ new/META.json	2014-12-16 21:11:51.777311305 +1100
+@@ -29,7 +29,7 @@
+       },
+       "configure" : {
+          "requires" : {
+-            "Module::Build" : "0.42"
++            "Module::Build" : "0"
+          }
+       },
+       "runtime" : {
+diff -Naur old/META.yml new/META.yml
+--- old/META.yml	2014-08-31 01:45:43.000000000 +1000
++++ new/META.yml	2014-12-16 21:11:42.729189044 +1100
+@@ -7,7 +7,7 @@
+   Test::More: 0
+   Test::NoWarnings: 0
+ configure_requires:
+-  Module::Build: 0.42
++  Module::Build: 0
+ dynamic_config: 1
+ generated_by: 'Module::Build version 0.4208, CPAN::Meta::Converter version 2.120630'
+ license: perl
diff --git a/perl-Net-IDN-Encode.spec b/perl-Net-IDN-Encode.spec
index 693ab34..1d3753d 100644
--- a/perl-Net-IDN-Encode.spec
+++ b/perl-Net-IDN-Encode.spec
@@ -5,7 +5,7 @@ Release:        2%{?dist}
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Net-IDN-Encode/
 Source0:        http://www.cpan.org/authors/id/C/CF/CFAERBER/Net-IDN-Encode-%{version}.tar.gz
-
+Patch1:         net_idn_module_build_remove_version.patch
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Module::Build)
@@ -30,6 +30,7 @@ Internationalized Domain Names (IDNs).
 
 %prep
 %setup -q -n Net-IDN-Encode-%{version}
+%patch1 -p1
 
 # Remove incorrect executable bits
 chmod -x lib/Net/IDN/Encode.pm \
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux