From 764e52741f3ba4904e08e883992b5439b816272a Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Mon, 18 Jul 2022 11:00:53 +0900 Subject: [PATCH] Bump to python3-pbr 5.9.0 Change-Id: Iea5ecb516dcad07193724cbf4b35021055d937a4 --- packaging/python3-pbr.manifest | 5 ++++ packaging/python3-pbr.spec | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 packaging/python3-pbr.manifest create mode 100644 packaging/python3-pbr.spec diff --git a/packaging/python3-pbr.manifest b/packaging/python3-pbr.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/python3-pbr.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python3-pbr.spec b/packaging/python3-pbr.spec new file mode 100644 index 0000000..7011e4e --- /dev/null +++ b/packaging/python3-pbr.spec @@ -0,0 +1,48 @@ +Name: python3-pbr +Version: 5.9.0 +Release: 0 +Summary: Python Build Reasonableness +License: Apache-2.0 +Group: Development/Languages/Python +Url: http://pypi.python.org/pypi/pbr +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +Requires: python3-setuptools + +BuildArch: noarch + +%description +PBR is a library to automatically do a bunch of standard +things you want in your setup.py without you having to repeat +them every time. It will set versions, process requirements +files and generate AUTHORS and ChangeLog file all from git +information. + +%prep +%setup -q -n %{name}-%{version} +# Get rid of ugly build-time deps that require network: +sed -i "s/, 'sphinx\.ext\.intersphinx'//" doc/source/conf.py + +%build +cp %{SOURCE1001} . +%{_bindir}/python3 setup.py build + +%install +%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +# %check +# %{_bindir}/python3 %{_bindir}/testr init +# %{_bindir}/python3 %{_bindir}/testr run --parallel + +%files +%manifest %{name}.manifest +%license LICENSE +%{_bindir}/pbr +%{python3_sitelib}/pbr +%{python3_sitelib}/pbr-%{version}-py%{python3_version}.egg-info + +%changelog -- 2.34.1