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
This commit is contained in:
parent
ccc915e5d3
commit
8d7c03fc0c
@ -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
|
Tue Jan 31 14:05:40 UTC 2017 - rguenther@suse.com
|
||||||
|
|
||||||
|
8
isl.spec
8
isl.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package isl
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source: http://isl.gforge.inria.fr/isl-%{version}.tar.xz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -53,7 +54,7 @@ The shared library for the ISL.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --disable-static
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -62,9 +63,7 @@ make %{?_smp_mflags} check
|
|||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
rm -rf %{buildroot}%{_libdir}/pkgconfig
|
|
||||||
rm -f %{buildroot}%{_libdir}/libisl.so.*-gdb.py
|
rm -f %{buildroot}%{_libdir}/libisl.so.*-gdb.py
|
||||||
rm -f %{buildroot}%{_libdir}/libisl.a
|
|
||||||
|
|
||||||
%post -n libisl%{islsover} -p /sbin/ldconfig
|
%post -n libisl%{islsover} -p /sbin/ldconfig
|
||||||
%postun -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,-)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/isl
|
%{_includedir}/isl
|
||||||
%{_libdir}/libisl.so
|
%{_libdir}/libisl.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user