14
0

Accepting request 730983 from home:jayvdb:py3only

- Use python_expand in %build to allow building only a single flavour

OBS-URL: https://build.opensuse.org/request/show/730983
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Logbook?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal
2019-09-16 07:36:48 +00:00
committed by Git OBS Bridge
parent 3d9f5feac9
commit 9f12860d1e
2 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 14 15:30:16 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Use python_expand in %build to allow building only a single flavour
-------------------------------------------------------------------
Tue Mar 5 16:39:48 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -60,11 +60,10 @@ sed -i 's/\r$//' LICENSE
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
cython-%{python2_version} logbook/_speedups.pyx
%python2_build
%{python_expand cython-%{$python_version} logbook/_speedups.pyx
%{$python_build}
rm logbook/_speedups.c
cython-%{python3_version} logbook/_speedups.pyx
%python3_build
}
%install
%python_install