SHA256
3
0
forked from pool/isl

Accepting request 571371 from devel:libraries:c_c++

- Set shared library RPM group. Use %make_install. (forwarded request 571369 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/571371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/isl?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2018-02-09 14:41:06 +00:00 committed by Git OBS Bridge
commit b59982bd5f
2 changed files with 20 additions and 6 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
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
- Include pkgconfig files in isl-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

View File

@ -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
@ -44,27 +45,28 @@ Development tools and headers for the ISL.
%package -n libisl%{islsover} %package -n libisl%{islsover}
Summary: The ISL shared library Summary: The ISL shared library
Group: Development/Languages/C and C++ Group: System/Libraries
%description -n libisl%{islsover} %description -n libisl%{islsover}
The shared library for the ISL. The shared library for the ISL.
ISL is a library for manipulating sets and relations of integer points
bounded by linear constraints.
%prep %prep
%setup -q %setup -q
%build %build
%configure %configure --disable-static
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
%check %check
make %{?_smp_mflags} check make %{?_smp_mflags} check
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
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 +79,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