[unbound/el5] * Mon Oct 24 2011 Paul Wouters <paul at xelerance.com> - 1.4.13-2 - unbound daemon staticly links unbou

Paul Wouters pwouters at fedoraproject.org
Wed Oct 26 00:26:09 UTC 2011


commit e31ce672bdea83159eef979a4a2823ef3ac22630
Author: Paul Wouters <paul at xelerance.com>
Date:   Tue Oct 25 20:22:34 2011 -0400

    * Mon Oct 24 2011 Paul Wouters <paul at xelerance.com> - 1.4.13-2
    - unbound daemon staticly links unbound-libs (added Requires:)
    - Rebuilt for new python

 unbound.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/unbound.spec b/unbound.spec
index b1a7cae..95224f5 100644
--- a/unbound.spec
+++ b/unbound.spec
@@ -8,7 +8,7 @@
 Summary: Validating, recursive, and caching DNS(SEC) resolver
 Name: unbound
 Version: 1.4.13
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Url: http://www.nlnetlabs.nl/unbound/
 Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
@@ -36,6 +36,8 @@ Requires(preun): initscripts
 Requires(postun): initscripts
 Requires: ldns >= 1.6.9
 Requires(pre): shadow-utils
+# unbound daemon staticly links unbound-libs :(
+Requires: %{name}-libs = %{version}-%{release}
 
 Obsoletes:      dnssec-conf < 1.27-2
 Provides:       dnssec-conf = 1.27-1
@@ -100,7 +102,7 @@ Python modules and extensions for unbound
 %if %{with_python}
             --with-pythonmodule --with-pyunbound \
 %endif
-            --enable-sha2 --disable-gost
+            --enable-sha2 --disable-gost --disable-static
 %{__make} %{?_smp_mflags}
 
 %install
@@ -124,7 +126,7 @@ install -m 0644 %{SOURCE5} %{SOURCE6} %{buildroot}%{_sysconfdir}/unbound/
 # remove static library from install (fedora packaging guidelines)
 rm -rf %{buildroot}%{_libdir}/*.la
 %if %{with_python}
-rm -rf %{buildroot}%{python_sitearch}/*/*.la
+rm -rf %{buildroot}%{python_sitearch}/*.la
 %endif
 
 mkdir -p %{buildroot}%{_localstatedir}/run/unbound
@@ -198,6 +200,10 @@ fi
 %postun libs -p /sbin/ldconfig
 
 %changelog
+* Mon Oct 24 2011 Paul Wouters <paul at xelerance.com> - 1.4.13-2
+- unbound daemon staticly links unbound-libs (added Requires:)
+- Rebuilt for new python
+
 * Thu Sep 15 2011 Paul Wouters <paul at xelerance.com> - 1.4.13-1
 - Upgraded to 1.4.13
 - Added root key for DNSSEC


More information about the scm-commits mailing list