Add %license.

- Modernize spec.
epel9
Ralf Corsépius 9 years ago committed by Emmanuel Seyman
parent e5a127c47c
commit 6e7db4fd0f

@ -29,24 +29,27 @@ duration_exact() in Time::Duration and is roundtrip safe.
%setup -q -n Time-Duration-Parse-%{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=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes LICENSE README
%doc Changes README
%license LICENSE
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Wed Jan 27 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.13-2
- Add %%license.
- Modernize spec.
* Mon Nov 02 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.13-1
- Upstream update.

Loading…
Cancel
Save