Use %%license, Move docs to devel package as they're all related to dev, drop README as it's for building of package

This commit is contained in:
Peter Robinson 2015-03-22 13:02:02 +00:00
parent 38c65d92de
commit ab5479577d

View File

@ -89,11 +89,13 @@ make check
%postun -p /sbin/ldconfig
%files
%doc libpng-manual.txt example.c README TODO CHANGES LICENSE
%{!?_licensedir:%global license %%doc}
%license LICENSE
%{_libdir}/libpng16.so.*
%{_mandir}/man5/*
%files devel
%doc libpng-manual.txt example.c TODO CHANGES
%{_bindir}/*
%{_includedir}/*
%{_libdir}/libpng*.so
@ -107,6 +109,10 @@ make check
%{_bindir}/pngfix
%changelog
* Sun Mar 22 2015 Peter Robinson <pbrobinson@fedoraproject.org>
- Use %%license
- Move docs to devel package as they're all related to dev
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2:1.6.16-2
- Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code