Run test suite
This commit is contained in:
parent
fa45528a17
commit
ae944a63bf
1 changed files with 8 additions and 4 deletions
|
|
@ -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> - 2.1.2-3
|
||||
- Convert to pyproject macros
|
||||
- Run test suite
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue