texconfig-sys rehash in postun, removal of texhash in post and postun
This commit is contained in:
parent
ce497316d8
commit
d71fdbc623
@ -3,7 +3,7 @@
|
|||||||
Summary: A text formatting package based on SGML
|
Summary: A text formatting package based on SGML
|
||||||
Name: linuxdoc-tools
|
Name: linuxdoc-tools
|
||||||
Version: 0.9.21
|
Version: 0.9.21
|
||||||
Release: 13%{?dist}
|
Release: 14%{?dist}
|
||||||
License: Freely redistributable without restriction
|
License: Freely redistributable without restriction
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Source: http://http.us.debian.org/debian/pool/main/l/linuxdoc-tools/%{name}_%{version}.tar.gz
|
Source: http://http.us.debian.org/debian/pool/main/l/linuxdoc-tools/%{name}_%{version}.tar.gz
|
||||||
@ -82,12 +82,11 @@ EOF
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
|
||||||
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash > /dev/null 2>&1
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash > /dev/null 2>&1
|
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -102,6 +101,10 @@ exit 0
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 04 2008 Ondrej Vasik <ovasik@redhat.com> 0.9.21-14
|
||||||
|
- texconfig-sys rehash in postun, removal of texhash in post
|
||||||
|
and postun(discussed with Jindrich Novy)
|
||||||
|
|
||||||
* Thu Jan 03 2008 Ondrej Vasik <ovasik@redhat.com> 0.9.21-13
|
* Thu Jan 03 2008 Ondrej Vasik <ovasik@redhat.com> 0.9.21-13
|
||||||
- running texconfig-sys rehash in post to let latex know
|
- running texconfig-sys rehash in post to let latex know
|
||||||
about new style installed by linuxdoctools
|
about new style installed by linuxdoctools
|
||||||
|
Loading…
Reference in New Issue
Block a user