[unbound/f16] updated spec for 1.4.12

Paul Wouters pwouters at fedoraproject.org
Tue Aug 9 02:12:23 UTC 2011


commit 29dc1d9311b931aa3221308fd2357c076e5039b7
Author: Paul Wouters <paul at xelerance.com>
Date:   Mon Aug 8 22:08:51 2011 -0400

    updated spec for 1.4.12
    
    Conflicts:
    
    	unbound.spec

 unbound.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/unbound.spec b/unbound.spec
index c52045a..1c00be4 100644
--- a/unbound.spec
+++ b/unbound.spec
@@ -20,6 +20,7 @@ Source4: unbound_munin_
 Source5: root.key
 Source6: dlv.isc.org.key
 Patch1: unbound-1.2-glob.patch
+Patch2: unbound-1.4.12-pythonmod.patch
 
 Group: System Environment/Daemons
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -29,8 +30,7 @@ BuildRequires: libevent-devel expat-devel
 BuildRequires:  python-devel swig
 %endif
 # Required for SVN versions
-BuildRequires: bison
-
+# BuildRequires: bison
 
 Requires(post): chkconfig
 Requires(preun): chkconfig
@@ -93,10 +93,11 @@ Python modules and extensions for unbound
 %prep
 %setup -q 
 %patch1 -p1
+%patch2 -p0
 
 %build
 %configure  --with-ldns= --with-libevent --with-pthreads --with-ssl \
-            --disable-rpath --enable-XXXdebug --disable-static \
+            --disable-rpath --disable-static \
             --with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \
             --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid \
 %if %{with_python}
@@ -150,6 +151,8 @@ rm -rf ${RPM_BUILD_ROOT}
 %files python
 %defattr(-,root,root,-)
 %{python_sitelib}/*
+%doc libunbound/python/examples/*
+%doc pythonmod/examples/*
 %endif
 
 %files munin


More information about the scm-commits mailing list