From 09b67080b4d5cdbf31de27d8781f6c52dee40770 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Thu, 8 Sep 2011 15:26:30 -0400 Subject: [PATCH] Avoid unnecessary shell invocation in %post. --- libselinux.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libselinux.spec b/libselinux.spec index b6982af..6d3048b 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -7,7 +7,7 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 2.1.5 -Release: 3%{?dist} +Release: 4%{?dist} License: Public Domain Group: System Environment/Libraries Source: %{name}-%{version}.tgz @@ -173,9 +173,7 @@ mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist %clean rm -rf %{buildroot} -%post -/sbin/ldconfig -exit 0 +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -233,6 +231,9 @@ exit 0 %{ruby_sitearch}/selinux.so %changelog +* Thu Sep 8 2011 Ville Skyttä - 2.1.5-4 +- Avoid unnecessary shell invocation in %%post. + * Tue Sep 6 2011 Dan Walsh - 2.1.5-3 - Fix handling of subset labeling that is causing segfault in restorecon