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} %setup -q -n Time-Duration-Parse-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install PERL_INSTALL_ROOT=%{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
make test make test
%files %files
%doc Changes LICENSE README %doc Changes README
%license LICENSE
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %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 * Mon Nov 02 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.13-1
- Upstream update. - Upstream update.

Loading…
Cancel
Save