rpms/texlive/devel texlive.spec,1.36,1.37

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Wed Apr 23 04:49:02 UTC 2008


Author: jnovy

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

Modified Files:
	texlive.spec 
Log Message:
* Mon Apr 21 2008 Jindrich Novy <jnovy at redhat.com> - 2007-29
- run restorecon on /var/lib/texmf to avoid access denials
  if SELinux is in enforcing mode (#443286, #442161)



Index: texlive.spec
===================================================================
RCS file: /cvs/extras/rpms/texlive/devel/texlive.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- texlive.spec	19 Mar 2008 09:04:14 -0000	1.36
+++ texlive.spec	23 Apr 2008 04:48:25 -0000	1.37
@@ -1,6 +1,6 @@
 # This spec file is based on texjive project created by Michael A. Peters.
 # Adopted and modified for Fedora by Jindrich Novy.
-%define f8_packaging	1
+%define f8_packaging	0
 
 %define texlive_ver	2007
 %define ptex_src_ver	3.1.10
@@ -26,7 +26,7 @@
 
 Name:		texlive
 Version:	%{texlive_ver}
-Release:	28%{?dist}
+Release:	29%{?dist}
 Summary:	Binaries for the TeX formatting system
 
 Group:		Applications/Publishing
@@ -149,7 +149,7 @@
 Requires:	texlive-texmf-errata = %{version}
 # make sure fonts package installed before running post - since
 # fmtutil-sys is symlink to fmtutil
-Requires(post):	%{_bindir}/fmtutil
+Requires(post):	%{_bindir}/fmtutil /sbin/restorecon
 Provides:	tex(tex)
 Obsoletes:	tetex < 3.0-99
 Provides:	tetex = 3.0-99
@@ -249,6 +249,7 @@
 Requires: texlive-texmf-errata = %{version}
 Provides: tex(dvips)
 Requires: psutils
+Requires(post): /sbin/restorecon
 
 %description dvips
 Dvips converts .dvi files, for example those produced by the TeX text
@@ -712,6 +713,7 @@
 [ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/web2c.info.gz %{_infodir}/dir
 %{_bindir}/fmtutil-sys --all &> /dev/null
 %{_bindir}/updmap-sys --syncwithtrees &> /dev/null
+/sbin/restorecon -R %{_texmf_var}/
 :
 
 %post afm
@@ -720,6 +722,7 @@
 %post dvips
 [ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/dvips.info.gz %{_infodir}/dir
 %{_bindir}/texconfig-sys rehash 2> /dev/null
+/sbin/restorecon -R %{_texmf_var}/
 :
 
 %post dviutils
@@ -1197,6 +1200,10 @@
 %{_mandir}/man1/texutil.1*
 
 %changelog
+* Mon Apr 21 2008 Jindrich Novy <jnovy at redhat.com> - 2007-29
+- run restorecon on /var/lib/texmf to avoid access denials
+  if SELinux is in enforcing mode (#443286, #442161)
+
 * Tue Mar 18 2008 Jindrich Novy <jnovy at redhat.com> - 2007-28
 - xelatex requires xdvipdfmx
 




More information about the fedora-extras-commits mailing list