[python-igraph] Update macros to py2
Pierre-YvesChibon
pingou at fedoraproject.org
Thu Dec 12 18:02:06 UTC 2013
commit 333226f3eac4c5ada03f44f3e01ce0ce3ec0fa6c
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date: Thu Dec 12 19:02:01 2013 +0100
Update macros to py2
python-igraph.spec | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/python-igraph.spec b/python-igraph.spec
index 4352e0c..b6925ef 100644
--- a/python-igraph.spec
+++ b/python-igraph.spec
@@ -27,17 +27,17 @@ around.
%setup -q
%build
-%{__python} setup.py build
+%{__python2} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING
-%{python_archlib}/igraph
-%{python_archlib}/python_igraph-%{version}-py*.egg-info
+%{python2_sitearch}/igraph
+%{python2_seitearch}/python_igraph-%{version}-py*.egg-info
%{_bindir}/igraph
#%check
@@ -48,6 +48,7 @@ rm -rf $RPM_BUILD_ROOT
- Update to 0.6.5
- Clean the spec a little
- Comment out the tests for the moment
+- Update macro to python2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list