Modernize spec.

- Add COPYRIGHT to %license.
epel9
Ralf Corsépius 9 years ago
parent 5bd7c80fe5
commit 6ef387fb84

@ -1,6 +1,6 @@
Name: perl-Type-Tiny
Version: 1.000005
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Tiny, yet Moo(se)-compatible type constraint
License: GPL+ or Artistic
Group: Development/Libraries
@ -122,22 +122,19 @@ rm -r ./inc
sed -i -e '/^inc\//d' MANIFEST
%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 {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%doc Changes COPYRIGHT CREDITS NEWS README
%doc Changes CREDITS NEWS README
%license LICENSE COPYRIGHT
%{perl_vendorlib}/*
%{!?with_reply_plugin:%exclude %{perl_vendorlib}/Reply}
%{_mandir}/man3/*
@ -149,6 +146,10 @@ make test
%{_mandir}/man3/Test::TypeTiny.3pm*
%changelog
* Fri Jan 29 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.000005-5
- Modernize spec.
- Add COPYRIGHT to %%license.
* Tue Jul 21 2015 Petr Pisar <ppisar@redhat.com> - 1.000005-4
- Specify all dependencies (bug #1245096)

Loading…
Cancel
Save