fix license handling

This commit is contained in:
Tom Callaway 2014-07-12 11:18:46 -04:00
parent e271a2d08a
commit 4c6ff2e565

View File

@ -6,7 +6,7 @@
Summary: A GNU arbitrary precision library
Name: gmp
Version: 6.0.0
Release: 5%{?dist}
Release: 6%{?dist}
Epoch: 1
URL: http://gmplib.org/
Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}a.tar.bz2
@ -210,7 +210,9 @@ exit 0
%files
%defattr(-,root,root,-)
%doc COPYING COPYING.LESSERv3 COPYINGv2 COPYINGv3 NEWS README
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING.LESSERv3 COPYINGv2 COPYINGv3
%doc NEWS README
%{_libdir}/libgmp.so.*
%{_libdir}/libgmpxx.so.*
%ifarch %{ix86}
@ -230,6 +232,9 @@ exit 0
%{_libdir}/libgmpxx.a
%changelog
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 1:6.0.0-6
- fix license handling
* Thu Jul 10 2014 Brent Baude <baude@us.ibm.com> - 1:6.0.0-5
- Fix gmp headers for ppc64le (#1083429)