[libpng] Use %%license, Move docs to devel package as they're all related to dev, drop README as it's for bui
Peter Robinson
pbrobinson at fedoraproject.org
Sun Mar 22 13:02:49 UTC 2015
commit ab5479577dcbb48de3b1bf5f502016ad67496570
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Sun Mar 22 13:02:02 2015 +0000
Use %%license, Move docs to devel package as they're all related to dev, drop README as it's for building of package
libpng.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/libpng.spec b/libpng.spec
index 6f84117..7b8efd3 100644
--- a/libpng.spec
+++ b/libpng.spec
@@ -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 at fedoraproject.org>
+- Use %%license
+- Move docs to devel package as they're all related to dev
+
* Sat Feb 21 2015 Till Maas <opensource at till.name> - 2:1.6.16-2
- Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
More information about the scm-commits
mailing list