[unbound/el6] * Thu Sep 04 2014 Paul Wouters <pwouters at redhat.com> - 1.4.22-1 - Updated to 1.4.22 - Ensure scriptl

Paul Wouters pwouters at fedoraproject.org
Thu Sep 4 01:23:03 UTC 2014


commit cef6c2c959680e1bc71926d55c22125a9de55530
Author: Paul Wouters <pwouters at redhat.com>
Date:   Wed Sep 3 21:22:43 2014 -0400

    * Thu Sep 04 2014 Paul Wouters <pwouters at redhat.com> - 1.4.22-1
    - Updated to 1.4.22
    - Ensure scriptlets return 0

 .gitignore   |    1 +
 sources      |    2 +-
 unbound.spec |   11 +++++++----
 3 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a2a755d..031fdca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ unbound-1.4.4.tar.gz
 /unbound-1.4.19.tar.gz
 /unbound-1.4.20.tar.gz
 /unbound-1.4.21.tar.gz
+/unbound-1.4.22.tar.gz
diff --git a/sources b/sources
index e084414..53856f5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0aa8db06ea784bf7879060bd1f6551c8  unbound-1.4.21.tar.gz
+59728c74fef8783f8bad1d7451eba97f  unbound-1.4.22.tar.gz
diff --git a/unbound.spec b/unbound.spec
index d9867ef..64d7d7e 100644
--- a/unbound.spec
+++ b/unbound.spec
@@ -10,7 +10,7 @@
 
 Summary: Validating, recursive, and caching DNS(SEC) resolver
 Name: unbound
-Version: 1.4.21
+Version: 1.4.22
 Release: 1%{?dist}
 License: BSD
 Url: http://www.nlnetlabs.nl/unbound/
@@ -245,8 +245,7 @@ install -p -m 0644 %{SOURCE16}  .
 getent group unbound >/dev/null || groupadd -r unbound
 getent passwd unbound >/dev/null || \
 useradd -r -g unbound -d %{_sysconfdir}/unbound -s /sbin/nologin \
--c "Unbound DNS resolver" unbound
-exit 0
+-c "Unbound DNS resolver" unbound || exit 0
 
 %post
 /sbin/chkconfig --add %{name}
@@ -258,7 +257,7 @@ sed -i "s:/etc/pki/dnssec-keys[/]*dlv:/etc/unbound:" %{_sysconfdir}/unbound/unbo
 
 %post libs 
 /sbin/ldconfig
-/sbin/runuser --command="%{_sbindir}/unbound-anchor -a %{_sharedstatedir}/unbound/root.key -c %{_sysconfdir}/unbound/icannbundle.pem"  --shell /bin/sh unbound
+/sbin/runuser --command="%{_sbindir}/unbound-anchor -a %{_sharedstatedir}/unbound/root.key -c %{_sysconfdir}/unbound/icannbundle.pem"  --shell /bin/sh unbound || exit 0
 
 %preun
 if [ "$1" -eq 0 ]; then
@@ -274,6 +273,10 @@ fi
 %postun libs -p /sbin/ldconfig
 
 %changelog
+* Thu Sep 04 2014 Paul Wouters <pwouters at redhat.com> - 1.4.22-1
+- Updated to 1.4.22
+- Ensure scriptlets return 0
+
 * Thu Sep 19 2013 Paul Wouters <pwouters at redhat.com> - 1.4.21-1
 - Updated to 1.4.21,
 - Enabled new max-udp-size: 3072 (so ANY isc.org won't fit)


More information about the scm-commits mailing list