From de370ba77186556dae5c9c44ab8cc07f919eb4d2 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 29 Jan 2012 19:41:31 +0100 Subject: [PATCH 1/2] Use /sbin/ldconfig, glibc does not provide /usr/sbin/ldconfig for now --- libselinux.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libselinux.spec b/libselinux.spec index 1fd94e4..b4cb753 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -175,9 +175,9 @@ mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist %clean rm -rf %{buildroot} -%post -p /usr/sbin/ldconfig +%post -p /sbin/ldconfig -%postun -p /usr/sbin/ldconfig +%postun -p /sbin/ldconfig %files %defattr(-,root,root,-) From 82dfd0974372e2ba0830d22e519bb0670a8a0fe6 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 29 Jan 2012 19:47:44 +0100 Subject: [PATCH 2/2] Update release --- libselinux.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libselinux.spec b/libselinux.spec index b4cb753..09d478a 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -7,7 +7,7 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 2.1.9 -Release: 5%{?dist} +Release: 6%{?dist} License: Public Domain Group: System Environment/Libraries Source: %{name}-%{version}.tgz @@ -232,6 +232,10 @@ rm -rf %{buildroot} %{ruby_sitearch}/selinux.so %changelog +* Sun Jan 29 2012 Kay Sievers - 2.1.9-6 +- use /sbin/ldconfig, glibc does not provide + /usr/sbin/ldconfig in the RPM database for now + * Fri Jan 27 2012 Dan Walsh - 2.1.9-5 - Rebuild with cleaned up upstream to work in /usr