Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pywayland for
openSUSE:Factory checked in at 2023-02-12 19:14:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pywayland (Old)
and /work/SRC/openSUSE:Factory/.python-pywayland.new.1848 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pywayland"
Sun Feb 12 19:14:18 2023 rev:3 rq:1064397 version:0.4.15
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pywayland/python-pywayland.changes
2022-08-27 11:50:49.745938328 +0200
+++
/work/SRC/openSUSE:Factory/.python-pywayland.new.1848/python-pywayland.changes
2023-02-12 19:14:19.597042635 +0100
@@ -1,0 +2,13 @@
+Sat Feb 4 15:10:50 UTC 2023 - Soc Virnyl Estela <[email protected]>
+
+- Use pkg-config and %optflags to set CFLAGS.
+
+-------------------------------------------------------------------
+Mon Jan 30 12:58:20 UTC 2023 - Soc Virnyl Estela <[email protected]>
+
+- Update 0.4.15:
+ * Addressed CVE-2007-4559
+ * Fix bug in protocols generated with latest version of wayland-protocols
+ * Bump version of wayland-protocols in release and in CI to 1.31
+
+-------------------------------------------------------------------
Old:
----
pywayland-0.4.14.tar.gz
New:
----
pywayland-0.4.15.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pywayland.spec ++++++
--- /var/tmp/diff_new_pack.ye6vr7/_old 2023-02-12 19:14:20.153046046 +0100
+++ /var/tmp/diff_new_pack.ye6vr7/_new 2023-02-12 19:14:20.157046070 +0100
@@ -1,7 +1,7 @@
#
# spec file
#
-# Copyright (c) 2022 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
@@ -19,7 +19,7 @@
%bcond_without test
%define pyname pywayland
Name: python-%{pyname}
-Version: 0.4.14
+Version: 0.4.15
Release: 0
Summary: Python binding to the wayland library using cffi
License: NCSA
@@ -35,6 +35,7 @@
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
+BuildRequires: pkg-config
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(wayland-client) >= 1.21
@@ -52,12 +53,12 @@
%patch0 -p1
%build
-export CFLAGS="-I/usr/include/wayland ${CFLAGS}"
+export CFLAGS="%optflags $(pkg-config --cflags wayland-client)"
%python_exec pywayland/ffi_build.py
%python_build
%install
-export CFLAGS="-I/usr/include/wayland ${CFLAGS}"
+export CFLAGS="%optflags $(pkg-config --cflags wayland-client)"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
@@ -66,9 +67,9 @@
%if %{with test}
%check
+export CFLAGS="%optflags $(pkg-config --cflags wayland-client)"
mkdir -p %{buildroot}/fake-xdg-runtime-dir
export XDG_RUNTIME_DIR=%{buildroot}/fake-xdg-runtime-dir
-export CFLAGS="-I/usr/include/wayland ${CFLAGS}"
%python_exec -m pywayland.scanner
%pytest -vv
rm -rfv ${XDG_RUNTIME_DIR}
++++++ pywayland-0.4.14.tar.gz -> pywayland-0.4.15.tar.gz ++++++
++++ 1704 lines of diff (skipped)