diff --git a/libselinux.changes b/libselinux.changes index 1bd0523..74f24ca 100644 --- a/libselinux.changes +++ b/libselinux.changes @@ -1,10 +1,3 @@ -------------------------------------------------------------------- -Mon May 3 10:30:40 UTC 2010 - prusnak@suse.cz - -- don't package /var/run/setrans in libselinux1 package - - Feature#303793 - - the directory will be created in initscript of mcstrans package - ------------------------------------------------------------------- Sat Apr 24 09:53:28 UTC 2010 - coolo@novell.com diff --git a/libselinux.spec b/libselinux.spec index 5f0fea4..2855195 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -131,6 +131,7 @@ mkdir -p $RPM_BUILD_ROOT/%{_lib} mkdir -p $RPM_BUILD_ROOT%{_libdir} mkdir -p $RPM_BUILD_ROOT%{_includedir} mkdir -p $RPM_BUILD_ROOT%{_sbindir} +mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/setrans make DESTDIR="$RPM_BUILD_ROOT" LIBDIR="$RPM_BUILD_ROOT%{_libdir}" SHLIBDIR="$RPM_BUILD_ROOT/%{_lib}" BINDIR="$RPM_BUILD_ROOT%{_sbindir}" install rm -f $RPM_BUILD_ROOT%{_sbindir}/compute_* rm -f $RPM_BUILD_ROOT%{_sbindir}/deftype @@ -175,6 +176,7 @@ rm -rf $RPM_BUILD_ROOT %files -n libselinux1 %defattr(-,root,root,-) /%{_lib}/libselinux.so.* +%{_localstatedir}/run/setrans %files devel %defattr(-,root,root,-)