Accepting request 304131 from home:Nijel:branches:devel:languages:python

- Disable testsuite as this causes build cycle

OBS-URL: https://build.opensuse.org/request/show/304131
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=75
This commit is contained in:
Michal Čihař 2015-04-27 07:26:50 +00:00 committed by Git OBS Bridge
parent 02eacb1285
commit 410459c14d
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 27 07:04:26 UTC 2015 - mcihar@suse.cz
- Disable testsuite as this causes build cycle
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 22 09:45:17 UTC 2015 - tbechtold@suse.com Wed Apr 22 09:45:17 UTC 2015 - tbechtold@suse.com

View File

@ -33,9 +33,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-xml BuildRequires: python-xml
# for tests # for tests
BuildRequires: python-mock #BuildRequires: python-mock
BuildRequires: python-pytest #BuildRequires: python-pytest
BuildRequires: python-pytest-runner #BuildRequires: python-pytest-runner
# needed for SLE # needed for SLE
Requires: python Requires: python
Requires: python-xml Requires: python-xml
@ -75,8 +75,9 @@ touch %{buildroot}%{_sysconfdir}/alternatives/easy_install
ln -sf %{_sysconfdir}/alternatives/easy_install %{buildroot}/%{_bindir}/easy_install ln -sf %{_sysconfdir}/alternatives/easy_install %{buildroot}/%{_bindir}/easy_install
%check %check
export LANG="en_US.UTF-8" # Can not run testsuite as this introduces build cycle
python setup.py ptr --addopts='-rxs' #export LANG="en_US.UTF-8"
#python setup.py ptr --addopts='-rxs'
%post %post
update-alternatives \ update-alternatives \