From af3c26851746dd904e962f86e8f871780a946cec Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Aug 09 2011 21:40:15 +0000 Subject: Fix python bindings (#729454) --- 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