Accepting request 96388 from home:TheBlackCat:branches:devel:languages:python:Factory

Exclude /usr/bin/2to3 to prevent conflicts with python3-2to3

Without this change, it is impossible to have both python-base and python3-2to3 as buildrequires in the same spec file (OBS will return an error).  This makes it impossible to build both python2 and python3 versions of many packages in the same spec file.

This should really not be in python-base anyway, since it is used by software that is going to be running on python3, not by software running on python2.  

This will only fix builds on opensuse-factory, I don't  know the best way to fix this for earlier versions of openSUSE.

OBS-URL: https://build.opensuse.org/request/show/96388
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=111
This commit is contained in:
Jan Matejek 2012-01-04 16:23:21 +00:00 committed by Git OBS Bridge
parent b7be09f0cb
commit 65a1b0a277
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 12 13:39:57 UTC 2011 - toddrme2178@gmail.com
- Exclude /usr/bin/2to3 to prevent conflicts with python3-2to3
-------------------------------------------------------------------
Thu Dec 8 13:31:01 UTC 2011 - jmatejek@suse.com

View File

@ -362,9 +362,9 @@ cp Makefile Makefile.pre.in Makefile.pre %{buildroot}%{_libdir}/python%{python_v
%endif
%attr(755, root, root) %{_bindir}/pydoc
%attr(755, root, root) %{_bindir}/python
%attr(755, root, root) %{_bindir}/2to3
%attr(755, root, root) %{_bindir}/python%{python_version}
%attr(755, root, root) %{_bindir}/smtpd.py
%{_bindir}/python2
%exclude %{_bindir}/2to3
%changelog