[unrtf] don't alter conf file location (rhbz#1060513)

Rahul Sundaram sundaram at fedoraproject.org
Sun May 18 17:17:17 UTC 2014


commit cc78ec0319a60dda7ae387ecac294cba8c6f5c8e
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sun May 18 13:17:14 2014 -0400

    don't alter conf file location (rhbz#1060513)

 unrtf.spec |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/unrtf.spec b/unrtf.spec
index d245309..742d05f 100644
--- a/unrtf.spec
+++ b/unrtf.spec
@@ -1,7 +1,7 @@
 Name:		unrtf
 Summary:	RTF (Rich Text Format) to other formats converter
 Version:	0.21.5
-Release:	1%{?dist}
+Release:	2%{?dist}
 
 Group:		Applications/Text
 License:	GPLv3+
@@ -23,9 +23,6 @@ Converting to HTML, it supports a number of features of Rich Text Format:
 
 %prep
 %setup -q 
-# unrtf has a hard coded path for looking for config files
-sed -i -e 's#/usr/local/lib/unrtf/#%{_sysconfdir}/unrtf/#' src/main.h 
-sed -i -e 's#/usr/local/lib/unrtf/#%{_sysconfdir}/unrtf/#' src/path.h 
 
 %build
 %configure
@@ -33,8 +30,6 @@ make %{?_smp_mflags}
 
 %install
 %make_install
-mkdir -p %{buildroot}%{_sysconfdir}/unrtf/
-mv %{buildroot}%{_datadir}/unrtf/*.conf %{buildroot}%{_sysconfdir}/unrtf/
 
 %check
 make check
@@ -44,9 +39,11 @@ make check
 %{_bindir}/%{name}
 %{_mandir}/man1/*
 %{_datadir}/%{name}/
-%config(noreplace) %{_sysconfdir}/%{name}/
 
 %changelog
+* Sun May 18 2014 Rahul Sundaram <sundaram at fedoraproject.org> - 0.21.5-2
+- don't alter conf file location (rhbz#1060513)
+
 * Mon Apr 07 2014 Ken Dreyer <ktdreyer at ktdreyer.com> - 0.21.5-1
 - Upstream release 0.21.5 (RHBZ #979619)
 - Update URL for HTTPS


More information about the scm-commits mailing list