[packages/python-logilab-astng] bconds fix

jajcus jajcus at pld-linux.org
Mon May 27 20:37:28 CEST 2013


commit 8f19419081595ad8d2235e9d20b83571b6b32471
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Mon May 27 20:37:22 2013 +0200

    bconds fix

 python-logilab-astng.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/python-logilab-astng.spec b/python-logilab-astng.spec
index 9eae44b..e1a63a1 100644
--- a/python-logilab-astng.spec
+++ b/python-logilab-astng.spec
@@ -98,16 +98,20 @@ rm $RPM_BUILD_ROOT%{py3_sitescriptdir}/logilab/__init__.py
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with python2}
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README
 %{py_sitescriptdir}/logilab/astng
 %{py_sitescriptdir}/logilab_astng-%{version}-py*.egg-info
 %{py_sitescriptdir}/logilab_astng-%{version}-py*-nspkg.pth
+%endif
 
+%if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
 %doc ChangeLog README
 %{py3_sitescriptdir}/logilab/astng
 %{py3_sitescriptdir}/logilab_astng-%{version}-py*.egg-info
 %{py3_sitescriptdir}/logilab_astng-%{version}-py*-nspkg.pth
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-logilab-astng.git/commitdiff/8f19419081595ad8d2235e9d20b83571b6b32471



More information about the pld-cvs-commit mailing list