[python-xkit] * Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.4.2-6 - Fix egginfo location for Py
Toshio くらとみ
toshio at fedoraproject.org
Sat Jul 31 20:16:07 UTC 2010
commit 286dbaf396a0d13b3f247764a566b3d64dd3787f
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Sat Jul 31 16:15:56 2010 -0400
* Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.4.2-6
- Fix egginfo location for Python-2.7 rebuild
python-xkit.spec | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/python-xkit.spec b/python-xkit.spec
index 7e06fef..b511460 100644
--- a/python-xkit.spec
+++ b/python-xkit.spec
@@ -1,10 +1,12 @@
-%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
-%define upstreamname x-kit
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%endif
+%global upstreamname x-kit
Summary: A simple, transparent and easy to extend xorg parser
Name: python-xkit
Version: 0.4.2
-Release: 5%{?dist}
+Release: 6%{?dist}
Source0: http://code.launchpad.net/xorgparser/trunk/0.4.2/+download/%{upstreamname}-%{version}.tar.gz
License: LGPLv2
Group: Development/Libraries
@@ -26,7 +28,8 @@ python setup.py build
%install
rm -rf %{buildroot}
-python setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+python setup.py install --skip-build --root $RPM_BUILD_ROOT
+
%clean
rm -rf %{buildroot}
@@ -34,9 +37,12 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc AUTHORS COPYING README PKG-INFO examples tests
%{python_sitelib}/XKit
-%{python_sitelib}/xkit-0.0.0-py2.6.egg-info
+%{python_sitelib}/xkit*.egg-info
%changelog
+* Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.4.2-6
+- Fix egginfo location for Python-2.7 rebuild
+
* Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 0.4.2-5
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
More information about the scm-commits
mailing list