Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-xkbcommon for
openSUSE:Factory checked in at 2023-02-14 16:45:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xkbcommon (Old)
and /work/SRC/openSUSE:Factory/.python-xkbcommon.new.27156 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xkbcommon"
Tue Feb 14 16:45:09 2023 rev:2 rq:1065605 version:0.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xkbcommon/python-xkbcommon.changes
2022-07-15 13:53:21.135580367 +0200
+++
/work/SRC/openSUSE:Factory/.python-xkbcommon.new.27156/python-xkbcommon.changes
2023-02-14 16:45:27.178453462 +0100
@@ -1,0 +2,25 @@
+Mon Feb 13 12:47:46 UTC 2023 - Dominique Leuenberger <[email protected]>
+
+- Fix source URL to actually refer to the current version.
+
+-------------------------------------------------------------------
+Sun Feb 12 00:12:50 UTC 2023 - Soc Virnyl Estela <[email protected]>
+
+- Remove fix-xkbcommon-paths.patch
+
+-------------------------------------------------------------------
+Sat Feb 4 14:19:32 UTC 2023 - Soc Virnyl Estela <[email protected]>
+
+- Use pkg-config and %optflags macro for CFLAGS.
+
+-------------------------------------------------------------------
+Sat Feb 4 14:04:48 UTC 2023 - Soc Virnyl Estela <[email protected]>
+
+- Update to version 0.8:
+ * Add API from libxkbcommon versions:
+ - 0.6
+ - 0.7
+ - 0.8
+ * Enable python3.11 compatibility
+
+-------------------------------------------------------------------
Old:
----
fix-xkbcommon-paths.patch
xkbcommon-0.4.tar.gz
New:
----
python-xkbcommon-0.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-xkbcommon.spec ++++++
--- /var/tmp/diff_new_pack.45doT3/_old 2023-02-14 16:45:28.410460736 +0100
+++ /var/tmp/diff_new_pack.45doT3/_new 2023-02-14 16:45:28.414460760 +0100
@@ -1,7 +1,7 @@
#
-# spec file for python3-xkbcommon
+# 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,21 +19,22 @@
%bcond_without test
%define pyname xkbcommon
Name: python-%{pyname}
-Version: 0.4
+Version: 0.8
Release: 0
Summary: Python bindings for libxkbcommon using cffi
License: MIT
Group: Development/Libraries/Python
URL: https://github.com/sde1000/python-xkbcommon
-Source0:
https://files.pythonhosted.org/packages/source/x/xkbcommon/%{pyname}-0.4.tar.gz
-Patch0: fix-xkbcommon-paths.patch
-BuildRequires: fdupes
-BuildRequires: python-rpm-macros
-BuildRequires: %{python_module devel}
+Source0:
https://files.pythonhosted.org/packages/source/x/xkbcommon/%{pyname}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# Patch0: fix-xkbcommon-paths.patch
BuildRequires: %{python_module cffi}
+BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
+BuildRequires: fdupes
+BuildRequires: pkg-config
+BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(xkbcommon)
%python_subpackages
@@ -42,7 +43,7 @@
%prep
%setup -q -n %{pyname}-%{version}
-%patch0 -p1
+#%%patch0 -p1
%build
export CFLAGS="-I/usr/include/libxkbcommon ${CFLAGS}"
@@ -50,14 +51,14 @@
%python_build
%install
-export CFLAGS="-I/usr/include/libxkbcommon ${CFLAGS}"
+export CFLAGS="%optflags $(pkg-config --cflags xkbcommon)"
%python_install
%{python_expand %fdupes %{buildroot}%{$python_sitearch}}
%if %{with test}
%check
-export CFLAGS="-I/usr/include/libxkbcommon ${CFLAGS}"
+export CFLAGS="%optflags $(pkg-config --cflags xkbcommon)"
export LC_TYPE=en_US.UTF-8
export PYTHONPATH="%{buildroot}%{python3_sitearch}/%{pyname}:${PYTHONPATH}"
export PYTHONDONTWRITEBYTECODE=1