Accepting request 1036805 from home:AndreasStieger:branches:devel:libraries:c_c++

- package license files correctly

OBS-URL: https://build.opensuse.org/request/show/1036805
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=70
This commit is contained in:
Richard Biener 2022-11-21 07:20:10 +00:00 committed by Git OBS Bridge
parent 91dc75fbc2
commit 5d4d6e7626
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 19 12:57:57 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- package license files correctly
-------------------------------------------------------------------
Fri Nov 18 07:52:35 UTC 2022 - Richard Biener <rguenther@suse.com>

View File

@ -86,6 +86,8 @@ make check %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
# installed via macro
rm %{buildroot}%{_docdir}/mpfr/COPYING*
%post -n libmpfr6 -p /sbin/ldconfig
@ -98,11 +100,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
%postun -n libmpfr6 -p /sbin/ldconfig
%files -n libmpfr6
%license COPYING*
%{_libdir}/libmpfr.so.6*
%files devel
%license COPYING*
%doc %{_docdir}/mpfr
%{_infodir}/mpfr.info%{ext_info}
%{_infodir}/mpfr.info%{?ext_info}
%{_libdir}/libmpfr.so
%{_includedir}/mpf2mpfr.h
%{_includedir}/mpfr.h