Cleanups
This commit is contained in:
parent
d126f34250
commit
f1d7de0610
@ -1,12 +1,11 @@
|
||||
Name: perl-Test-Without-Module
|
||||
Version: 0.17
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: Test fallback behavior in absence of modules
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Without-Module/
|
||||
Source0: http://www.cpan.org/modules/by-module/Test/Test-Without-Module-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
@ -33,8 +32,6 @@ sed -i -e 's/\r//' README Changes
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
@ -45,16 +42,15 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sun Dec 16 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 0.17-11
|
||||
- Remove no-longer-needed macros
|
||||
|
||||
* Wed Nov 21 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.17-10
|
||||
- Remove MANIFEST.skip from %%doc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user