17
0

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
This commit is contained in:
Cédric Bosdonnat
2017-11-29 17:17:08 +00:00
committed by Git OBS Bridge
parent fc6c6a55aa
commit 018a0355d5
2 changed files with 10 additions and 0 deletions

View File

@@ -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