Bump epoch, fix requires
This commit is contained in:
parent
345d2b962f
commit
b403d96416
@ -6,26 +6,26 @@
|
|||||||
%global beta Beta
|
%global beta Beta
|
||||||
|
|
||||||
Name: almalinux-release
|
Name: almalinux-release
|
||||||
Epoch: 1
|
Epoch: 2
|
||||||
Version: %{major}.%{minor}
|
Version: %{major}.%{minor}
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: %{distro} release files
|
Summary: %{distro} release files
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://almalinux.org
|
URL: https://almalinux.org
|
||||||
# BuildArch: noarch
|
# BuildArch: noarch
|
||||||
Provides: centos-release = %{version}-%{release}
|
Provides: centos-release = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
# Required for a lorax run (to generate install media)
|
# Required for a lorax run (to generate install media)
|
||||||
Requires: almalinux-repos = %{version}-%{release}
|
Requires: almalinux-repos = %{epoch}:%{version}-%{release}
|
||||||
Provides: centos-release-eula
|
Provides: centos-release-eula
|
||||||
Provides: redhat-release-eula
|
Provides: redhat-release-eula
|
||||||
|
|
||||||
# required by epel-release
|
# required by epel-release
|
||||||
Provides: redhat-release = %{version}-%{release}
|
Provides: redhat-release = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
# required by dnf
|
# required by dnf
|
||||||
# https://github.com/rpm-software-management/dnf/blob/4.2.23/dnf/const.py.in#L26
|
# https://github.com/rpm-software-management/dnf/blob/4.2.23/dnf/const.py.in#L26
|
||||||
Provides: system-release = %{version}-%{release}
|
Provides: system-release = %{epoch}:%{version}-%{release}
|
||||||
Provides: system-release(releasever) = %{major}
|
Provides: system-release(releasever) = %{major}
|
||||||
|
|
||||||
# required by libdnf
|
# required by libdnf
|
||||||
@ -57,13 +57,13 @@ Source600: RPM-GPG-KEY-AlmaLinux-9
|
|||||||
%package -n almalinux-sb-certs
|
%package -n almalinux-sb-certs
|
||||||
Summary: %{distro} public secureboot certificates
|
Summary: %{distro} public secureboot certificates
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Provides: system-sb-certs = %{version}-%{release}
|
Provides: system-sb-certs = %{epoch}:%{version}-%{release}
|
||||||
Provides: redhat-sb-certs = %{version}-%{release}
|
Provides: redhat-sb-certs = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%package -n almalinux-repos
|
%package -n almalinux-repos
|
||||||
Summary: %{distro} package repositories
|
Summary: %{distro} package repositories
|
||||||
Requires: almalinux-release = %{version}-%{release}
|
Requires: almalinux-release = %{epoch}:%{version}-%{release}
|
||||||
Requires: almalinux-gpg-keys = %{version}-%{release}
|
Requires: almalinux-gpg-keys = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%package -n almalinux-gpg-keys
|
%package -n almalinux-gpg-keys
|
||||||
Summary: %{distro} RPM keys
|
Summary: %{distro} RPM keys
|
||||||
@ -98,8 +98,8 @@ install -d -m 0755 %{buildroot}%{_prefix}/lib
|
|||||||
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
|
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
|
||||||
NAME="%{distro}"
|
NAME="%{distro}"
|
||||||
VERSION="%{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
|
VERSION="%{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
|
||||||
ID="almalinux"
|
ID="rhel"
|
||||||
ID_LIKE="rhel centos fedora"
|
ID_LIKE="fedora"
|
||||||
VERSION_ID="%{major}.%{minor}"
|
VERSION_ID="%{major}.%{minor}"
|
||||||
PLATFORM_ID="platform:el%{major}"
|
PLATFORM_ID="platform:el%{major}"
|
||||||
PRETTY_NAME="%{distro} %{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
|
PRETTY_NAME="%{distro} %{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
|
||||||
|
Loading…
Reference in New Issue
Block a user