mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
Prevent partial updates (rhbz#2193135)
This is another attempt to prevent partial updates, where important mesa subpackages get desynchronized with mesa-dri-drivers, and things crash because of version mismatch. According to Michel Dänzer [1], libglapi and libgbm should always match in version to dri-drivers. So the conditional requirement was added there, and it will help guard dependants (e.g. libGL, libEGL) versions in the future. This is the Rawhide-version of PR 24 [2]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=2187726#c4 [2] https://src.fedoraproject.org/rpms/mesa/pull-request/24
This commit is contained in:
parent
e29f42927b
commit
91adfd5fe1
1 changed files with 8 additions and 0 deletions
|
@ -257,6 +257,10 @@ Summary: Mesa gbm runtime library
|
|||
Provides: libgbm
|
||||
Provides: libgbm%{?_isa}
|
||||
Recommends: %{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
# If mesa-dri-drivers are installed, they must match in version. This is here to prevent using
|
||||
# older mesa-dri-drivers together with a newer mesa-libgbm and its dependants.
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=2193135 .
|
||||
Requires: (%{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} if %{name}-dri-drivers%{?_isa})
|
||||
|
||||
%description libgbm
|
||||
%{summary}.
|
||||
|
@ -293,6 +297,10 @@ Provides: libxatracker-devel%{?_isa}
|
|||
Summary: Mesa shared glapi
|
||||
Provides: libglapi
|
||||
Provides: libglapi%{?_isa}
|
||||
# If mesa-dri-drivers are installed, they must match in version. This is here to prevent using
|
||||
# older mesa-dri-drivers together with a newer mesa-libglapi or its dependants.
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=2193135 .
|
||||
Requires: (%{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} if %{name}-dri-drivers%{?_isa})
|
||||
|
||||
%description libglapi
|
||||
%{summary}.
|
||||
|
|
Loading…
Reference in a new issue