Use test dependencies without version locks

epel9
Lumir Balhar 4 years ago
parent 15c2eeba3e
commit 230d1a3c7f

@ -2,7 +2,7 @@
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 8.0.1 Version: 8.0.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Simple wrapper around optparse for powerful command line utilities Summary: Simple wrapper around optparse for powerful command line utilities
License: BSD License: BSD
@ -28,6 +28,8 @@ BuildRequires: pyproject-rpm-macros
%prep %prep
%autosetup -n %{pypi_name}-%{version} -p1 %autosetup -n %{pypi_name}-%{version} -p1
# Use test dependencies without version locks
sed -i 's|requirements/tests.txt|requirements/tests.in|' tox.ini
%generate_buildrequires %generate_buildrequires
%pyproject_buildrequires -t %pyproject_buildrequires -t
@ -47,6 +49,9 @@ BuildRequires: pyproject-rpm-macros
%doc README.rst CHANGES.rst %doc README.rst CHANGES.rst
%changelog %changelog
* Thu Jul 08 2021 Lumír Balhar <lbalhar@redhat.com> - 8.0.1-2
- Use test dependencies without version locks
* Tue Jun 22 2021 Lumír Balhar <lbalhar@redhat.com> - 8.0.1-1 * Tue Jun 22 2021 Lumír Balhar <lbalhar@redhat.com> - 8.0.1-1
- Update to 8.0.1 - Update to 8.0.1
Resolves: rhbz#1901659 Resolves: rhbz#1901659

Loading…
Cancel
Save