Accepting request 1180145 from home:dgarcia:branches:X11:XOrg

- Fix python3 shebang in source python script to use specific python
  interpreter and remove dependency on /usr/bin/python3
  (bsc#1212476)

OBS-URL: https://build.opensuse.org/request/show/1180145
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=887
This commit is contained in:
Stefan Dirsch 2024-06-12 13:13:51 +00:00 committed by Git OBS Bridge
parent 7cf27825ed
commit 2465782129
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jun 12 09:08:15 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Fix python3 shebang in source python script to use specific python
interpreter and remove dependency on /usr/bin/python3
(bsc#1212476)
-------------------------------------------------------------------
Wed Apr 10 13:20:43 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -62,6 +62,7 @@ BuildRequires: bison
BuildRequires: flex
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(bigreqsproto) >= 1.1.0
BuildRequires: pkgconfig(compositeproto)
@ -146,7 +147,7 @@ Requires: libpixman-1-0 >= 0.24
Requires: Mesa
%if 0%{?suse_version} >= 1315
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%endif
Provides: xorg-x11-server-glx
Obsoletes: xorg-x11-server-glx
@ -525,6 +526,8 @@ rm -f %{buildroot}/usr/src/xserver/config/fdi2iclass.py
chmod 0755 %{buildroot}/usr/src/xserver/config.guess
chmod 0755 %{buildroot}/usr/src/xserver/config.sub
chmod 0755 %{buildroot}/usr/src/xserver/install-sh
# Fix python shebang, use specific python version to do not depend on /usr/bin/python3
%{?python3_fix_shebang_path:%python3_fix_shebang_path %{buildroot}/usr/src/xserver/hw/xwin/glx/gen_gl_wrappers.py}
%post
%tmpfiles_create xkb.conf