From 085832d0b81dfbfff4aa61dac798879350b61217 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet <[email protected]> Date: Mon, 31 Aug 2009 15:21:53 +0000 Subject: Add patch to get rid of nosense
--- BDB-1.84-nocommon.patch | 14 ++++++++++++++ import.log | 1 + perl-BDB.spec | 3 +++ 3 files changed, 18 insertions(+) create mode 100644 BDB-1.84-nocommon.patch create mode 100644 import.log diff --git a/BDB-1.84-nocommon.patch b/BDB-1.84-nocommon.patch new file mode 100644 index 0000000..14a411c --- /dev/null +++ b/BDB-1.84-nocommon.patch @@ -0,0 +1,14 @@ +diff -up BDB-1.84/BDB.pm.nocommon BDB-1.84/BDB.pm +--- BDB-1.84/BDB.pm.nocommon 2009-07-17 06:18:47.000000000 +0200 ++++ BDB-1.84/BDB.pm 2009-08-31 17:18:28.246005452 +0200 +@@ -105,7 +105,9 @@ result in a runtime error). + + package BDB; + +-use common::sense; ++use strict qw(vars subs); ++use feature qw(say state switch); ++no warnings; + + use base 'Exporter'; + diff --git a/import.log b/import.log new file mode 100644 index 0000000..2e9f9ab --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-BDB-1_84-1_fc11:HEAD:perl-BDB-1.84-1.fc11.src.rpm:1251732031 diff --git a/perl-BDB.spec b/perl-BDB.spec index 70b61ad..cc33548 100644 --- a/perl-BDB.spec +++ b/perl-BDB.spec @@ -7,6 +7,7 @@ Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/BDB/ Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/BDB-%{version}.tar.gz +Patch0: BDB-1.84-nocommon.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) @@ -19,6 +20,7 @@ Asynchronous Berkeley DB access. %prep %setup -q -n BDB-%{version} +%patch0 -p1 -b .nocommon %build @@ -54,6 +56,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Mon Aug 31 2009 kwizart < kwizart at gmail.com > - 1.84-1 - Update to 1.84 +- Add Patch to get rid of common:sense * Thu Feb 26 2009 Fedora Release Engineering <[email protected]> - 1.83-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-BDB.git/commit/?h=epel7&id=085832d0b81dfbfff4aa61dac798879350b61217 _______________________________________________ perl-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
