[pam_shield/f16] fixed typo in spec
Carl Thompson
redragon at fedoraproject.org
Fri Aug 12 08:05:00 UTC 2011
commit 60abd235a91fc106b717f0f2f7a1e16492510278
Author: Carl Thompson <fedora at red-dragon.com>
Date: Fri Aug 12 03:04:42 2011 -0500
fixed typo in spec
pam_shield.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pam_shield.spec b/pam_shield.spec
index 6726271..ff99018 100644
--- a/pam_shield.spec
+++ b/pam_shield.spec
@@ -10,7 +10,6 @@ Source0: http://www.heiho.net/pam_shield/pam_shield-0.9.5.tar.gz
Source1: shield-trigger.8.gz
Source2: shield-purge.8.gz
Source3: shield-trigger-iptables.8.gz
-Source4: pam_shield.selinux
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pam-devel, gdbm-devel
%if 0%{?rhel} <= 5
@@ -82,8 +81,11 @@ restorecon -R /var/lib/pam_shield || :
%postun
if [ $1 -eq 0 ] ; then
semanage fcontext -d -t var_auth_t '/var/lib/pam_shield' 2>/dev/null || :
+if [ -e "/var/lib/pam_shield/db" ]
+then
rm -f /var/lib/pam_shield/db
fi
+fi
%files
%defattr(-,root,root)
More information about the scm-commits
mailing list