[unbound: 4/4] * various unbound fixed

Paul Wouters pwouters at fedoraproject.org
Sat Nov 3 21:35:19 UTC 2012


commit a7ba25e01c9e0aca9c9369853848a6929f802747
Author: Paul Wouters <pwouters at redhat.com>
Date:   Sat Nov 3 17:33:45 2012 -0400

    * various unbound fixed
    
    - sub packages now depends on base package of same arch
    - Build munin package as noarch
    - systemd does not handle empty env vars properly

 unbound.spec      |    9 ++++++---
 unbound.sysconfig |    4 ++--
 2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/unbound.spec b/unbound.spec
index 4ce4c56..0cbbacc 100644
--- a/unbound.spec
+++ b/unbound.spec
@@ -54,7 +54,7 @@ Requires(postun): systemd-units
 Requires: ldns >= 1.6.13
 Requires(pre): shadow-utils
 # Needed because /usr/sbin/unbound links unbound libs staticly
-Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
 
 Obsoletes:      dnssec-conf < 1.27-2
 Provides:       dnssec-conf = 1.27-1
@@ -76,6 +76,7 @@ Summary: Plugin for the munin / munin-node monitoring package
 Group:     System Environment/Daemons
 Requires: munin-node
 Requires: %{name} = %{version}-%{release}, bc
+BuildArch: noarch
 
 %description munin
 Plugin for the munin / munin-node monitoring package
@@ -84,7 +85,7 @@ Plugin for the munin / munin-node monitoring package
 %package devel
 Summary: Development package that includes the unbound header files
 Group: Development/Libraries
-Requires: %{name}-libs = %{version}-%{release}, openssl-devel, ldns-devel
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}, openssl-devel, ldns-devel
 
 %description devel
 The devel package contains the unbound library and the include files
@@ -103,7 +104,7 @@ Contains libraries used by the unbound server and client applications
 %package python
 Summary: Python modules and extensions for unbound
 Group: Applications/System
-Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
 
 %description python
 Python modules and extensions for unbound
@@ -286,6 +287,8 @@ exit 0
 - Run unbound-checkconf in PreExec
 - Moved trust anchor related files to unbound-libs, as they can
   be used without the daemon.
+- sub packages now depends on base package of same arch
+- Build munin package as noarch
 
 * Tue Sep 04 2012 Paul Wouters <pwouters at redhat.com> - 1.4.18-3
 - Fix openssl thread locking bug under high query load
diff --git a/unbound.sysconfig b/unbound.sysconfig
index 6fde947..fae3306 100644
--- a/unbound.sysconfig
+++ b/unbound.sysconfig
@@ -1,3 +1,3 @@
-# DEBUG="-v -v"
+# for extra debug, add "-v -v" or change verbosity: in unbound.conf
 
-UNBOUND_OPTIONS="$DEBUG"
+UNBOUND_OPTIONS=""


More information about the scm-commits mailing list