- 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

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e97332c9ce444b0c2c38dd22ddc61c743eb208d916e4265a2a3b575bdccb1d3
size 18938

3
MarkupSafe-1.1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b
size 19151

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 5 16:46:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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)
-------------------------------------------------------------------
Thu Feb 21 16:13:28 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

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