Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pywlroots for 
openSUSE:Factory checked in at 2023-02-12 19:14:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pywlroots (Old)
 and      /work/SRC/openSUSE:Factory/.python-pywlroots.new.1848 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pywlroots"

Sun Feb 12 19:14:18 2023 rev:5 rq:1064439 version:0.15.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pywlroots/python-pywlroots.changes        
2022-12-12 17:42:17.029990107 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pywlroots.new.1848/python-pywlroots.changes  
    2023-02-12 19:14:20.405047590 +0100
@@ -1,0 +2,10 @@
+Sun Feb 12 00:14:15 UTC 2023 - Soc Virnyl Estela <[email protected]>
+
+- Remove fix-include-paths.patch
+
+-------------------------------------------------------------------
+Sat Feb  4 15:21:44 UTC 2023 - Soc Virnyl Estela <[email protected]>
+
+- Use pkg-config and %optflags for CFLAGS.
+
+-------------------------------------------------------------------

Old:
----
  fix-include-paths.patch

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

Other differences:
------------------
++++++ python-pywlroots.spec ++++++
--- /var/tmp/diff_new_pack.GuCpkf/_old  2023-02-12 19:14:20.769049821 +0100
+++ /var/tmp/diff_new_pack.GuCpkf/_new  2023-02-12 19:14:20.777049870 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pywlroots
 #
-# 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
@@ -26,7 +26,7 @@
 URL:            https://github.com/flacjacket/pywlroots
 Source0:        
https://files.pythonhosted.org/packages/source/p/pywlroots/pywlroots-%{version}.tar.gz
 Source1:        python-pywlroots-rpmlintrc
-Patch0:         fix-include-paths.patch
+# Patch0:         fix-include-paths.patch
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module distutils-extra}
@@ -54,15 +54,15 @@
 
 %prep
 %setup -q -n pywlroots-%{version}
-%patch0 -p1
+#%%patch0 -p1
 
 %build
-export CFLAGS="-I/usr/include/wayland -I/usr/include/libdrm 
-I/usr/include/libxkbcommon -I/usr/include/pixman-1 -I/usr/include/libinput 
$CFLAGS"
+export CFLAGS="%optflags $(pkg-config --cflags wayland-client xkbcommon 
pixman-1 libinput libdrm)"
 %python_exec wlroots/ffi_build.py
 %pyproject_wheel
 
 %install
-export CFLAGS="-I/usr/include/wayland -I/usr/include/libdrm 
-I/usr/include/libxkbcommon -I/usr/include/pixman-1 -I/usr/include/libinput 
$CFLAGS"
+export CFLAGS="%optflags $(pkg-config --cflags wayland-client xkbcommon 
pixman-1 libinput libdrm)"
 %python_exec wlroots/ffi_build.py
 %pyproject_install
 
@@ -70,7 +70,7 @@
 
 %if %{with test}
 %check
-export CFLAGS="-I/usr/include/wayland -I/usr/include/libdrm 
-I/usr/include/libxkbcommon -I/usr/include/pixman-1 -I/usr/include/libinput 
$CFLAGS"
+export CFLAGS="%optflags $(pkg-config --cflags wayland-client xkbcommon 
pixman-1 libinput libdrm)"
 %pytest -vv
 %endif
 

Reply via email to