rpms/texlive/devel texlive.spec,1.57,1.58
Jindrich Novy
jnovy at fedoraproject.org
Mon Nov 2 15:16:46 UTC 2009
- Previous message: rpms/bluez/F-11 bluez-4.42-update-hid2hci-rules.patch, NONE, 1.1 bluez.spec, 1.71, 1.72 bluez-correct-udev-dell-mouse-rules.patch, 1.1, NONE
- Next message: rpms/kipi-plugins/devel .cvsignore, 1.32, 1.33 kipi-plugins.spec, 1.101, 1.102 sources, 1.32, 1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jnovy
Update of /cvs/pkgs/rpms/texlive/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11455
Modified Files:
texlive.spec
Log Message:
* Mon Nov 02 2009 Jindrich Novy <jnovy at redhat.com> 2007-47
- fix post/postun scriptlets
Index: texlive.spec
===================================================================
RCS file: /cvs/pkgs/rpms/texlive/devel/texlive.spec,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -p -r1.57 -r1.58
--- texlive.spec 23 Oct 2009 01:20:55 -0000 1.57
+++ texlive.spec 2 Nov 2009 15:16:46 -0000 1.58
@@ -21,7 +21,7 @@
Name: texlive
Version: %{texlive_ver}
-Release: 46%{?dist}
+Release: 47%{?dist}
Summary: Binaries for the TeX formatting system
Group: Applications/Publishing
@@ -678,24 +678,24 @@ rm -rf %{buildroot}%{_texmf_main}/texcon
rm -rf %{buildroot}
%post
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
[ -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
+[ -x %{_bindir}/fmtutil-sys ] && %{_bindir}/fmtutil-sys --all &> /dev/null
+[ -x %{_bindir}/updmap-sys ] && %{_bindir}/updmap-sys --syncwithtrees &> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%post afm
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%post context
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
@@ -703,21 +703,21 @@ fi
%post dvips
[ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/dvips.info.gz %{_infodir}/dir
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%post dviutils
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%post east-asian
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
@@ -725,23 +725,23 @@ fi
%post latex
[ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/latex.info.gz %{_infodir}/dir
-%{_bindir}/texconfig-sys init &> /dev/null
-%{_bindir}/texconfig-sys rehash 2> /dev/null
-%{_bindir}/fmtutil-sys --all &> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys init &> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/fmtutil-sys ] && %{_bindir}/fmtutil-sys --all &> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%post xetex
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%post -n kpathsea
-/sbin/ldconfig
+[ -x /sbin/ldconfig ] && /sbin/ldconfig
[ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/kpathsea.info.gz %{_infodir}/dir
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
@@ -774,7 +774,7 @@ fi
:
%preun -n kpathsea
-/sbin/ldconfig
+[ -x /sbin/ldconfig ] && /sbin/ldconfig
if [ "$1" = 0 ]; then
[ -x /sbin/install-info ] && /sbin/install-info --delete %{_infodir}/kpathsea.info.gz %{_infodir}/dir
fi
@@ -784,63 +784,63 @@ fi
:
%postun
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%postun afm
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%postun context
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%postun east-asian
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%postun dviutils
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%postun dvips
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%postun latex
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%postun xetex
-%{_bindir}/texconfig-sys rehash 2> /dev/null
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
:
%postun -n kpathsea
-/sbin/ldconfig
+[ -x /sbin/ldconfig ] && /sbin/ldconfig
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
fi
@@ -1237,7 +1237,10 @@ fi
%{_mandir}/man1/textools.1*
%{_mandir}/man1/texutil.1*
-%changelog
+%changelog
+* Mon Nov 02 2009 Jindrich Novy <jnovy at redhat.com> 2007-47
+- fix post/postun scriptlets
+
* Fri Oct 23 2009 Jindrich Novy <jnovy at redhat.com> 2007-46
- add missing dependency on kpathsea
- Previous message: rpms/bluez/F-11 bluez-4.42-update-hid2hci-rules.patch, NONE, 1.1 bluez.spec, 1.71, 1.72 bluez-correct-udev-dell-mouse-rules.patch, 1.1, NONE
- Next message: rpms/kipi-plugins/devel .cvsignore, 1.32, 1.33 kipi-plugins.spec, 1.101, 1.102 sources, 1.32, 1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list