rpms/allegro/devel allegro.spec,1.39,1.40

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Fri Jul 6 10:02:59 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/allegro/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10801

Modified Files:
	allegro.spec 
Log Message:
* Fri Jul  6 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 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)



Index: allegro.spec
===================================================================
RCS file: /cvs/extras/rpms/allegro/devel/allegro.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- allegro.spec	12 Jan 2007 15:53:12 -0000	1.39
+++ allegro.spec	6 Jul 2007 10:02:23 -0000	1.40
@@ -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 @@
 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 @@
 
 
 %changelog
+* Fri Jul  6 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 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 <j.w.r.degoede at hhs.nl> 4.2.1-2
 - Restore multilib devel goodness patch (make allegro-devel i386 and x86_64
   parallel installable)




More information about the fedora-extras-commits mailing list