[perl-Test-Class/epel7: 7/7] Make it build for el7
Lubomir Rintel
lkundrak at fedoraproject.org
Tue Jan 21 15:38:31 UTC 2014
commit 1312f88a7a10ee6962cb4e708b68f62ba6ecad28
Author: Lubomir Rintel <lkundrak at v3.sk>
Date: Tue Jan 21 16:38:40 2014 +0100
Make it build for el7
0001-Lower-Module-Build-requirement.patch | 18 ++++++++++++++++++
perl-Test-Class.spec | 7 ++++++-
2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/0001-Lower-Module-Build-requirement.patch b/0001-Lower-Module-Build-requirement.patch
new file mode 100644
index 0000000..adc5007
--- /dev/null
+++ b/0001-Lower-Module-Build-requirement.patch
@@ -0,0 +1,18 @@
+From a56c1fb7ac5df6537a0821ac26f284fd605e19c9 Mon Sep 17 00:00:00 2001
+From: Lubomir Rintel <lkundrak at v3.sk>
+Date: Tue, 14 Jan 2014 16:05:48 +0100
+Subject: [PATCH] Lower Module::Build requirement
+
+diff --git a/META.yml b/META.yml
+index 7ba3bd4..30c6505 100644
+--- a/META.yml
++++ b/META.yml
+@@ -6,7 +6,7 @@ build_requires:
+ IO::File: 1.09
+ Test::Exception: 0.25
+ configure_requires:
+- Module::Build: 0.42
++ Module::Build: 0.40
+ dynamic_config: 1
+ generated_by: 'Module::Build version 0.4203, CPAN::Meta::Converter version 2.132830'
+ license: perl
diff --git a/perl-Test-Class.spec b/perl-Test-Class.spec
index 0a5db36..0a34b7f 100644
--- a/perl-Test-Class.spec
+++ b/perl-Test-Class.spec
@@ -1,12 +1,13 @@
Name: perl-Test-Class
Version: 0.41
-Release: 1%{?dist}
+Release: 1%{?dist}.1
Summary: Easily create test classes in an xUnit/JUnit style
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Class/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Class-%{version}.tar.gz
Patch0: perl-Test-Class-UTF8.patch
+Patch1: 0001-Lower-Module-Build-requirement.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl
@@ -53,6 +54,7 @@ find -type f -exec chmod -c -x {} \;
# Fix character encoding in documentation
%patch0
+%patch1 -p1
%build
perl Build.PL installdirs=vendor
@@ -80,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Test::Class::MethodInfo.3pm*
%changelog
+* Tue Jan 21 2014 Lubomir Rintel <lkundrak at v3.sk> - 0.41-1.1
+- Make it build for el7
+
* Sat Nov 30 2013 Paul Howarth <paul at city-fan.org> - 0.41-1
- Update to 0.41
- Require a newer Test::Builder if 0.99 is installed (CPAN RT#90699)
More information about the scm-commits
mailing list