diff --git a/texlive.spec b/texlive.spec index 47612e7..dfe6bb7 100644 --- a/texlive.spec +++ b/texlive.spec @@ -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-fonts = %{version} 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-dvips = %{version} 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 @@ rm -rf %{buildroot} [ -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 @@ rm -rf %{buildroot} %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 @@ fi %{_mandir}/man1/texutil.1* %changelog +* Mon Apr 21 2008 Jindrich Novy - 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 - 2007-28 - xelatex requires xdvipdfmx