[packages/python-webencodings] Rel 11; use python3-pynose for tests
arekm
arekm at pld-linux.org
Mon Mar 17 18:17:11 CET 2025
commit f05db03570d8a0e9a637c41ba1281e45688c06d0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 17 17:51:00 2025 +0100
Rel 11; use python3-pynose for tests
python-webencodings.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-webencodings.spec b/python-webencodings.spec
index 7f75a64..ff2b63b 100644
--- a/python-webencodings.spec
+++ b/python-webencodings.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_with tests # unit tests
+%bcond_without tests # unit tests
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
@@ -8,7 +8,7 @@ Summary: Character encoding aliases for legacy web content
Summary(pl.UTF-8): Aliasy kodowania znaków dla zastanych treści WWW
Name: python-webencodings
Version: 0.5.1
-Release: 10
+Release: 11
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/webencodings/
@@ -22,7 +22,7 @@ BuildRequires: python-setuptools
%endif
%if %{with python3}
BuildRequires: python3-modules >= 1:3.3
-%{?with_tests:BuildRequires: python3-nose}
+%{?with_tests:BuildRequires: python3-pynose}
BuildRequires: python3-setuptools
%endif
BuildRequires: rpm-pythonprov
@@ -108,7 +108,7 @@ implementacja kodowania i dekodowania pochodzi z Pythona.
%if %{with python3}
%py3_build
-%{?with_tests:nosetests-%{py3_ver}}
+%{?with_tests:nosetests}
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-webencodings.git/commitdiff/f05db03570d8a0e9a637c41ba1281e45688c06d0
More information about the pld-cvs-commit
mailing list