From cf2e56a3700ceb88bbeb0d4ee86f6ba24c69c220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Thu, 25 Oct 2012 10:52:40 +0200 Subject: [PATCH] Specify all dependencies. Remove patch, because it is not needed (current version of Test::Builder is 0.98). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcela Mašláňová --- Test-Object-0.07-Makefile.PL.patch | 12 ------------ perl-Test-Object.spec | 19 +++++++++++++++---- 2 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 Test-Object-0.07-Makefile.PL.patch diff --git a/Test-Object-0.07-Makefile.PL.patch b/Test-Object-0.07-Makefile.PL.patch deleted file mode 100644 index 5722984..0000000 --- a/Test-Object-0.07-Makefile.PL.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ruN Test-Object-0.07-orig/Makefile.PL Test-Object-0.07/Makefile.PL ---- Test-Object-0.07-orig/Makefile.PL 2006-09-07 01:48:07.000000000 +0100 -+++ Test-Object-0.07/Makefile.PL 2006-09-07 15:33:14.000000000 +0100 -@@ -7,7 +7,7 @@ - requires 'Exporter' => 0; - requires 'Scalar::Util' => '1.16'; - requires 'Test::More' => '0.42'; --requires 'Test::Builder' => '0.33'; -+requires 'Test::Builder' => '0.32'; - requires 'Test::Builder::Tester' => '1.02'; - requires 'File::Spec' => '0.80'; - diff --git a/perl-Test-Object.spec b/perl-Test-Object.spec index 6a1c5e6..00bbd14 100644 --- a/perl-Test-Object.spec +++ b/perl-Test-Object.spec @@ -1,19 +1,26 @@ Name: perl-Test-Object Version: 0.07 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Thoroughly testing objects via registered handlers Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-Object/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Object-%{version}.tar.gz -Patch0: Test-Object-0.07-Makefile.PL.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(lib) BuildRequires: perl(Scalar::Util) >= 1.16 -BuildRequires: perl(Test::Builder) >= 0.32 +BuildRequires: perl(Test::Builder) >= 0.33 BuildRequires: perl(Test::Builder::Tester) >= 1.02 +BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 1.00 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -25,7 +32,6 @@ all of the classes in its inheritance tree in one single call. %prep %setup -q -n Test-Object-%{version} -%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -56,6 +62,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Oct 23 2012 Jitka Plesnikova - 0.07-16 +- Specify all dependencies. +- Remove patch, because it is not needed (current version of Test::Builder + is 0.98) + * Fri Jul 20 2012 Fedora Release Engineering - 0.07-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild