[gnucash-docs] Fix install (#1056046)
Bill Nottingham
notting at fedoraproject.org
Wed Jan 22 01:00:33 UTC 2014
commit 2b448bbaebd2871537a10e5d45ba4c15e670d330
Author: Bill Nottingham <notting at redhat.com>
Date: Tue Jan 21 20:00:34 2014 -0500
Fix install (#1056046)
gnucash-docs.spec | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/gnucash-docs.spec b/gnucash-docs.spec
index c3aafbe..13fdd83 100644
--- a/gnucash-docs.spec
+++ b/gnucash-docs.spec
@@ -2,7 +2,7 @@ Name: gnucash-docs
Summary: Help files and documentation for the GnuCash personal finanace manager
Version: 2.6.0
URL: http://gnucash.org/
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GFDL
Group: Applications/Productivity
Source: http://downloads.sourceforge.net/gnucash/%{name}-%{version}.tar.gz
@@ -37,7 +37,20 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/gnome/help/*
%doc AUTHORS COPYING* ChangeLog* HACKING NEWS README
+%pretrans -p <lua>
+for _,d in pairs ({"gnucash-guide", "gnucash-help"}) do
+ path = "%{_datadir}/gnome/help/" .. d
+ if posix.stat(path, "type") == "link" then
+ os.remove(path)
+ posix.mkdir(path)
+ end
+end
+return 0
+
%changelog
+* Tue Jan 21 2014 Bill Nottingham <notting at redhat.com> - 2.6.0-2
+- fix install (#1056046)
+
* Thu Jan 16 2014 Bill Nottingham <notting at redhat.com> - 2.6.0-1
- update to 2.6.0
More information about the scm-commits
mailing list