Bump to python3-pbr 5.9.0 96/277996/1 accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_8.0_base sandbox/backup/python3-pbr_5.9.0_20231228 sandbox/dh0128.kwak/python3-pbr-5.9.0-20220718 tizen_7.0_base tizen_7.0_base_hotfix tizen_8.0_base accepted/tizen/7.0/base/20221116.025729 accepted/tizen/7.0/base/hotfix/20221116.055137 accepted/tizen/8.0/base/20231005.045159 accepted/tizen/base/20220725.042916 accepted/tizen/base/20221115.103559 accepted/tizen/base/dev/20230602.080622 submit/tizen_base/20220719.051045 submit/tizen_base/20220719.051523 tizen_7.0_m2_release tizen_8.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 02:00:53 +0000 (11:00 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 02:01:16 +0000 (11:01 +0900)
Change-Id: Iea5ecb516dcad07193724cbf4b35021055d937a4

packaging/python3-pbr.manifest [new file with mode: 0644]
packaging/python3-pbr.spec [new file with mode: 0644]

diff --git a/packaging/python3-pbr.manifest b/packaging/python3-pbr.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python3-pbr.spec b/packaging/python3-pbr.spec
new file mode 100644 (file)
index 0000000..7011e4e
--- /dev/null
@@ -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