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@redhat.com>
This commit is contained in:
parent
26d56ed44d
commit
976dd549a0
@ -1,20 +1,22 @@
|
||||
Name: perl-Test-Output
|
||||
Version: 1.01
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Utilities to test STDOUT and STDERR messages
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Output/
|
||||
Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Output-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Temp) >= 0.17
|
||||
BuildRequires: perl(Sub::Exporter)
|
||||
BuildRequires: perl(Test::Builder)
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Tester) >= 0.103
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Test::Output provides a simple interface for testing output sent to STDOUT
|
||||
@ -25,14 +27,13 @@ flexible as possible to the tester.
|
||||
%setup -q -n Test-Output-%{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/*
|
||||
|
||||
@ -45,6 +46,12 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 12 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-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@lists.fedoraproject.org> - 1.01-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user