diff --git a/allegro.spec b/allegro.spec index ad5e8ab..8dd7500 100644 --- a/allegro.spec +++ b/allegro.spec @@ -1,6 +1,6 @@ Name: allegro Version: 4.2.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A game programming library Summary(es): Una libreria de programacion de juegos @@ -169,7 +169,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/liball{p,d}_unsharable.a semanage fcontext -a -t textrel_shlib_t \ '%{_libdir}/allegro/4\.2\.1/alleg-vga\.so' 2>/dev/null || : # Actually change the context -chcon -t textrel_shlib_t %{_libdir}/allegro/%{version}/alleg-vga.so || : +chcon -t textrel_shlib_t %{_libdir}/allegro/%{version}/alleg-vga.so \ + 2> /dev/null || : %else %post -p /sbin/ldconfig %endif @@ -240,6 +241,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jul 6 2007 Hans de Goede 4.2.1-3 +- Silence output of chcon command in %post, because otherwise users get this: + "chcon: can't apply partial context to unlabeled file" when installing with + selinux disabled (bz 246820) + * Fri Dec 22 2006 Hans de Goede 4.2.1-2 - Restore multilib devel goodness patch (make allegro-devel i386 and x86_64 parallel installable)