15
0

- Update to 1.1.1:

* Fix segfault when __html__ method raises an exception when using the C speedups. The exception is now propagated correctly. (#109)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MarkupSafe?expand=0&rev=28
This commit is contained in:
Tomáš Chvátal
2019-03-05 16:47:33 +00:00
committed by Git OBS Bridge
parent 1c982ea5d3
commit b07e8d02bd
4 changed files with 12 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-MarkupSafe
Version: 1.1.0
Version: 1.1.1
Release: 0
URL: https://github.com/pallets/markupsafe
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
@@ -29,6 +29,7 @@ Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/Mark
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%ifpython2
Provides: %{oldpython}-markupsafe = %{version}
@@ -51,6 +52,7 @@ export CFLAGS="%{optflags}"
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_expand rm %{buildroot}%{$python_sitearch}/markupsafe/_speedups.c
%check