Examples should be in devel, Minor cleanups

This commit is contained in:
Peter Robinson 2017-03-04 15:09:15 +00:00
parent 7fe92b13b9
commit dc787f1468

View File

@ -1,12 +1,12 @@
Summary: A C library for multiple-precision floating-point computations
Name: mpfr
Version: 3.1.5
Release: 2%{?dist}
Release: 3%{?dist}
URL: http://www.mpfr.org/
Source0: http://www.mpfr.org/mpfr-current/%{name}-%{version}.tar.xz
# GFDL (mpfr.texi, mpfr.info and fdl.texi)
License: LGPLv3+ and GPLv3+ and GFDL
Group: System Environment/Libraries
BuildRequires: autoconf libtool gmp-devel
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
@ -21,7 +21,6 @@ ANSI/IEEE-754 standard for double-precision floating-point arithmetic
%package devel
Summary: Development tools A C library for mpfr library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
@ -72,19 +71,21 @@ if [ "$1" = 0 ]; then
fi
%files
%defattr(-,root,root,-)
%license COPYING COPYING.LESSER
%doc NEWS README AUTHORS BUGS TODO doc/FAQ.html
%{_libdir}/libmpfr.so.*
%{_pkgdocdir}/examples
%files devel
%defattr(-,root,root,-)
%{_pkgdocdir}/examples
%{_libdir}/libmpfr.so
%{_includedir}/*.h
%{_infodir}/mpfr.info*
%changelog
* Sat Mar 4 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.1.5-3
- Examples should be in devel
- Minor cleanups
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 3.1.5-2
- Add missing %%license macro