From cf764ec0831e23276891cf03fcda408f597b6fab Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Fri, 5 Apr 2019 15:09:28 -0400 Subject: [PATCH] adding a python3-jaraco subpackage --- python-jaraco-packaging.spec | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/python-jaraco-packaging.spec b/python-jaraco-packaging.spec index 1348127..ba7f9ac 100644 --- a/python-jaraco-packaging.spec +++ b/python-jaraco-packaging.spec @@ -7,7 +7,7 @@ Name: python-%{pkg_name} Version: 6.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tools to supplement packaging Python releases License: MIT @@ -21,9 +21,17 @@ dependency tree as resolved by setup-tools. Use after installing a package.show A dist-utils command for reporting the attributes of a distribution, such as the version or author name. +%package -n python3-jaraco +Summary: A Parent package for jaraco's parent dir and init file. +BuildRequires: python3-devel +%{?python_provide:%python_provide python3-jaraco} + +%description -n python3-jaraco +A Parent package for jaraco's parent dir and init file. + %package -n python3-%{pkg_name} Summary: %{summary} -BuildRequires: python3-devel +#BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3-setuptools_scm >= 1.15.0 BuildRequires: python3dist(six) >= 1.4 @@ -33,6 +41,7 @@ BuildRequires: python3dist(six) >= 1.4 %{description} Requires: python3dist(rst-linker) +Requires: python3dist(jaraco) Requires: python3dist(six) >= 1.4 Requires: python3dist(setuptools) @@ -67,13 +76,18 @@ rm -rf html/.{doctrees,buildinfo} %check %{__python3} setup.py test +%files -n python3-jaraco +%license LICENSE +%doc README.rst +%{python3_sitelib}/jaraco +%exclude %{python3_sitelib}/jaraco/packaging + %files -n python3-%{pkg_name} %license LICENSE %doc README.rst %{_bindir}/upload-package -%{_bindir}/upload-package %{_bindir}/dependency-tree -%{python3_sitelib}/jaraco +%{python3_sitelib}/jaraco/packaging %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %if %{with docs} @@ -83,6 +97,8 @@ rm -rf html/.{doctrees,buildinfo} %endif %changelog +* Fri Apr 05 2019 Dan Radez - 6.1-3 +- adding python-jaraco subpackage. * Fri Apr 05 2019 Dan Radez - 6.1-2 - adding py3 subpackage. * Tue Apr 02 2019 Dan Radez - 6.1-1