From 8d7c03fc0cc448d03868b55eed82296efab6366ef584a5bd853d557d2cb7208b Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 30 Jan 2018 12:25:24 +0000 Subject: [PATCH 1/3] Accepting request 570922 from home:michalsrb:branches:devel:libraries:c_c++ - Include pkgconfig files in icl-devel package. - Do not build static libraries (instead of deleting them after). OBS-URL: https://build.opensuse.org/request/show/570922 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/isl?expand=0&rev=28 --- isl.changes | 6 ++++++ isl.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/isl.changes b/isl.changes index 9ae45b5..9730591 100644 --- a/isl.changes +++ b/isl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 29 14:43:34 UTC 2018 - msrb@suse.com + +- Include pkgconfig files in icl-devel package. +- Do not build static libraries (instead of deleting them after). + ------------------------------------------------------------------- Tue Jan 31 14:05:40 UTC 2017 - rguenther@suse.com diff --git a/isl.spec b/isl.spec index a0be5c7..3c022de 100644 --- a/isl.spec +++ b/isl.spec @@ -1,7 +1,7 @@ # # spec file for package isl # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,7 @@ Url: http://isl.gforge.inria.fr/ Source: http://isl.gforge.inria.fr/isl-%{version}.tar.xz Source1: baselibs.conf BuildRequires: gmp-devel +BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -53,7 +54,7 @@ The shared library for the ISL. %setup -q %build -%configure +%configure --disable-static make %{?_smp_mflags} V=1 %check @@ -62,9 +63,7 @@ make %{?_smp_mflags} check %install make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -f %{buildroot}%{_libdir}/*.la -rm -rf %{buildroot}%{_libdir}/pkgconfig rm -f %{buildroot}%{_libdir}/libisl.so.*-gdb.py -rm -f %{buildroot}%{_libdir}/libisl.a %post -n libisl%{islsover} -p /sbin/ldconfig %postun -n libisl%{islsover} -p /sbin/ldconfig @@ -77,5 +76,6 @@ rm -f %{buildroot}%{_libdir}/libisl.a %defattr(-,root,root,-) %{_includedir}/isl %{_libdir}/libisl.so +%{_libdir}/pkgconfig/%{name}.pc %changelog From 97116992b817115a24e0726639bb87710e44fa743e4c92ea5dd5b95b0ce7a453 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 30 Jan 2018 12:25:57 +0000 Subject: [PATCH 2/3] - Include pkgconfig files in isl-devel package. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/isl?expand=0&rev=29 --- isl.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl.changes b/isl.changes index 9730591..4384738 100644 --- a/isl.changes +++ b/isl.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Mon Jan 29 14:43:34 UTC 2018 - msrb@suse.com -- Include pkgconfig files in icl-devel package. +- Include pkgconfig files in isl-devel package. - Do not build static libraries (instead of deleting them after). ------------------------------------------------------------------- From b7f4b278d59b686c7b6b0a6c71ea84e656c315bad543918fdb0c9bf94e3a5b14 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 31 Jan 2018 13:11:54 +0000 Subject: [PATCH 3/3] Accepting request 571369 from home:jengelh:branches:devel:libraries:c_c++ - Set shared library RPM group. Use %make_install. OBS-URL: https://build.opensuse.org/request/show/571369 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/isl?expand=0&rev=30 --- isl.changes | 5 +++++ isl.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/isl.changes b/isl.changes index 4384738..cbe1eca 100644 --- a/isl.changes +++ b/isl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 31 12:50:45 UTC 2018 - jengelh@inai.de + +- Set shared library RPM group. Use %make_install. + ------------------------------------------------------------------- Mon Jan 29 14:43:34 UTC 2018 - msrb@suse.com diff --git a/isl.spec b/isl.spec index 3c022de..7c866ea 100644 --- a/isl.spec +++ b/isl.spec @@ -45,11 +45,14 @@ Development tools and headers for the ISL. %package -n libisl%{islsover} Summary: The ISL shared library -Group: Development/Languages/C and C++ +Group: System/Libraries %description -n libisl%{islsover} The shared library for the ISL. +ISL is a library for manipulating sets and relations of integer points +bounded by linear constraints. + %prep %setup -q @@ -61,7 +64,7 @@ make %{?_smp_mflags} V=1 make %{?_smp_mflags} check %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/libisl.so.*-gdb.py