!21 [sync] PR-20: Remove unnecessary installation dependencies

Merge pull request !21 from openeuler-sync-bot/sync-pr20-openEuler-22.03-LTS-Next-to-master
This commit is contained in:
openeuler-ci-bot 2021-12-27 03:41:38 +00:00 committed by Gitee
commit 221776988d

View File

@ -1,6 +1,6 @@
Name: libglvnd
Version: 1.3.4
Release: 1
Release: 2
Epoch: 1
Summary: The GL Vendor-Neutral Dispatch library
License: MIT
@ -11,10 +11,7 @@ Patch6000: backport-libglvnd-python3.patch
Patch6001: backport-0001-glx-Add-another-fallback-library-name.patch
BuildRequires: libtool xorg-x11-server-Xvfb pkgconfig(xext) pkgconfig(x11)
BuildRequires: gcc python3-rpm-macros python3-libxml2 pkgconfig(glproto)
Requires: mesa-libEGL%{?_isa} >= 13.0.4-1
Requires: mesa-libGL%{?_isa} >= 13.0.4-1
BuildRequires: gcc python3-rpm-macros python3-libxml2 pkgconfig(glproto) make
%description
libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors.
@ -23,12 +20,12 @@ which vendor to dispatch each API call to at runtime.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
Provides: libglvnd-core-devel = %{epoch}:%{version}-%{release}
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-opengl%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-gles%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-glx%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-egl%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: libglvnd-core-devel < %{epoch}:%{version}-%{release}
Requires: %{name}-core-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libX11-devel%{?_isa}
Obsoletes: mesa-libGLES-devel < %{epoch}:%{version}-%{release}
Provides: mesa-libGLES-devel = %{epoch}:%{version}-%{release}
@ -173,7 +170,10 @@ xvfb-run -s '-screen 0 640x480x24' -d make check V=1 || (cat `find . -name test-
%{_libdir}/pkgconfig/opengl.pc
%changelog
* Wed Dec 1 2021 Leigh xingxing<xingxing9@huawei.com> - 1:1.3.4-1
* Fri Dec 17 2021 hanhui <hanhui15@huawei.com> - 1:1.3.4-2
- Remove unnecessary installation dependencies
* Wed Dec 1 2021 xingxing<xingxing9@huawei.com> - 1:1.3.4-1
- Update to 1.3.4
- split glx egl gles package