From f057305eb057bdb050270b2c49068651d75066e6 Mon Sep 17 00:00:00 2001 From: TizenOpenSource Date: Thu, 28 Dec 2023 18:15:32 +0900 Subject: [PATCH] Bump to 5.11.1 Signed-off-by: TizenOpenSource --- 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..0ccc7c7 --- /dev/null +++ b/packaging/python3-pbr.spec @@ -0,0 +1,48 @@ +Name: python3-pbr +Version: 5.11.1 +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