mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
While we don't usually use epochs, Some may prefer to always use our
Mesa packages over Fedora's even if they're newer due to our patches.
This PR adds an epoch to the RPM package to ensure the depsolver always
prefers our package over theirs.
While this might seem heavy-handed, the thing is the Mesa packages are only
included in the terra-mesa update stream which is disabled by default.
So this change will ***only*** affect users who ***explicitly*** enabled
the terra-mesa repo.
(cherry picked from commit 79649c1285)
Co-authored-by: Cappy Ishihara <cappy@cappuchino.xyz>
This commit is contained in:
@@ -71,6 +71,10 @@
|
||||
%global vulkan_drivers swrast%{?base_vulkan}%{?intel_platform_vulkan}%{?extra_platform_vulkan}%{?with_nvk:,nouveau}
|
||||
Name: %{srcname}
|
||||
Summary: Mesa graphics libraries
|
||||
# Make the dep solver always prefer our Mesa over the distro's
|
||||
# This should not break anything by default as the Mesa stream is ***EXPLICITLY***
|
||||
# disabled by default, and has to be enabled manually. See `terra/release/terra-mesa.repo` for details.
|
||||
Epoch: 1
|
||||
%global ver 24.3.4
|
||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||
Release: 3%?dist
|
||||
|
||||
Reference in New Issue
Block a user