Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:2024.1
python-pbr
python-pbr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pbr.spec of Package python-pbr
# # spec file for package python-pbr # # Copyright (c) 2024 SUSE LLC # # 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/ # %if 0%{?rhel} || 0%{?fedora} %global rdo 1 %endif Name: python-pbr Version: 6.0.0 Release: 0 Summary: Python Build Reasonableness License: Apache-2.0 Group: Development/Languages/Python URL: https://opendev.org/openstack/pbr Source0: https://files.pythonhosted.org/packages/source/p/pbr/pbr-6.0.0.tar.gz BuildRequires: openstack-macros BuildRequires: python311-setuptools BuildArch: noarch %description PBR is a library that injects some useful and sensible default behaviors into your setuptools run. It started off life as the chunks of code that were copied between all of the OpenStack projects. Around the time that OpenStack hit 18 different projects each with at least 3 active branches, it seems like a good time to make that code into a proper re-usable library. %package -n python311-pbr Summary: Python Build Reasonableness Requires: python311-setuptools %if 0%{?suse_version} > 1500 Obsoletes: python-pbr < %{version}-%{release} Obsoletes: python2-pbr < %{version}-%{release} %endif %description -n python311-pbr PBR is a library that injects some useful and sensible default behaviors into your setuptools run. It started off life as the chunks of code that were copied between all of the OpenStack projects. Around the time that OpenStack hit 18 different projects each with at least 3 active branches, it seems like a good time to make that code into a proper re-usable library. %package -n python-pbr-doc Summary: Documentation for the PBR BuildRequires: python311-Sphinx BuildRequires: python311-sphinxcontrib-apidoc %description -n python-pbr-doc Documentation for the PBR, a library that injects some useful and sensible default behaviors into your setuptools run. %prep %autosetup -p1 -n pbr-6.0.0 %py_req_cleanup %build export SKIP_PIP_INSTALL=1 %py3_build # generate html docs PYTHONPATH=$PWD PBR_VERSION=6.0.0 %sphinx_build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} %install %py3_install %files -n python311-pbr %{_bindir}/pbr %doc README.rst %license LICENSE %{python3_sitelib}/pbr %{python3_sitelib}/pbr-*-py?.*.egg-info %files -n python-pbr-doc %license LICENSE %doc doc/build/html %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