[latex2rtf] Fix config location.

Jussi Lehtola jussilehtola at fedoraproject.org
Wed Jun 6 23:12:31 UTC 2012


commit 7ea5e5e18232133d7a06c110f9e3971cb42685c9
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Thu Jun 7 02:12:26 2012 +0300

    Fix config location.

 latex2rtf.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/latex2rtf.spec b/latex2rtf.spec
index 7773c2d..423edb0 100644
--- a/latex2rtf.spec
+++ b/latex2rtf.spec
@@ -1,6 +1,6 @@
 Name:		latex2rtf
 Version:	2.2.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	LaTeX to RTF converter that handles equations, figures, and cross-references
 Group:		Applications/File
 License:	GPLv2+
@@ -41,7 +41,7 @@ find -name "*.o" -delete
 
 %build
 # Set the necessary config options, including location of config files
-make CFLAGS="%{optflags} -DUNIX -fsigned-char" CFG_INSTALL=%{_datadir}/%{name}/cfg %{?_smp_mflags}
+make CFLAGS="%{optflags} -DUNIX -fsigned-char" DESTDIR=%{_usr} CFGDIR=/share/%{name}/cfg %{?_smp_mflags}
 
 # Change encoding of documentation
 for txtfile in ChangeLog Copyright; do
@@ -82,6 +82,9 @@ fi
 
 
 %changelog
+* Thu Jun 07 2012 Jussi Lehtola <jussilehtola at fedoraproject.org> - 2.2.0-2
+- Fix configuration directory location.
+
 * Mon Jun 04 2012 Jussi Lehtola <jussilehtola at fedoraproject.org> - 2.2.0-1
 - Update to 2.2.0.
 


More information about the scm-commits mailing list