clean up spec for modern rpmbuild
This commit is contained in:
parent
fceb436686
commit
ce210d4aba
@ -6,7 +6,6 @@ License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/common-sense
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
|
||||
@ -33,8 +32,6 @@ Perl coders:
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
@ -44,9 +41,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE Changes README
|
||||
@ -56,6 +50,7 @@ rm -rf %{buildroot}
|
||||
%changelog
|
||||
* Sat Dec 18 2010 Iain Arnell <iarnell@gmail.com> 3.3-1
|
||||
- update to latest upstream version
|
||||
- clean up spec for modern rpmbuild
|
||||
|
||||
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.0-3
|
||||
- 661697 rebuild for fixing problems with vendorach/lib
|
||||
|
||||
Loading…
Reference in New Issue
Block a user