forked from pool/libmemcached
- use rpmoptflags
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmemcached?expand=0&rev=41
This commit is contained in:
parent
9270bde9ff
commit
711c1fbca4
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 4 23:08:40 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
- use rpmoptflags
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 2 22:56:56 UTC 2013 - chris@computersalat.de
|
Fri Aug 2 22:56:56 UTC 2013 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libmemcached
|
# spec file for package libmemcached
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products 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
|
||||||
@ -106,10 +106,10 @@ autoreconf -fiv
|
|||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-libmemcachedprotocol \
|
--enable-libmemcachedprotocol \
|
||||||
--with-memcached=%{_sbindir}/memcached
|
--with-memcached=%{_sbindir}/memcached
|
||||||
make %{?_smp_mflags}
|
make CFLAGS="-std=c99 %optflags" CXXFLAGS="%optflags" %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall CFLAGS="-std=c99 %optflags" CXXFLAGS="%optflags"
|
||||||
%__rm -f %{buildroot}%{_libdir}/*.la
|
%__rm -f %{buildroot}%{_libdir}/*.la
|
||||||
%if 0%{?suse_version} > 1020
|
%if 0%{?suse_version} > 1020
|
||||||
# create symlinks for man pages
|
# create symlinks for man pages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user