From 8d7c03fc0cc448d03868b55eed82296efab6366ef584a5bd853d557d2cb7208b Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 30 Jan 2018 12:25:24 +0000 Subject: [PATCH] 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