Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/python-py.git#7c6186d6729b30a49edb1cd7a20d84e50bfc3a25
This commit is contained in:
DistroBaker 2021-02-05 02:17:29 +01:00
parent 63a95cff69
commit de05b2e4cd

View File

@ -16,7 +16,7 @@
Name: python-%{srcname}
Version: 1.10.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
License: MIT and Public Domain
# main package: MIT, except: doc/style.css: Public Domain
@ -46,6 +46,7 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%if %{with docs}
BuildRequires: make
BuildRequires: %{_bindir}/sphinx-build
%endif # with_docs
%if %{with tests}
@ -89,6 +90,11 @@ rm -rf doc/_build/html/.buildinfo
%install
%py3_install
# Remove bundled dist/egg-info directories, they shouldn't be shipped for
# bundled modules and in some cases they could confuse automatic generators
# that read the dist/egg-info data.
rm -rf %{buildroot}%{python3_sitelib}/py/_vendored_packages/*.{dist,egg}-info
%check
%if %{with tests}
@ -110,6 +116,9 @@ py.test-%{python3_version} -r s -k"-TestWCSvnCommandPath" testing
%changelog
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Dec 26 2020 Thomas Moschny <thomas.moschny@gmx.de> - 1.10.0-1
- Update to 1.10.0.