- obsolete/provide python-argparse and provide python2-argparse,

because the argparse module is available from python 2.7 up

- drop SUSE_ASNEEDED=0 as it is not needed anymore

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=206
This commit is contained in:
Jan Matejek 2017-08-28 13:29:37 +00:00 committed by Git OBS Bridge
parent acb48c1f8a
commit 0b843a9f57
4 changed files with 14 additions and 3 deletions

View File

@ -3,6 +3,12 @@ Thu Aug 17 08:58:02 CEST 2017 - kukuk@suse.de
- Add libnsl-devel build requires for glibc obsoleting libnsl - Add libnsl-devel build requires for glibc obsoleting libnsl
-------------------------------------------------------------------
Mon May 15 14:03:01 UTC 2017 - jmatejek@suse.com
- obsolete/provide python-argparse and provide python2-argparse,
because the argparse module is available from python 2.7 up
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 24 17:08:25 UTC 2017 - bwiedemann@suse.com Fri Feb 24 17:08:25 UTC 2017 - bwiedemann@suse.com

View File

@ -80,6 +80,9 @@ Obsoletes: python-64bit
%endif %endif
Provides: python-ctypes = 1.1.0 Provides: python-ctypes = 1.1.0
Obsoletes: python-ctypes < 1.1.0 Obsoletes: python-ctypes < 1.1.0
Provides: python-argparse = 1.4.0.1
Obsoletes: python-argparse < 1.4.0.1
Provides: python2-argparse = 1.4.0.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: python2-base = %{version} Provides: python2-base = %{version}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 28 13:28:46 UTC 2017 - jmatejek@suse.com
- drop SUSE_ASNEEDED=0 as it is not needed anymore
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 17 08:58:02 CEST 2017 - kukuk@suse.de Thu Aug 17 08:58:02 CEST 2017 - kukuk@suse.de

View File

@ -226,9 +226,6 @@ cp %{SOURCE8} Lib/
%endif %endif
%build %build
# necessary for correct linking with GDBM:
export SUSE_ASNEEDED=0
export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv" export OPT="%{optflags} -DOPENSSL_LOAD_CONF -fwrapv"
autoreconf -f -i . # Modules/_ctypes/libffi autoreconf -f -i . # Modules/_ctypes/libffi