Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Newton
python-ovs
python-ovs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-ovs.spec of Package python-ovs
# # spec file for package python-ovs # # Copyright (c) 2018 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 https://bugs.opensuse.org/ # Name: python-ovs Version: 2.5.0 Release: 0 Summary: Open vSwitch library License: Apache-2.0 Group: Development/Languages/Python Url: http://www.openvswitch.org/ Source: https://pypi.io/packages/source/o/ovs/ovs-%{version}.tar.gz Patch0: use-standard-json-lib.patch Patch1: ovs-headers.patch Patch2: 0001-Add-optional-C-extension-wrapper-for-Python-JSON-par.patch %if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120300 ) BuildRequires: openvswitch-devel %endif BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Python library for working with Open vSwitch %prep %setup -q -n ovs-%{version} %patch0 -p1 %if 0%{?suse_version} == 1315 && 0%{?sle_version} == 120200 %patch1 %patch2 -p1 %endif %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc README.rst %if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} > 120300 ) %{python_sitearch}/* %else %{python_sitelib}/* %endif %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