[perl-pmtools] The test suite also needs the less command in the build root.

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

 



commit 086b402456cf3753782222a3a2d2dcef08c42bf0
Author: Jose Pedro Oliveira <jpo@xxxxxxxxxxxx>
Date:   Wed Dec 11 15:25:37 2013 +0000

    The test suite also needs the less command in the build root.

 perl-pmtools.spec |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/perl-pmtools.spec b/perl-pmtools.spec
index bd88bec..995f925 100644
--- a/perl-pmtools.spec
+++ b/perl-pmtools.spec
@@ -1,6 +1,6 @@
 Name:           perl-pmtools
 Version:        1.54
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A suite of small programs to help manage Perl modules
 
 Group:          Development/Libraries
@@ -10,9 +10,10 @@ Source:         http://www.cpan.org/authors/id/M/ML/MLFISHER/pmtools-%{version}.
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
+
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  less
 
 %description
 This is pmtools -- a suite of small programs to help manage modules.
@@ -35,7 +36,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -46,12 +46,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README TODO
 %{_bindir}/*
 %{perl_vendorlib}/Devel/
@@ -61,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Dec 11 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.54-2
+- The test suite also needs the less command in the build root (F20+).
+
 * Wed Dec 11 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.54-1
 - Update to 1.54.
 - New build requirement: perl(Test::More).
--
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