commit fc5d7ce6e27028f2210576b2b927fe3e61c49dd5 Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Mon Nov 12 13:09:24 2012 +0100 Update dependencies. Use DESTDIR rather than PERL_INSTALL_ROOT. Dont use macros for commands. Dont need to remove empty directories from the buildroot. Signed-off-by: Marcela Mašláňová <mmaslano@xxxxxxxxxx> perl-Test-Base.spec | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-) --- diff --git a/perl-Test-Base.spec b/perl-Test-Base.spec index e78956c..af3377c 100644 --- a/perl-Test-Base.spec +++ b/perl-Test-Base.spec @@ -1,22 +1,33 @@ Name: perl-Test-Base Version: 0.60 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Data Driven Testing Framework License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Base/ Source0: http://www.cpan.org/authors/id/I/IN/INGY/Test-Base-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Path) +BuildRequires: perl(lib) BuildRequires: perl(Spiffy) >= 0.30 BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.62 BuildRequires: perl(Test::Tester) BuildRequires: perl(Text::Diff) >= 0.35 BuildRequires: perl(YAML) -Requires: perl(Text::Diff) >= 0.35 +Requires: perl(Data::Dumper) +Requires: perl(File::Path) +Requires: perl(Filter::Util::Call) Requires: perl(LWP::Simple) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(MIME::Base64) +Requires: perl(Text::Diff) >= 0.35 +Requires: perl(Test::Deep) +Requires: perl(YAML) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Testing is usually the ugly part of Perl module authoring. Perl gives you a @@ -29,14 +40,13 @@ own framework by subclassing Test::Builder, but that is not trivial. %setup -q -n Test-Base-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* @@ -49,6 +59,12 @@ make test %{_mandir}/man3/* %changelog +* Thu Nov 08 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.60-6 +- Update dependencies +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Don't use macros for commands +- Don't need to remove empty directories from the buildroot + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.60-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_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