Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:xen-4.6
libvirt-python
_service:set_version:libvirt-python.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:libvirt-python.spec of Package libvirt-python
# # spec file for package libvirt-python # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define skip_python2 1 %{?!python_module:%define python_module() python3-%{**}} Name: libvirt-python Version: 20240501T080953.205cdbb Release: 0 Summary: Library providing a simple virtualization API License: LGPL-2.1-or-later Group: Development/Languages/Python URL: https://libvirt.org/downloads.html Source0: %{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: pkgconfig(libvirt) BuildRequires: pkgconfig(python3) > 3.5 BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} %python_subpackages %description The libvirt-python package contains a module that permits applications written in the Python programming language to use the interface supplied by the libvirt library to use the virtualization capabilities of recent versions of Linux (and other OSes). %prep %setup -q %build # 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 -c 0644 '{}' + export CFLAGS="%{optflags}" %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %files %{python_files} %doc examples/ %{python_sitearch}/* %pycache_only %{python_sitearch}/__pycache__/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor