SHA256
1
0
forked from pool/libglvnd

Accepting request 561472 from openSUSE:Factory:Staging:O

- Make sure to use only python3 for the build and do not rely
  on env calls for python

OBS-URL: https://build.opensuse.org/request/show/561472
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libglvnd?expand=0&rev=19
This commit is contained in:
Michal Srb 2018-01-04 07:45:46 +00:00 committed by Git OBS Bridge
parent 4f2e55c07b
commit c79bb0ed82
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 3 20:48:01 UTC 2018 - tchvatal@suse.com
- Make sure to use only python3 for the build and do not rely
on env calls for python
-------------------------------------------------------------------
Mon Aug 14 13:35:51 UTC 2017 - msrb@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libglvnd
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -34,8 +34,8 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python-xml
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: pkgconfig(glproto)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
@ -61,17 +61,19 @@ OpenGL ABI proposal. This package contains the required files for
development.
%prep
%setup -q -n %name-%version
%setup -q
%patch1 -p1
# fix env shebang to call py3 directly
sed -i -e "1s|#!.*|#!/usr/bin/python3|" src/generate/*.py
%build
./autogen.sh
%configure \
%if 0%{?suse_version} < 1330
--libdir=/usr/X11R6/%_lib \
--libdir=/usr/X11R6/%_lib \
%endif
--disable-static
--disable-static \
--disable-silent-rules
make %{?_smp_mflags}
%install