adding a python3-jaraco subpackage

epel8
Dan Radez 6 years ago
parent 28874d9f7a
commit cf764ec083

@ -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 <dradez@redhat.com> - 6.1-3
- adding python-jaraco subpackage.
* Fri Apr 05 2019 Dan Radez <dradez@redhat.com> - 6.1-2
- adding py3 subpackage.
* Tue Apr 02 2019 Dan Radez <dradez@redhat.com> - 6.1-1

Loading…
Cancel
Save