[gnucash/f15] Fix python bindings (#729454)
Bill Nottingham
notting at fedoraproject.org
Tue Aug 9 21:42:01 UTC 2011
commit af3c26851746dd904e962f86e8f871780a946cec
Author: Bill Nottingham <notting at redhat.com>
Date: Tue Aug 9 17:34:48 2011 -0400
Fix python bindings (#729454)
gnucash.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnucash.spec b/gnucash.spec
index 15fab6f..4e68f3c 100644
--- a/gnucash.spec
+++ b/gnucash.spec
@@ -45,6 +45,7 @@ find src/quotes -name "*.in" -exec sed -i "s|use lib '@-PERLINCL-@';||g" {} \;
%build
chmod 644 src/import-export/import-commodity-matcher.c
autoconf
+sed -i 's|get_python_lib(0|get_python_lib(1|g' configure
%configure --enable-error-on-warning=no \
--enable-ofx \
--enable-aqbanking \
@@ -130,7 +131,7 @@ fi
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*/apps/*
%{_mandir}/man*/*
-%{python_sitelib}/gnucash
+%{python_sitearch}/gnucash
%config(noreplace) %{_sysconfdir}/gnucash/*
%doc AUTHORS COPYING ChangeLog* HACKING NEWS README
%doc doc/README.german doc/README.francais doc/README.OFX doc/README.HBCI
More information about the scm-commits
mailing list