From 1f2e2a144b2f066b65f081519fa6434af85c0fde6ce8b88e77e639850a8d8eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 12 Mar 2019 15:12:21 +0000 Subject: [PATCH] - Update to 1.0.7: * initialize regexp field to preven nullptr free - Run tests (switch to github tarball for them) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fb-re2?expand=0&rev=3 --- fb-re2-1.0.6.tar.gz | 3 --- python-fb-re2.changes | 7 +++++++ python-fb-re2.spec | 11 +++++++---- v1.0.7.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 7 deletions(-) delete mode 100644 fb-re2-1.0.6.tar.gz create mode 100644 v1.0.7.tar.gz diff --git a/fb-re2-1.0.6.tar.gz b/fb-re2-1.0.6.tar.gz deleted file mode 100644 index 50329d6..0000000 --- a/fb-re2-1.0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aca4d1f74b743c55efb11b88ba1b33b6d05f9b782219a341528c39c51a3ea971 -size 10355 diff --git a/python-fb-re2.changes b/python-fb-re2.changes index 00bd5f8..ef81603 100644 --- a/python-fb-re2.changes +++ b/python-fb-re2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 12 15:11:50 UTC 2019 - Tomáš Chvátal + +- Update to 1.0.7: + * initialize regexp field to preven nullptr free +- Run tests (switch to github tarball for them) + ------------------------------------------------------------------- Tue Dec 11 18:56:14 UTC 2018 - Thomas Bechtold diff --git a/python-fb-re2.spec b/python-fb-re2.spec index 3136ee0..5045523 100644 --- a/python-fb-re2.spec +++ b/python-fb-re2.spec @@ -1,7 +1,7 @@ # # spec file for package python-fb-re2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-fb-re2 -Version: 1.0.6 +Version: 1.0.7 Release: 0 Summary: Python wrapper for Google's RE2 License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/facebook/pyre2 -Source: https://files.pythonhosted.org/packages/source/f/fb-re2/fb-re2-%{version}.tar.gz +Source: https://github.com/facebook/pyre2/archive/v%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -38,7 +38,7 @@ BuildRequires: re2-devel Python wrapper for Google's RE2 %prep -%setup -q -n fb-re2-%{version} +%setup -q -n pyre2-%{version} %build export CFLAGS="%{optflags}" @@ -48,6 +48,9 @@ export CFLAGS="%{optflags}" %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%check +%python_exec setup.py test + %files %{python_files} %doc README.rst %license LICENSE diff --git a/v1.0.7.tar.gz b/v1.0.7.tar.gz new file mode 100644 index 0000000..ebd0ea4 --- /dev/null +++ b/v1.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:277a5ca0731c9e3f6c5996965380280117fb47e4091fe44d61bd417bcf401e02 +size 11684