remove sed . to _

epel8
Dan Radez 5 years ago
parent 61977991d2
commit 01d937fbd7

@ -6,7 +6,7 @@
Name: python-%{pkg_name}
Version: 2.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Utility functions for Python class constructs
License: MIT
@ -51,8 +51,6 @@ Documentation for jaraco-classes
%autosetup -n jaraco.classes-%{version}
# Remove bundled egg-info
rm -rf %{pkg_name}.egg-info
# rename package to use a -
sed -i 's/%{pypi_name}/%{pkg_name}/' setup.cfg
# disable flake8 in the tests, need a newer version of pytest-flake8
# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2
# AttributeError: 'Application' object has no attribute 'make_notifier'
@ -80,7 +78,7 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build
%exclude %{python3_sitelib}/jaraco/__init__*
%exclude %{python3_sitelib}/jaraco/__pycache__/__init__*
%{python3_sitelib}/jaraco
%{python3_sitelib}/jaraco_classes-%{version}-py?.?.egg-info
%{python3_sitelib}/jaraco.classes-%{version}-py?.?.egg-info
%if %{with docs}
%files -n python-%{pkg_name}-doc
@ -89,6 +87,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build
%endif
%changelog
* Tue Aug 22 2019 Dan Radez <dradez@redhat.com> - 2.0-5
- Removing the sed . to _ it's confusing and not needed
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0-4
- Rebuilt for Python 3.8

Loading…
Cancel
Save