mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 02:54:51 +00:00
Tighten mesa-va-drivers recommends again (rhbz#2161338)
Do not require the exact full version but rather the matching major.minor of the mesa release in order to allow for alternative providers from other repos to slightly lag behind. See https://bugzilla.redhat.com/show_bug.cgi?id=2161338#c12
This commit is contained in:
parent
8eb0e8d686
commit
5967c1d99a
1 changed files with 7 additions and 1 deletions
|
@ -190,7 +190,13 @@ Provides: libEGL-devel%{?_isa}
|
|||
Summary: Mesa-based DRI drivers
|
||||
Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
%if 0%{?with_va}
|
||||
Recommends: %{name}-va-drivers%{?_isa}
|
||||
%global major %(echo %{version} | cut -d. -f1)
|
||||
%global minor %(echo %{version} | cut -d. -f2)
|
||||
%global minor_next %(v="%{minor}"; echo $((++v)))
|
||||
# Do not require the exact full version but rather the matching
|
||||
# major.minor of the mesa release in order to allow for alternative
|
||||
# providers from other repos to slightly lag behind.
|
||||
Recommends: (%{name}-va-drivers%{?_isa} >= %{?epoch:%{epoch}:}%{major}.%{minor} with %{name}-va-drivers%{?_isa} < %{?epoch:%{epoch}:}%{major}.%{minor_next})
|
||||
%endif
|
||||
|
||||
%description dri-drivers
|
||||
|
|
Loading…
Reference in a new issue