From d565b7b66e8d1073953c6a19e3c1bbbcfd754b1f Mon Sep 17 00:00:00 2001
From: Xavier Bachelot <xav...@bachelot.org>
Date: Wed, 15 Jun 2016 15:53:09 +0200
Subject: Add patch to lower Module::Build version requirement to 0.35

---
 ...00-Lower_Module_Build_version_requirement.patch | 49 ++++++++++++++++++++++
 perl-Unicode-CaseFold.spec                         |  7 +++-
 2 files changed, 55 insertions(+), 1 deletion(-)
 create mode 100644 
perl-Unicode-CaseFold-1.00-Lower_Module_Build_version_requirement.patch

diff --git 
a/perl-Unicode-CaseFold-1.00-Lower_Module_Build_version_requirement.patch 
b/perl-Unicode-CaseFold-1.00-Lower_Module_Build_version_requirement.patch
new file mode 100644
index 0000000..38a28d1
--- /dev/null
+++ b/perl-Unicode-CaseFold-1.00-Lower_Module_Build_version_requirement.patch
@@ -0,0 +1,49 @@
+diff -Naur Unicode-CaseFold-1.00.orig/Build.PL Unicode-CaseFold-1.00/Build.PL
+--- Unicode-CaseFold-1.00.orig/Build.PL        2014-05-05 17:52:31.000000000 
+0200
++++ Unicode-CaseFold-1.00/Build.PL     2016-06-15 15:12:38.337804803 +0200
+@@ -3,16 +3,16 @@
+ use strict;
+ use warnings;
+ 
+-use Module::Build 0.3601;
++use Module::Build 0.35;
+ 
+ 
+ my %module_build_args = (
+   "build_requires" => {
+-    "Module::Build" => "0.3601"
++    "Module::Build" => "0.35"
+   },
+   "c_source" => "c",
+   "configure_requires" => {
+-    "Module::Build" => "0.3601"
++    "Module::Build" => "0.35"
+   },
+   "dist_abstract" => "Unicode case-folding for case-insensitive lookups.",
+   "dist_author" => [
+@@ -44,7 +44,7 @@
+ 
+ 
+ my %fallback_build_requires = (
+-  "Module::Build" => "0.3601",
++  "Module::Build" => "0.35",
+   "Test::More" => 0,
+   "utf8" => 0
+ );
+diff -Naur Unicode-CaseFold-1.00.orig/META.yml Unicode-CaseFold-1.00/META.yml
+--- Unicode-CaseFold-1.00.orig/META.yml        2014-05-05 17:52:31.000000000 
+0200
++++ Unicode-CaseFold-1.00/META.yml     2016-06-15 15:12:38.336804809 +0200
+@@ -3,11 +3,11 @@
+ author:
+   - 'Andrew Rodland <arodl...@cpan.org>'
+ build_requires:
+-  Module::Build: 0.3601
++  Module::Build: 0.35
+   Test::More: 0
+   utf8: 0
+ configure_requires:
+-  Module::Build: 0.3601
++  Module::Build: 0.35
+ dynamic_config: 0
+ generated_by: 'Dist::Zilla version 5.015, CPAN::Meta::Converter version 
2.141170'
+ license: perl
diff --git a/perl-Unicode-CaseFold.spec b/perl-Unicode-CaseFold.spec
index 80604ba..0388a31 100644
--- a/perl-Unicode-CaseFold.spec
+++ b/perl-Unicode-CaseFold.spec
@@ -1,11 +1,12 @@
 Name:           perl-Unicode-CaseFold
 Version:        1.00
-Release:        6%{?dist}
+Release:        6%{?dist}.1
 Summary:        Unicode case-folding for case-insensitive lookups
 License:        GPL+ or Artistic
 
 URL:            http://search.cpan.org/dist/Unicode-CaseFold/
 Source0:        
http://www.cpan.org/authors/id/A/AR/ARODLAND/Unicode-CaseFold-%{version}.tar.gz
+Patch0:         
perl-Unicode-CaseFold-1.00-Lower_Module_Build_version_requirement.patch
 
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Module::Build)
@@ -30,6 +31,7 @@ insensitive lookups.
 
 %prep
 %setup -q -n Unicode-CaseFold-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
@@ -51,6 +53,9 @@ insensitive lookups.
 %{_mandir}/man3/Unicode*
 
 %changelog
+* Wed Jun 15 2016 Xavier Bachelot <xav...@bachelot.org> - 1.00-6.1
+- Add patch to lower Module::Build version requirement to 0.35.
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.00-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Unicode-CaseFold.git/commit/?h=el6&id=d565b7b66e8d1073953c6a19e3c1bbbcfd754b1f
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to