rpms/tetex-dvipost/devel tetex-dvipost.spec,1.1,1.2

José Abílio Oliveira Matos (jamatos) fedora-extras-commits at redhat.com
Sat May 6 06:43:16 UTC 2006


Author: jamatos

Update of /cvs/extras/rpms/tetex-dvipost/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24736

Modified Files:
	tetex-dvipost.spec 
Log Message:
* Sat May  6 2006 José Matos <jamatos at fc.up.pt> - 1.1-5
- Clean up spec file



Index: tetex-dvipost.spec
===================================================================
RCS file: /cvs/extras/rpms/tetex-dvipost/devel/tetex-dvipost.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tetex-dvipost.spec	27 Apr 2006 16:18:45 -0000	1.1
+++ tetex-dvipost.spec	6 May 2006 06:43:15 -0000	1.2
@@ -1,9 +1,9 @@
 %define real_name dvipost
-%define texmf	%{_datadir}/texmf
+%{!?_texmf: %define _texmf %(eval "echo `kpsewhich -expand-var '$TEXMFMAIN'`")}
 
 Name:           tetex-%{real_name}
 Version:        1.1
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        LaTeX post filter command to support change bars and overstrike mode
 
 Group:          Applications/Publishing
@@ -13,11 +13,9 @@
 Patch0:		%{name}-destdir.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  tetex
 BuildRequires:	tetex-latex
+BuildRequires: /usr/bin/kpsewhich
 
-Requires:       tetex
-Requires:	tetex-fonts
 Requires:	tetex-latex
 
 %description
@@ -55,13 +53,16 @@
 %files
 %defattr(-,root,root,-)
 %{_bindir}/*
-%{texmf}/tex/latex/misc/*
+%{_texmf}/tex/latex/misc/*
 
 %doc README COPYING NOTES dvipost.html
 %{_mandir}/man*/*
 
 
 %changelog
+* Sat May  6 2006 José Matos <jamatos at fc.up.pt> - 1.1-5
+- Clean up spec file
+
 * Thu Apr 27 2006 José Matos <jamatos at fc.up.pt> - 1.1-4
 - Rename package to tetex-dvipost
 




More information about the fedora-extras-commits mailing list