From 5d4d6e7626b2a16c987267d5baff398bd594d530405b7465fbca811a7ce7d882 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 21 Nov 2022 07:20:10 +0000 Subject: [PATCH] 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 --- mpfr.changes | 5 +++++ mpfr.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/mpfr.changes b/mpfr.changes index ef88a4b..7bcc8be 100644 --- a/mpfr.changes +++ b/mpfr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 19 12:57:57 UTC 2022 - Andreas Stieger + +- package license files correctly + ------------------------------------------------------------------- Fri Nov 18 07:52:35 UTC 2022 - Richard Biener diff --git a/mpfr.spec b/mpfr.spec index d2da5d9..5324881 100644 --- a/mpfr.spec +++ b/mpfr.spec @@ -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