diff --git a/.gitignore b/.gitignore index 1d0073d..ee43cbf 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ MarkupSafe-0.9.2.tar.gz /MarkupSafe-1.0.tar.gz /MarkupSafe-1.1.0.tar.gz /MarkupSafe-1.1.1.tar.gz +/MarkupSafe-2.0.0.tar.gz diff --git a/python-markupsafe.spec b/python-markupsafe.spec index 0a782cd..8df7200 100644 --- a/python-markupsafe.spec +++ b/python-markupsafe.spec @@ -1,6 +1,6 @@ Name: python-markupsafe -Version: 1.1.1 -Release: 11%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Implements a XML/HTML/XHTML Markup safe string for Python License: BSD URL: https://pypi.org/project/MarkupSafe/ @@ -16,6 +16,8 @@ A library for safe markup escaping. Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3 BuildRequires: python3-devel BuildRequires: python3dist(setuptools) +# Test dependencies +BuildRequires: python3dist(pytest) %{?python_provide:%python_provide python3-markupsafe} %description -n python3-markupsafe @@ -37,7 +39,7 @@ rm %{buildroot}%{python3_sitearch}/markupsafe/*.c %check -%{__python3} setup.py test +%pytest %files -n python3-markupsafe @@ -48,6 +50,10 @@ rm %{buildroot}%{python3_sitearch}/markupsafe/*.c %changelog +* Tue Jun 22 2021 Lumír Balhar - 2.0.0-1 +- Update to 2.0.0 +Resolves: rhbz#1823024 + * Wed Jun 02 2021 Python Maint - 1.1.1-11 - Rebuilt for Python 3.10 diff --git a/sources b/sources index b58a3ff..ddfce08 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (MarkupSafe-1.1.1.tar.gz) = f3014e6131a3ab866914c5635b5397ef71906bffb1b6f8c5f2ed2acf167429ff7914236d38943e872683a57a9be9669f4c5aace6274f3307ab21ef25373db0b6 +SHA512 (MarkupSafe-2.0.0.tar.gz) = 260121db97178d5903645c9d1fd38c5d7c7a5bcd31a8def1d5a921328ff86ad025bf62d73734434a7920a00024ff8c0898352f7406713af51051e750b5df7cab