RPM libyaz4-devel: no *.la and less dependencies
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 17 May 2010 11:41:59 +0000 (13:41 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 17 May 2010 11:41:59 +0000 (13:41 +0200)
Because libyaz4-devel no longer includes *.la files we can
remove the dependency to gnutls-devel and tcpd-devel

yaz.spec.in

index 40a7783..0749222 100644 (file)
@@ -36,7 +36,7 @@ Retrieval.
 %package -n libyaz4-devel
 Summary: Z39.50 Library - development package
 Group: Development/Libraries
-Requires: libyaz4 = %{version} libxml2-devel libxslt-devel libicu-devel gnutls-devel %{TCPWRAPPER}
+Requires: libyaz4 = %{version} libxml2-devel libxslt-devel libicu-devel
 Conflicts: libyaz-devel
 
 %description -n libyaz4-devel
@@ -73,6 +73,7 @@ make CFLAGS="$RPM_OPT_FLAGS"
 rm -fr ${RPM_BUILD_ROOT}
 make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
        libdir=${RPM_BUILD_ROOT}/%{_libdir} install
+rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
 
 %clean
 rm -fr ${RPM_BUILD_ROOT}