Ship LICENSE.txt as %license where available

epel9
Ville Skyttä 10 years ago
parent ac0267ad9c
commit 0d88ecc4a6

@ -1,6 +1,6 @@
Name: optipng Name: optipng
Version: 0.7.5 Version: 0.7.5
Release: 3%{?dist} Release: 4%{?dist}
Summary: PNG optimizer and converter Summary: PNG optimizer and converter
Group: Applications/Multimedia Group: Applications/Multimedia
@ -51,12 +51,17 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS.txt README.txt LICENSE.txt doc/* %{!?_licensedir:%global license %%doc}
%license LICENSE.txt
%doc AUTHORS.txt README.txt doc/*
%{_bindir}/optipng %{_bindir}/optipng
%{_mandir}/man1/optipng.1* %{_mandir}/man1/optipng.1*
%changelog %changelog
* Sat Jan 31 2015 Ville Skyttä <ville.skytta@iki.fi> - 0.7.5-4
- Ship LICENSE.txt as %%license where available
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

Loading…
Cancel
Save