Run test suite

epel9
Carl George 2 years ago
parent 97a59c22b7
commit c68e6b9057

@ -35,9 +35,13 @@ BuildRequires: python3-devel
%prep
%autosetup -n waitress-%{version}-nodocs
sed -e '/pytest-cover/d' \
-e '/coverage/d' \
-e '/addopts/d' \
-i setup.cfg
%generate_buildrequires
%pyproject_buildrequires
%pyproject_buildrequires -x testing
%build
%pyproject_wheel
@ -46,9 +50,8 @@ BuildRequires: python3-devel
%pyproject_install
%pyproject_save_files waitress
#check
# disable checks for now as they fail trying to lookup localhost in koji.
#
%check
%pytest
%files -n python3-waitress -f %{pyproject_files}
%license COPYRIGHT.txt LICENSE.txt
@ -58,6 +61,7 @@ BuildRequires: python3-devel
%changelog
* Wed May 10 2023 Carl George <carl@george.computer> - 1.4.4-7
- Convert to pyproject macros
- Run test suite
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

Loading…
Cancel
Save