Update to 0.17023
- New upstream release 0.17023 - Minimal version of Module-Build reduced to 0.280801 (CPAN RT#102062) - Use %license where possible
This commit is contained in:
parent
7d5c0cd1e7
commit
f8d3bc3500
@ -1,7 +1,7 @@
|
||||
Name: perl-Error
|
||||
Epoch: 1
|
||||
Version: 0.17022
|
||||
Release: 4%{?dist}
|
||||
Version: 0.17023
|
||||
Release: 1%{?dist}
|
||||
Summary: Error/exception handling in an OO-ish way
|
||||
License: (GPL+ or Artistic) and MIT
|
||||
Group: Development/Libraries
|
||||
@ -43,12 +43,12 @@ can simply be recorded.
|
||||
%setup -q -n Error-%{version}
|
||||
|
||||
%build
|
||||
perl Build.PL installdirs=vendor
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
||||
%{_fixperms} $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
@ -58,15 +58,25 @@ rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%if 0%{?_licensedir:1}
|
||||
%license LICENSE
|
||||
%else
|
||||
%doc LICENSE
|
||||
%endif
|
||||
# GPL+ or Artistic
|
||||
%doc ChangeLog README LICENSE examples/
|
||||
%doc ChangeLog README examples/
|
||||
%{perl_vendorlib}/Error.pm
|
||||
%{_mandir}/man3/Error.3pm*
|
||||
%{_mandir}/man3/Error.3*
|
||||
# MIT
|
||||
%{perl_vendorlib}/Error/
|
||||
%{_mandir}/man3/Error::Simple.3pm*
|
||||
%{_mandir}/man3/Error::Simple.3*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 12 2015 Paul Howarth <paul@city-fan.org> - 1:0.17023-1
|
||||
- Update to 0.17023
|
||||
- Minimal version of Module-Build reduced to 0.280801 (CPAN RT#102062)
|
||||
- Use %%license where possible
|
||||
|
||||
* Mon Sep 08 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.17022-4
|
||||
- Perl 5.20 re-rebuild of bootstrapped packages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user