[python-twisted] - Use python_sitelib instead of python-sitearch - The aforementioned macros are defined in Fedora 13
belegdol
belegdol at fedoraproject.org
Mon Nov 8 22:33:50 UTC 2010
commit e7c75eb8c741fc96ccf5a4a588e701cc71e21dd6
Author: Julian Sikorski <belegdol at gmail.com>
Date: Mon Nov 8 23:33:09 2010 +0100
- Use python_sitelib instead of python-sitearch
- The aforementioned macros are defined in Fedora 13 and above
python-twisted.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/python-twisted.spec b/python-twisted.spec
index 629da70..9251865 100644
--- a/python-twisted.spec
+++ b/python-twisted.spec
@@ -1,9 +1,8 @@
%{!?python:%define python python}
-%{!?python_sitearch: %define python_sitearch %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: %{python}-twisted
Version: 10.1.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Event-based framework for internet applications
Group: Development/Libraries
License: MIT
@@ -45,16 +44,20 @@ install -p -m 0644 %{SOURCE0} README
%install
install -d $RPM_BUILD_ROOT%{python_sitearch}
-install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{python_sitearch}/Twisted-%{version}-py2.7.egg-info
+install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{python_sitelib}/Twisted-%{version}-py2.7.egg-info
%files
%defattr(-,root,root,-)
%doc README
-%{python_sitearch}/Twisted-%{version}-py2.7.egg-info
+%{python_sitelib}/Twisted-%{version}-py2.7.egg-info
%changelog
+* Mon Nov 08 2010 Julian Sikorski <belegdol at fedoraproject.org> - 10.1.0-3
+- Use python_sitelib instead of python-sitearch
+- The aforementioned macros are defined in Fedora 13 and above
+
* Sun Nov 07 2010 Julian Sikorski <belegdol at fedoraproject.org> - 10.1.0-2
- Added egg-info file
More information about the scm-commits
mailing list