[bibexport] adjust BR and texmf tree to new texlive (fix FTB for doc)

mjg mjg at fedoraproject.org
Wed Mar 6 09:18:50 UTC 2013


commit dbd35735af725800a2f19a2809898f4729fc0153
Author: Michael J Gruber <mjg at fedoraproject.org>
Date:   Fri Mar 1 16:28:25 2013 +0100

    adjust BR and texmf tree to new texlive (fix FTB for doc)

 bibexport.spec |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/bibexport.spec b/bibexport.spec
index e141653..4e29992 100644
--- a/bibexport.spec
+++ b/bibexport.spec
@@ -1,9 +1,9 @@
-%{!?_texmf: %define _texmf %(eval "[ -x /usr/bin/kpsewhich ] && echo `kpsewhich -expand-var '$TEXMFMAIN'` || echo %{_datadir}/texmf")}
+%define _texmf   %{_datadir}/texmf-local
 
 Name:           bibexport
 # taken from bibexport.dtx: \def\fileversion{2.10} 
 Version:        2.10
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Extract entries from BibTeX and .aux files
 
 Group:          Applications/Publishing
@@ -14,12 +14,11 @@ URL:            http://www.ctan.org/tex-archive/help/Catalogue/entries/bibexport
 Source0:        bibexport-20060320.zip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  tex(latex)
 
-BuildRequires:  /usr/bin/kpsewhich
-BuildRequires:  tetex-latex
-Requires:       tetex
-Requires(post):   /usr/bin/texhash
-Requires(postun): /usr/bin/texhash
+Requires:       tex-bibtex
+Requires(post):   tex(tex)
+Requires(postun): tex(tex)
 
 
 %description
@@ -50,10 +49,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %post
-texhash > /dev/null 2>&1 || :
+mktexlsr > /dev/null 2>&1 || :
 
 %postun
-texhash > /dev/null 2>&1 || :
+mktexlsr > /dev/null 2>&1 || :
 
 
 %files
@@ -64,6 +63,9 @@ texhash > /dev/null 2>&1 || :
 
 
 %changelog
+* Fri Mar 01 2013 Michael J Gruber <mjg at fedoraproject.org> - 2.10-9
+- adjust BR and texmf tree to new texlive (fix FTB for doc)
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.10-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list