[perl-HTTP-BrowserDetect/el6] Add Module-Build.patch to allow building against older Module::Build in EL6.

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

 



commit fa378787b3ca25648efa458cb866e8697e2c939e
Author: Steven Pritchard <steven.pritchard@xxxxxxxxx>
Date:   Mon Jan 23 16:39:05 2012 -0600

    Add Module-Build.patch to allow building against older Module::Build in EL6.

 Module-Build.patch           |   27 +++++++++++++++++++++++++++
 perl-HTTP-BrowserDetect.spec |    8 +++++++-
 2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/Module-Build.patch b/Module-Build.patch
new file mode 100644
index 0000000..f52ea10
--- /dev/null
+++ b/Module-Build.patch
@@ -0,0 +1,27 @@
+--- HTTP-BrowserDetect-1.21/Build.PL.orig	2010-12-22 23:23:56.000000000 -0600
++++ HTTP-BrowserDetect-1.21/Build.PL	2012-01-23 16:34:24.150245660 -0600
+@@ -2,7 +2,7 @@
+ use strict;
+ use warnings;
+ 
+-use Module::Build 0.3601;
++use Module::Build 0.35;
+ 
+ 
+ my %module_build_args = (
+@@ -10,13 +10,13 @@
+     'Data::Dump' => '0',
+     'English' => '0',
+     'FindBin' => '0',
+-    'Module::Build' => '0.3601',
++    'Module::Build' => '0.35',
+     'Test::More' => '0',
+     'YAML' => '0'
+   },
+   'configure_requires' => {
+     'ExtUtils::MakeMaker' => '6.31',
+-    'Module::Build' => '0.3601'
++    'Module::Build' => '0.35'
+   },
+   'dist_abstract' => 'Determine Web browser, version, and platform from an HTTP user agent string',
+   'dist_author' => [
diff --git a/perl-HTTP-BrowserDetect.spec b/perl-HTTP-BrowserDetect.spec
index bbb53e7..ceffdeb 100644
--- a/perl-HTTP-BrowserDetect.spec
+++ b/perl-HTTP-BrowserDetect.spec
@@ -1,11 +1,12 @@
 Name:           perl-HTTP-BrowserDetect
 Summary:        Determine the Web browser, version, and platform from an HTTP user agent string
 Version:        1.21
-Release:        4%{?dist}
+Release:        5%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/HTTP-BrowserDetect/
 Source0:        http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-BrowserDetect-%{version}.tar.gz 
+Patch0:         Module-Build.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Data::Dump)
@@ -26,6 +27,8 @@ at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
 %prep
 %setup -q -n HTTP-BrowserDetect-%{version}
 
+%patch0 -p1
+
 %build
 %{__perl} Build.PL installdirs=vendor
 ./Build
@@ -51,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jan 23 2012 Steven Pritchard <steve@xxxxxxxxx> 1.21-5
+- Add Module-Build.patch to allow building against older Module::Build in EL6.
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.21-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
--
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