projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not bundle libmemcached. Linking does not work for C
[yaz-moved-to-github.git]
/
yaz.spec
diff --git
a/yaz.spec
b/yaz.spec
index
8e10326
..
1b1acb5
100644
(file)
--- a/
yaz.spec
+++ b/
yaz.spec
@@
-47,7
+47,6
@@
BuildRequires: libxslt-devel
BuildRequires: readline-devel
BuildRequires: libicu-devel
BuildRequires: wget
BuildRequires: readline-devel
BuildRequires: libicu-devel
BuildRequires: wget
-BuildRequires: cyrus-sasl-devel
BuildRequires: libgcrypt-devel
Packager: Adam Dickmeiss <adam@indexdata.dk>
URL: http://www.indexdata.com/yaz
BuildRequires: libgcrypt-devel
Packager: Adam Dickmeiss <adam@indexdata.dk>
URL: http://www.indexdata.com/yaz
@@
-97,19
+96,12
@@
chain facility of YAZ.
%prep
%setup
%prep
%setup
-wget -q http://ftp.indexdata.dk/pub/support/libmemcached-1.0.18.tar.gz
-tar zxf libmemcached-1.0.18.tar.gz
-
%build
%build
-YD=`pwd`
-cd libmemcached-1.0.18
-./configure --disable-shared --prefix=${YD}/libmemcached
-make install
-cd ..
-PKG_CONFIG_PATH=${YD}/libmemcached/lib/pkgconfig CFLAGS="$RPM_OPT_FLAGS" \
+CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
- --enable-shared --enable-tcpd --with-xslt --with-gnutls --with-icu
+ --enable-shared --enable-tcpd --with-xslt --with-gnutls --with-icu \
+ --without-memcached
make CFLAGS="$RPM_OPT_FLAGS"
%install
make CFLAGS="$RPM_OPT_FLAGS"
%install