From b07e8d02bde9e613e307cd8f4917e28e42717a6a4127fc5d481057cba44fa5e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 5 Mar 2019 16:47:33 +0000 Subject: [PATCH] - 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 --- MarkupSafe-1.1.0.tar.gz | 3 --- MarkupSafe-1.1.1.tar.gz | 3 +++ python-MarkupSafe.changes | 6 ++++++ python-MarkupSafe.spec | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 MarkupSafe-1.1.0.tar.gz create mode 100644 MarkupSafe-1.1.1.tar.gz diff --git a/MarkupSafe-1.1.0.tar.gz b/MarkupSafe-1.1.0.tar.gz deleted file mode 100644 index 0cc0896..0000000 --- a/MarkupSafe-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4e97332c9ce444b0c2c38dd22ddc61c743eb208d916e4265a2a3b575bdccb1d3 -size 18938 diff --git a/MarkupSafe-1.1.1.tar.gz b/MarkupSafe-1.1.1.tar.gz new file mode 100644 index 0000000..7f91ce7 --- /dev/null +++ b/MarkupSafe-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b +size 19151 diff --git a/python-MarkupSafe.changes b/python-MarkupSafe.changes index 436e4ff..b2afa42 100644 --- a/python-MarkupSafe.changes +++ b/python-MarkupSafe.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 16:46:50 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-MarkupSafe.spec b/python-MarkupSafe.spec index e076d82..3f1806e 100644 --- a/python-MarkupSafe.spec +++ b/python-MarkupSafe.spec @@ -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