Run test suite

epel9
Carl George 2 years ago
parent 97a59c22b7
commit c68e6b9057

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

Loading…
Cancel
Save