14
0
forked from pool/python-pycxx

Accepting request 874355 from home:mcalabkova:branches:devel:languages:python

- Drop broken %ifpython3 macro

OBS-URL: https://build.opensuse.org/request/show/874355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycxx?expand=0&rev=11
This commit is contained in:
2021-02-23 10:17:54 +00:00
committed by Git OBS Bridge
parent fc4218cfc9
commit 00a1b77a1c
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 22 14:51:18 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Drop broken %ifpython3 macro
-------------------------------------------------------------------
Wed Jan 20 10:40:18 UTC 2021 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycxx
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -78,10 +78,10 @@ of Python extension modules in C++.
%build
%python_build
%ifpython3
rm -r Doc/Python2 && mv Doc/Python3 Doc/Python
%else
%ifpython2
rm -r Doc/Python3 && mv Doc/Python2 Doc/Python
%else
rm -r Doc/Python2 && mv Doc/Python3 Doc/Python
%endif
%install