From 018a0355d5fd6b8245e9e92cb918d6b716896f16643d19bc4384e93e181ea29a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Wed, 29 Nov 2017 17:17:08 +0000 Subject: [PATCH] Accepting request 546496 from home:cbosdonnat:branches:Virtualization - Get rid of python2 dependency on python3 package OBS-URL: https://build.opensuse.org/request/show/546496 OBS-URL: https://build.opensuse.org/package/show/Virtualization/python-libvirt-python?expand=0&rev=14 --- python-libvirt-python.changes | 5 +++++ python-libvirt-python.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/python-libvirt-python.changes b/python-libvirt-python.changes index 9d4d676..d3e9dc8 100644 --- a/python-libvirt-python.changes +++ b/python-libvirt-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 29 16:41:50 UTC 2017 - cbosdonnat@suse.com + +- Get rid of python2 dependency on python3 package + ------------------------------------------------------------------- Thu Nov 2 20:47:56 UTC 2017 - jfehlig@suse.com diff --git a/python-libvirt-python.spec b/python-libvirt-python.spec index ec9a790..62b27e5 100644 --- a/python-libvirt-python.spec +++ b/python-libvirt-python.spec @@ -50,6 +50,11 @@ of recent versions of Linux (v2.6.20+). %prep %setup -q -n %{srcname}-%{version} +# Unset execute bit for example scripts; it can introduce spurious +# RPM dependencies, like /usr/bin/python which can pull in python2 +# for the -python3 package +find examples -type f -exec chmod 0644 \{\} \; + %build export CFLAGS="%{optflags}" %python_build