Dirk Mueller 2014-01-04 23:08:47 +00:00 committed by Git OBS Bridge
parent 9270bde9ff
commit 711c1fbca4
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -106,10 +106,10 @@ autoreconf -fiv
--disable-static \
--enable-libmemcachedprotocol \
--with-memcached=%{_sbindir}/memcached
make %{?_smp_mflags}
make CFLAGS="-std=c99 %optflags" CXXFLAGS="%optflags" %{?_smp_mflags}
%install
%makeinstall
%makeinstall CFLAGS="-std=c99 %optflags" CXXFLAGS="%optflags"
%__rm -f %{buildroot}%{_libdir}/*.la
%if 0%{?suse_version} > 1020
# create symlinks for man pages