SPECS: passivetex.spec - fix %post/%postun
glen
glen at pld-linux.org
Sun Nov 6 13:22:01 CET 2005
Author: glen Date: Sun Nov 6 12:22:01 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix %post/%postun
---- Files affected:
SPECS:
passivetex.spec (1.26 -> 1.27)
---- Diffs:
================================================================
Index: SPECS/passivetex.spec
diff -u SPECS/passivetex.spec:1.26 SPECS/passivetex.spec:1.27
--- SPECS/passivetex.spec:1.26 Mon May 9 20:08:17 2005
+++ SPECS/passivetex.spec Sun Nov 6 13:21:55 2005
@@ -16,13 +16,13 @@
Requires: tetex-fonts-jknappen
Requires: tetex-fonts-stmaryrd
Requires: tetex-latex-wasysym
-Requires(post): /usr/bin/texhash
-Requires(postun): /usr/bin/texhash
+Requires(post,postun): %{_bindir}/texhash
AutoReqProv: no
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define ptexmf %{_datadir}/texmf/tex/xmltex/passivetex
+%define ptexmf %{_datadir}/texmf/tex/xmltex/passivetex
+%define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2;
%description
PassiveTeX is a library of TeX macros which can be used to process an
@@ -48,10 +48,10 @@
rm -rf $RPM_BUILD_ROOT
%post
-/usr/bin/texhash 1>&2
+%texhash
%postun
-/usr/bin/texhash 1>&2
+%texhash
%files
%defattr(644,root,root,755)
@@ -64,6 +64,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.27 2005/11/06 12:21:55 glen
+- fix %post/%postun
+
Revision 1.26 2005/05/09 18:08:17 adamg
- release 4 for Th
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/passivetex.spec?r1=1.26&r2=1.27&f=u
More information about the pld-cvs-commit
mailing list