mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
Fix build dependencies on certain arches
https://bugzilla.redhat.com/show_bug.cgi?id=1859515 Note this might not help on arches like s390x, where there's still quite a few dependencies we won't have. This might also mean if the SRPM gets generated on s390x `dnf builddep` might not pull in all dependencies, but that's better then having it fail most of the time on all arches.
This commit is contained in:
parent
b30056f34b
commit
7c8b047d1f
1 changed files with 9 additions and 15 deletions
24
mesa.spec
24
mesa.spec
|
@ -52,7 +52,7 @@ Name: mesa
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
%global ver 19.2.8
|
%global ver 19.2.8
|
||||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
|
||||||
|
@ -78,20 +78,10 @@ BuildRequires: gettext
|
||||||
%if 0%{?with_hardware}
|
%if 0%{?with_hardware}
|
||||||
BuildRequires: kernel-headers
|
BuildRequires: kernel-headers
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ix86} x86_64
|
# We only check for the minimum version of pkgconfig(libdrm) needed so that the
|
||||||
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.75
|
# SRPMs for each arch still have the same build dependencies. See:
|
||||||
%endif
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1859515
|
||||||
%if 0%{?with_radeonsi}
|
BuildRequires: pkgconfig(libdrm) >= 2.4.97
|
||||||
BuildRequires: pkgconfig(libdrm_amdgpu) >= 2.4.97
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.71
|
|
||||||
BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.66
|
|
||||||
%if 0%{?with_etnaviv}
|
|
||||||
BuildRequires: pkgconfig(libdrm_etnaviv) >= 2.4.89
|
|
||||||
%endif
|
|
||||||
%if 0%{?with_vc4}
|
|
||||||
BuildRequires: pkgconfig(libdrm) >= 2.4.89
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(expat)
|
BuildRequires: pkgconfig(expat)
|
||||||
BuildRequires: pkgconfig(zlib) >= 1.2.3
|
BuildRequires: pkgconfig(zlib) >= 1.2.3
|
||||||
BuildRequires: pkgconfig(libselinux)
|
BuildRequires: pkgconfig(libselinux)
|
||||||
|
@ -648,6 +638,10 @@ popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 22 2020 Lyude Paul <lyude@redhat.com> - 19.2.8-2
|
||||||
|
- Only require pkgconfig(libdrm) to fix build dependencies for arches other
|
||||||
|
than the one our SRPM was generated with (#1859515)
|
||||||
|
|
||||||
* Wed Dec 18 2019 Pete Walter <pwalter@fedoraproject.org> - 19.2.8-1
|
* Wed Dec 18 2019 Pete Walter <pwalter@fedoraproject.org> - 19.2.8-1
|
||||||
- Update to 19.2.8
|
- Update to 19.2.8
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue