[pipelight-selinux/f19] fixed %%post and %%postun scripts
Björn Esser
besser82 at fedoraproject.org
Wed Jul 16 13:15:51 UTC 2014
commit e7b785aabdb33d1c835f75e8b020b20800b1a312
Author: Björn Esser <bjoern.esser at gmail.com>
Date: Wed Jul 16 15:15:28 2014 +0200
fixed %%post and %%postun scripts
pipelight-selinux.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/pipelight-selinux.spec b/pipelight-selinux.spec
index b76011b..cdee49d 100644
--- a/pipelight-selinux.spec
+++ b/pipelight-selinux.spec
@@ -5,7 +5,7 @@
Name: %{pname}-selinux
Version: 0.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: SELinux-policy-module for %{pname}
License: MIT
@@ -68,7 +68,7 @@ do
-i %{_datadir}/selinux/${_selinuxvariant}/%{pname}.pp &> /dev/null || :
done
%{_sbindir}/fixfiles -R %{pname} restore || :
-for _dirs in $(%{_bindir}/find /home -type d -name '.wine-pipelight*')
+for _dir in $(%{_bindir}/find /home -type d -name '.wine-pipelight*')
do
%{_sbindir}/restorecon -R "${_dir}" &> /dev/null || :
done
@@ -81,7 +81,7 @@ if [ $1 -eq 0 ] ; then
done
fi
%{_sbindir}/fixfiles -R %{pname} restore || :
-for _dirs in $(%{_bindir}/find /home -type d -name '.wine-pipelight*')
+for _dir in $(%{_bindir}/find /home -type d -name '.wine-pipelight*')
do
%{_sbindir}/restorecon -R "${_dir}" &> /dev/null || :
done
@@ -93,6 +93,9 @@ done
%changelog
+* Wed Jul 16 2014 Björn Esser <bjoern.esser at gmail.com> - 0.2.0-2
+- fixed %%post and %%postun scripts
+
* Wed Jul 16 2014 Björn Esser <bjoern.esser at gmail.com> - 0.2.0-1
- new upstream release
- add scripts to %%post and %%postun to handle introduced file context
More information about the scm-commits
mailing list