pwouters pushed to softhsm (el6). "- Minor fixes in post and minor cleanup, bump for forgotten build"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 14:24:15 UTC 2015


>From 015e48eac5dab220d2b3be9c60aa58a73ee211c5 Mon Sep 17 00:00:00 2001
From: Paul Wouters <pwouters at redhat.com>
Date: Mon, 13 Apr 2015 10:23:22 -0400
Subject: - Minor fixes in post and minor cleanup, bump for forgotten build


diff --git a/softhsm.spec b/softhsm.spec
index d30a5bc..056028f 100644
--- a/softhsm.spec
+++ b/softhsm.spec
@@ -1,7 +1,7 @@
 Summary: Software version of a PKCS#11 Hardware Security Module
 Name: softhsm
 Version: 1.3.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Url: http://www.opendnssec.org/
 Source: http://www.opendnssec.org/files/source/%{name}-%{version}.tar.gz
@@ -43,11 +43,7 @@ mkdir -p %{buildroot}%{_includedir}/softhsm
 cp src/lib/*.h %{buildroot}%{_includedir}/softhsm
 mkdir -p %{buildroot}/var/softhsm
 
-%clean
-rm -rf %{buildroot}
-
 %files 
-%defattr(-,root,root)
 %config(noreplace) %{_sysconfdir}/softhsm.conf
 %{_bindir}/*
 %dir %{_libdir}/softhsm/
@@ -63,13 +59,15 @@ rm -rf %{buildroot}
 %doc README
 
 %pre
-getent group ods >/dev/null || groupadd -r ods
+getent group ods >/dev/null || groupadd -r ods ||:
 getent passwd ods >/dev/null || \
     useradd -r -g ods -d /var/softhsm -s /sbin/nologin \
-    -c "DNSSEC private keys owner" ods
-exit 0
+    -c "DNSSEC private keys owner" ods ||:
 
 %changelog
+* Mon Apr 13 2015 Paul Wouters <pwouters at redhat.com> - 1.3.5-2
+- Minor fixes in post and minor cleanup, bump for forgotten build
+
 * Sun Nov 03 2013 Paul Wouters <pwouters at redhat.com> - 1.3.5-1
 - Updated to 1.3.5
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/softhsm.git/commit/?h=el6&id=015e48eac5dab220d2b3be9c60aa58a73ee211c5


More information about the scm-commits mailing list