Remove %defattr.
- Modernize spec.
This commit is contained in:
parent
c40a36202b
commit
fae2c2212e
@ -1,6 +1,6 @@
|
||||
Name: perl-Number-Compare
|
||||
Version: 0.03
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
Summary: Perl module for numeric comparisons
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -21,13 +21,12 @@ which you can call with a value to be tested again.
|
||||
%setup -q -n Number-Compare-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
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 ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
@ -35,12 +34,15 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes
|
||||
%{perl_vendorlib}/Number
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 26 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.03-13
|
||||
- Remove %%defattr.
|
||||
- Modernize spec.
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user