Accepting request 83163 from devel:libraries:c_c++

- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build (forwarded request 83159 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=63
This commit is contained in:
Lars Vogdt 2011-09-19 13:58:22 +00:00 committed by Git OBS Bridge
commit 6576c50335
3 changed files with 15 additions and 7 deletions

View File

@ -1,4 +1,6 @@
libcurl4
obsoletes "curl-<targettype> <= <version>"
provides "curl-<targettype> = <version>"
curl-devel
requires -curl-<targettype>
requires "libcurl4-<targettype> = <version>"

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Sep 18 00:10:42 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Fri Sep 16 17:22:44 UTC 2011 - jengelh@medozas.de
- Add curl-devel to baselibs
-------------------------------------------------------------------
Mon Aug 15 05:05:01 UTC 2011 - crrodriguez@opensuse.org

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_without openssl
%bcond_with mozilla_nss
@ -39,7 +38,6 @@ BuildRequires: stunnel
#define cvs_suffix -20090302
Version: 7.21.7
Release: 4
AutoReqProv: on
# bug437293
%ifarch ppc64
Obsoletes: curl-64bit
@ -115,7 +113,7 @@ export CFLAGS="%{optflags}"
: if this fails, the above sed hack did not work
./libtool --config | grep -q link_all_deplibs=no
# enable-hidden-symbols needs gcc4 and causes that curl exports only its API
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%if %{with testsuite}
@ -145,9 +143,6 @@ rm $RPM_BUILD_ROOT%_libdir/libcurl.la
install -d $RPM_BUILD_ROOT/usr/share/aclocal
install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/usr/share/aclocal/
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libcurl4 -p /sbin/ldconfig
%postun -n libcurl4 -p /sbin/ldconfig