From e5562ce602df1e1dde23e6dd6df9b926809e1813d81a387dc6a4a5dc758fc92d Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 11 Dec 2018 14:54:45 +0000 Subject: [PATCH] Accepting request 657015 from home:jengelh:branches:science factory review output - Remove devel-static subpackage. There is no reason to ship these. - Remove .la files. These do not constitute static libs, either. - Use find -delete rather than expensively calling -exec rm. OBS-URL: https://build.opensuse.org/request/show/657015 OBS-URL: https://build.opensuse.org/package/show/science/giac?expand=0&rev=5 --- giac.changes | 7 +++++++ giac.spec | 34 ++++++++-------------------------- 2 files changed, 15 insertions(+), 26 deletions(-) diff --git a/giac.changes b/giac.changes index cea19fe..9087f59 100644 --- a/giac.changes +++ b/giac.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Dec 11 00:32:57 UTC 2018 - Jan Engelhardt + +- Remove devel-static subpackage. There is no reason to ship these. +- Remove .la files. These do not constitute static libs, either. +- Use find -delete rather than expensively calling -exec rm. + ------------------------------------------------------------------- Fri Dec 7 17:47:12 UTC 2018 - Todd R diff --git a/giac.spec b/giac.spec index 137d602..1692383 100644 --- a/giac.spec +++ b/giac.spec @@ -61,7 +61,7 @@ BuildRequires: pkgconfig(ao) %endif %description -Free computer algebra system, compatible with existing CAS, as a C++ +A computer algebra system, compatible with existing CAS, as a C++ library with various user interfaces (GUI with formal spreadsheet and exact dynamic geometry, on-line, readline, emacs, texmacs...). @@ -81,7 +81,7 @@ Summary: The core library for %{name} Group: System/Libraries %description -n lib%{name}%{soname} -Free computer algebra system, compatible with existing CAS, as a C++ +A computer algebra system, compatible with existing CAS, as a C++ library with various user interfaces (GUI with formal spreadsheet and exact dynamic geometry, on-line, readline, emacs, texmacs...). @@ -97,21 +97,8 @@ Requires: pkgconfig(ao) Requires: pkgconfig(gsl) %description devel -Computer algebra system. - This package contains header files and libraries needed to develop -application that use %{name}. - -%package devel-static -Summary: Static development files for %{name} -Group: Development/Libraries/C and C++ -Requires: %{name}-devel = %{version} - -%description devel-static -Computer algebra system. - -This package contains static libraries needed to develop -application that use %{name}. +application that use the GIAC computer algebra system. %package doc Summary: Documentation for %{name} @@ -119,10 +106,8 @@ Group: Documentation/HTML BuildArch: noarch %description doc -Computer algebra system. - This document describes the basic structure and provides information on -usage of %{name}. +usage of giac, a computer algebra system. %lang_package @@ -130,7 +115,7 @@ usage of %{name}. %setup -q -n %{name}-%{mainver} # remove all hidden files -find . -type f -iname '.*' -exec rm -f {} \; +find . -type f -iname '.*' -delete %build %configure \ @@ -140,6 +125,7 @@ make %{?_smp_mflags} %install %make_install +rm -f %{buildroot}/%{_libdir}/*.la # use the freedesktop standard rm -rf %{buildroot}%{_datadir}/application-registry @@ -150,9 +136,9 @@ install -Dm 0644 $i %{buildroot}%{_mandir}/man1/$f; done # install mimeinfo install -Dm 0644 debian/%{name}.sharedmimeinfo %{buildroot}%{_datadir}/mime/packages/%{name}.xml # remove makefiles from %%doc -find %{buildroot}%{_datadir}/%{name}/doc -type f -name \*akefile* -exec rm -f {} \; +find %{buildroot}%{_datadir}/%{name}/doc -type f -name \*akefile* -delete # remove zero-length -find %{buildroot}%{_datadir}/%{name}/doc -type f -empty -exec rm -f {} \; +find %{buildroot}%{_datadir}/%{name}/doc -type f -empty -delete # fix non-executable-script chmod a+x %{buildroot}%{_datadir}/%{name}/doc/pari/gphtml # fix script-without-shebang @@ -241,10 +227,6 @@ fi %{_includedir}/giac/ %{_libdir}/libgiac.so -%files devel-static -%license COPYING -%{_libdir}/libgiac.la - %files doc %license COPYING %{_datadir}/giac/doc/