From 00a1b77a1c03c3ff917d371402f2f1c4affb05bfac288c292726e88999489eb3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 23 Feb 2021 10:17:54 +0000 Subject: [PATCH] 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 --- python-pycxx.changes | 5 +++++ python-pycxx.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-pycxx.changes b/python-pycxx.changes index 5037fd3..45724c2 100644 --- a/python-pycxx.changes +++ b/python-pycxx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 22 14:51:18 UTC 2021 - Markéta Machová + +- Drop broken %ifpython3 macro + ------------------------------------------------------------------- Wed Jan 20 10:40:18 UTC 2021 - John Vandenberg diff --git a/python-pycxx.spec b/python-pycxx.spec index 8a8b3fe..cb5b57b 100644 --- a/python-pycxx.spec +++ b/python-pycxx.spec @@ -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