[pyflowtools/f14/master] * Sun Aug 01 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.3.4-8 - Replace sitelib with

Orcan Ogetbil oget at fedoraproject.org
Sun Aug 1 05:00:46 UTC 2010


commit 54e048d6f2820afc9260e80a26a62a052e28f949
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Sun Aug 1 01:00:40 2010 -0400

    * Sun Aug 01 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.3.4-8
    - Replace sitelib with sitearch. Otherwise fails to build from source

 pyflowtools.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/pyflowtools.spec b/pyflowtools.spec
index b87f37f..736906b 100644
--- a/pyflowtools.spec
+++ b/pyflowtools.spec
@@ -1,9 +1,12 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
 
 Summary: An interface to OSU FlowTools
 Name: pyflowtools
 Version: 0.3.4
-Release: 7%{?dist}
+Release: 8%{?dist}
 Source0: http://pyflowtools.googlecode.com/files/%{name}-%{version}.tar.gz
 # No version specified.
 License: GPL+
@@ -36,9 +39,12 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root)
 %doc COPYING CHANGES README example.py flowprint-full
-%{python_sitelib}/*
+%{python_sitearch}/*
 
 %changelog
+* Sun Aug 01 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.3.4-8
+- Replace sitelib with sitearch. Otherwise fails to build from source
+
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.3.4-7
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list