commit 37f9208a00c69ab454cbcbba670e94712dd1ea16
Author: Jakub Bogusz <[email protected]>
Date:   Sat Mar 9 11:01:40 2019 +0100

    - run texhash; release 2

 latex2man.spec | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/latex2man.spec b/latex2man.spec
index 30ce3ee..ed7dfe7 100644
--- a/latex2man.spec
+++ b/latex2man.spec
@@ -3,7 +3,7 @@ Summary:        Latex2man - translate UNIX manual pages written 
with LaTeX
 Summary(pl.UTF-8):     Latex2man - tłumaczenie uniksowych stron podręcznika 
napisanych w LaTeXu
 Name:          latex2man
 Version:       1.26
-Release:       1
+Release:       2
 License:       LaTeX Project Public License
 Group:         Applications/Text
 Source0:       http://mirror.ctan.org/support/%{name}.zip
@@ -11,10 +11,13 @@ Source0:    http://mirror.ctan.org/support/%{name}.zip
 URL:           
ftp://tug.ctan.org/pub/tex-archive/help/Catalogue/entries/latex2man.html
 BuildRequires: rpm-perlprov
 BuildRequires: sed >= 4.0
+Requires(post,postun): /usr/bin/texhash
 Requires:      perl-base
 Requires:      texlive-latex
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                texhash umask 022; [ ! -x %{_bindir}/texhash ] || 
%{_bindir}/texhash 1>&2;
+
 %description
 Latex2man is a tool to translate UNIX manual pages written with LaTeX
 into a format understood by the UNIX man(1) command. Alternatively
@@ -58,6 +61,12 @@ install -d 
$RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_infodir},%{_docdir}/htm
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%texhash
+
+%postun
+%texhash
+
 %files
 %defattr(644,root,root,755)
 %doc CHANGES README
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/latex2man.git/commitdiff/37f9208a00c69ab454cbcbba670e94712dd1ea16

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to