From 720a3d6ab5b6777e4e1c2a64abdeb64e5eaf39cc Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 25 Jan 2009 13:50:45 +0000 Subject: [PATCH] - Fix wrong file path in semanage call in scriptlets (#481407) --- allegro.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/allegro.spec b/allegro.spec index 2aa0418..f099c50 100644 --- a/allegro.spec +++ b/allegro.spec @@ -1,6 +1,6 @@ Name: allegro Version: 4.2.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A game programming library Summary(es): Una libreria de programacion de juegos @@ -204,7 +204,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/liball{p,d}_unsharable.a /sbin/ldconfig # Set SELinux file_context for vga plugin in the policy semanage fcontext -a -t textrel_shlib_t \ - '%{_libdir}/allegro/4\.2\.1/alleg-vga\.so' 2>/dev/null || : + '%{_libdir}/allegro/4\.2\.2/alleg-vga\.so' 2>/dev/null || : # Actually change the context chcon -t textrel_shlib_t %{_libdir}/allegro/%{version}/alleg-vga.so \ 2> /dev/null || : @@ -218,7 +218,7 @@ chcon -t textrel_shlib_t %{_libdir}/allegro/%{version}/alleg-vga.so \ # SELinux support if [ $1 -eq 0 ]; then # final removal semanage fcontext -d -t textrel_shlib_t \ - '%{_libdir}/allegro/4\.2\.1/alleg-vga\.so' 2>/dev/null || : + '%{_libdir}/allegro/4\.2\.2/alleg-vga\.so' 2>/dev/null || : fi %else %postun -p /sbin/ldconfig @@ -294,6 +294,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jan 25 2008 Hans de Goede 4.2.2-11 +- Fix wrong file path in semanage call in scriptlets (#481407) + * Mon May 5 2008 Hans de Goede 4.2.2-10 - Look for /etc/timidity.cfg instead of /usr/share/timidity/timidity.cfg, as the latter is no longer available now that Fedora has switched from