Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fb-re2 for openSUSE:Factory 
checked in at 2023-08-03 17:30:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fb-re2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-fb-re2.new.22712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fb-re2"

Thu Aug  3 17:30:42 2023 rev:4 rq:1102151 version:1.0.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fb-re2/python-fb-re2.changes      
2021-05-19 17:49:55.841396111 +0200
+++ /work/SRC/openSUSE:Factory/.python-fb-re2.new.22712/python-fb-re2.changes   
2023-08-03 17:30:51.952156570 +0200
@@ -1,0 +2,6 @@
+Thu Aug  3 11:02:39 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Add cpp17.patch to build in newer version of absl
+  gh#facebook/pyre2#25
+
+-------------------------------------------------------------------

New:
----
  cpp17.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-fb-re2.spec ++++++
--- /var/tmp/diff_new_pack.YVt04c/_old  2023-08-03 17:30:52.508159935 +0200
+++ /var/tmp/diff_new_pack.YVt04c/_new  2023-08-03 17:30:52.516159984 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fb-re2
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-fb-re2
 Version:        1.0.7
 Release:        0
@@ -25,6 +24,8 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/facebook/pyre2
 Source:         https://github.com/facebook/pyre2/archive/v%{version}.tar.gz
+# PATCH-FIX-UPSTREAM cpp17.patch gh#facebook/pyre2#25
+Patch0:         cpp17.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -38,7 +39,7 @@
 Python wrapper for Google's RE2
 
 %prep
-%setup -q -n pyre2-%{version}
+%autosetup -p1 -n pyre2-%{version}
 
 %build
 export CFLAGS="%{optflags}"
@@ -54,6 +55,9 @@
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitearch}/*
+%{python_sitearch}/_re2*.so
+%{python_sitearch}/re2.py
+%{python_sitearch}/fb_re2-%{version}*-info
+%pycache_only %{python_sitearch}/__pycache__
 
 %changelog

++++++ cpp17.patch ++++++
Index: pyre2-1.0.7/setup.py
===================================================================
--- pyre2-1.0.7.orig/setup.py
+++ pyre2-1.0.7/setup.py
@@ -21,6 +21,6 @@ setup(
     ext_modules = [Extension("_re2",
       sources = ["_re2.cc"],
       libraries = ["re2"],
-      extra_compile_args=['-std=c++11'],
+      extra_compile_args=['-std=c++17'],
       )],
     )

Reply via email to