forked from rpms/almalinux-release
8.3 stable
This commit is contained in:
parent
77f78a3aac
commit
ba80033493
30
almalinux-ha.repo
Normal file
30
almalinux-ha.repo
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# almalinux-ha.repo
|
||||||
|
|
||||||
|
[ha]
|
||||||
|
name=AlmaLinux $releasever - HighAvailability
|
||||||
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/ha
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/HighAvailability/$basearch/os/
|
||||||
|
enabled=0
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
|
## Sources
|
||||||
|
[ha-source]
|
||||||
|
name=AlmaLinux $releasever - HighAvailability Source
|
||||||
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/ha-source
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/HighAvailability/Source/
|
||||||
|
enabled=0
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
|
## Debuginfo
|
||||||
|
[ha-debuginfo]
|
||||||
|
name=AlmaLinux $releasever - HighAvailability debuginfo
|
||||||
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/ha-debuginfo
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/HighAvailability/debug/$basearch/
|
||||||
|
enabled=0
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
@ -10,7 +10,7 @@
|
|||||||
%define dist_release_version 8
|
%define dist_release_version 8
|
||||||
%define upstream_rel_long 8.3-1
|
%define upstream_rel_long 8.3-1
|
||||||
%define upstream_rel 8.3
|
%define upstream_rel 8.3
|
||||||
%define almalinux_rel 2
|
%define almalinux_rel 4
|
||||||
%define dist .el%{dist_release_version}
|
%define dist .el%{dist_release_version}
|
||||||
|
|
||||||
# The anaconda scripts in %%{_libexecdir} can create false requirements
|
# The anaconda scripts in %%{_libexecdir} can create false requirements
|
||||||
@ -47,6 +47,7 @@ Source201: GPL
|
|||||||
##Source202: Contributors
|
##Source202: Contributors
|
||||||
|
|
||||||
Source300: almalinux.repo
|
Source300: almalinux.repo
|
||||||
|
Source301: almalinux-ha.repo
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{product_family} release files
|
%{product_family} release files
|
||||||
@ -65,7 +66,7 @@ mkdir -p %{buildroot}/etc
|
|||||||
mkdir -p %{buildroot}%{_prefix}/lib
|
mkdir -p %{buildroot}%{_prefix}/lib
|
||||||
|
|
||||||
# create /etc/system-release and /etc/redhat-release
|
# create /etc/system-release and /etc/redhat-release
|
||||||
echo "%{product_family} release %{full_release_version} %{?beta:Beta} (%{release_name})" > %{buildroot}/etc/almalinux-release
|
echo "%{product_family} release %{full_release_version}%{?beta: %{beta}} (%{release_name})" > %{buildroot}/etc/almalinux-release
|
||||||
echo "Derived from Red Hat Enterprise Linux %{upstream_rel} (Source)" > %{buildroot}/etc/almalinux-release-upstream
|
echo "Derived from Red Hat Enterprise Linux %{upstream_rel} (Source)" > %{buildroot}/etc/almalinux-release-upstream
|
||||||
ln -s almalinux-release %{buildroot}/etc/system-release
|
ln -s almalinux-release %{buildroot}/etc/system-release
|
||||||
ln -s almalinux-release %{buildroot}/etc/redhat-release
|
ln -s almalinux-release %{buildroot}/etc/redhat-release
|
||||||
@ -79,22 +80,22 @@ ID="almalinux"
|
|||||||
ID_LIKE="rhel centos fedora"
|
ID_LIKE="rhel centos fedora"
|
||||||
VERSION_ID="%{full_release_version}"
|
VERSION_ID="%{full_release_version}"
|
||||||
PLATFORM_ID="platform:el%{base_release_version}"
|
PLATFORM_ID="platform:el%{base_release_version}"
|
||||||
PRETTY_NAME="%{product_family} %{full_release_version} %{?beta:Beta} (%{release_name})"
|
PRETTY_NAME="%{product_family} %{full_release_version}%{?beta: %{beta}} (%{release_name})"
|
||||||
ANSI_COLOR="0;34"
|
ANSI_COLOR="0;34"
|
||||||
CPE_NAME="cpe:/o:almalinux:almalinux:%{full_release_version}:%{?beta:beta}%{!?beta:GA}"
|
CPE_NAME="cpe:/o:almalinux:almalinux:%{full_release_version}:%{?beta:%(echo %{beta} | tr [A-Z] [a-z])}%{?!beta:GA}"
|
||||||
HOME_URL="https://almalinux.org/"
|
HOME_URL="https://almalinux.org/"
|
||||||
BUG_REPORT_URL="https://bugs.almalinux.org/"
|
BUG_REPORT_URL="https://bugs.almalinux.org/"
|
||||||
|
|
||||||
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-%{base_release_version}"
|
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-%{base_release_version}"
|
||||||
ALMALINUX_MANTISBT_PROJECT_VERSION="%{base_release_version}"
|
ALMALINUX_MANTISBT_PROJECT_VERSION="%{full_release_version}"
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Create the symlink for /etc/os-release
|
# Create the symlink for /etc/os-release
|
||||||
ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release
|
ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release
|
||||||
|
|
||||||
# write cpe to /etc/system/release-cpe
|
# write cpe to /etc/system-release-cpe
|
||||||
echo "cpe:/o:almalinux:almalinux:%{full_release_version}:%{?beta:Beta}%{!?beta:GA}" | tr [A-Z] [a-z] > %{buildroot}/etc/system-release-cpe
|
echo "cpe:/o:almalinux:almalinux:%{full_release_version}:%{?beta:%{beta}}%{?!beta:ga}" | tr [A-Z] [a-z] > %{buildroot}/etc/system-release-cpe
|
||||||
|
|
||||||
# create /etc/issue and /etc/issue.net
|
# create /etc/issue and /etc/issue.net
|
||||||
echo '\S' > %{buildroot}/etc/issue
|
echo '\S' > %{buildroot}/etc/issue
|
||||||
@ -109,6 +110,7 @@ install -m 644 %{SOURCE10} %{buildroot}/etc/pki/rpm-gpg
|
|||||||
# copy yum repos
|
# copy yum repos
|
||||||
mkdir -p -m 755 %{buildroot}/etc/yum.repos.d
|
mkdir -p -m 755 %{buildroot}/etc/yum.repos.d
|
||||||
install -m 644 %{SOURCE300} %{buildroot}/etc/yum.repos.d
|
install -m 644 %{SOURCE300} %{buildroot}/etc/yum.repos.d
|
||||||
|
install -m 644 %{SOURCE301} %{buildroot}/etc/yum.repos.d
|
||||||
|
|
||||||
mkdir -p -m 755 %{buildroot}/etc/dnf/vars
|
mkdir -p -m 755 %{buildroot}/etc/dnf/vars
|
||||||
echo "%{infra_var}" > %{buildroot}/etc/dnf/vars/infra
|
echo "%{infra_var}" > %{buildroot}/etc/dnf/vars/infra
|
||||||
@ -120,6 +122,8 @@ cat >> %{buildroot}/etc/rpm/macros.dist << EOF
|
|||||||
# dist macros.
|
# dist macros.
|
||||||
|
|
||||||
%%almalinux_ver %{base_release_version}
|
%%almalinux_ver %{base_release_version}
|
||||||
|
%%almalinux %{base_release_version}
|
||||||
|
%%centos_ver %{base_release_version}
|
||||||
%%centos %{base_release_version}
|
%%centos %{base_release_version}
|
||||||
%%rhel %{base_release_version}
|
%%rhel %{base_release_version}
|
||||||
%%dist .el%{base_release_version}
|
%%dist .el%{base_release_version}
|
||||||
@ -156,7 +160,8 @@ rm -rf %{buildroot}
|
|||||||
/etc/almalinux-release-upstream
|
/etc/almalinux-release-upstream
|
||||||
/etc/dnf/
|
/etc/dnf/
|
||||||
/etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
/etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
/etc/yum.repos.d/almalinux.repo
|
%config(noreplace) /etc/yum.repos.d/almalinux.repo
|
||||||
|
%config(noreplace) /etc/yum.repos.d/almalinux-ha.repo
|
||||||
%config(noreplace) /etc/os-release
|
%config(noreplace) /etc/os-release
|
||||||
%config /etc/system-release-cpe
|
%config /etc/system-release-cpe
|
||||||
%config(noreplace) /etc/issue
|
%config(noreplace) /etc/issue
|
||||||
@ -170,5 +175,13 @@ rm -rf %{buildroot}
|
|||||||
%{_prefix}/lib/systemd/system-preset/*
|
%{_prefix}/lib/systemd/system-preset/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 24 2021 Andrei Lukoshko <alukoshko@almalinux.org> - 8.3-4
|
||||||
|
- 8.3 stable release
|
||||||
|
|
||||||
|
* Wed Feb 10 2021 Andrei Lukoshko <alukoshko@cloudlinux.com> - 8.3-3
|
||||||
|
- Switch repos to mirrorlists and enable fastestmirror plugin
|
||||||
|
- Use full release version for ALMALINUX_MANTISBT_PROJECT_VERSION
|
||||||
|
- Add HighAvailability repo
|
||||||
|
|
||||||
* Wed Jan 27 2021 Anatholy Scryabin <ascryabin@cloudlinux.com> - 8.3-2
|
* Wed Jan 27 2021 Anatholy Scryabin <ascryabin@cloudlinux.com> - 8.3-2
|
||||||
- Initial build for AlmaLinux
|
- Initial build for AlmaLinux
|
||||||
|
@ -1,92 +1,111 @@
|
|||||||
# almalinux.repo
|
# almalinux.repo
|
||||||
#
|
|
||||||
# The mirror system uses the connecting IP address of the client and the
|
|
||||||
# update status of each mirror to pick mirrors that are updated to and
|
|
||||||
# geographically close to the client. You should use this for AlmaLinux updates
|
|
||||||
# unless you are manually picking other mirrors.
|
|
||||||
#
|
|
||||||
[baseos]
|
[baseos]
|
||||||
name=AlmaLinux 8.3 - BaseOS
|
name=AlmaLinux $releasever - BaseOS
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/BaseOS/$basearch/os/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/$basearch/os/
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
[appstream]
|
[appstream]
|
||||||
name=AlmaLinux 8.3 - AppStream
|
name=AlmaLinux $releasever - AppStream
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/AppStream/$basearch/os/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/$basearch/os/
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
[powertools]
|
[powertools]
|
||||||
name=AlmaLinux 8.3 - PowerTools
|
name=AlmaLinux $releasever - PowerTools
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/PowerTools/$basearch/os/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/PowerTools/$basearch/os/
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
[extras]
|
[extras]
|
||||||
name=AlmaLinux 8.3 - Extras
|
name=AlmaLinux $releasever - Extras
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/extras/$basearch/os/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/extras/$basearch/os/
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
## Sources
|
## Sources
|
||||||
[baseos-source]
|
[baseos-source]
|
||||||
name=AlmaLinux 8.3 - BaseOS Source
|
name=AlmaLinux $releasever - BaseOS Source
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/BaseOS/Source/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos-source
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/Source/
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
[appstream-source]
|
[appstream-source]
|
||||||
name=AlmaLinux 8.3 - AppStream Source
|
name=AlmaLinux $releasever - AppStream Source
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/AppStream/Source/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream-source
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/Source/
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
[powertools-source]
|
[powertools-source]
|
||||||
name=AlmaLinux 8.3 - PowerTools Source
|
name=AlmaLinux $releasever - PowerTools Source
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/PowerTools/Source/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools-source
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/PowerTools/Source/
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
[extras-source]
|
[extras-source]
|
||||||
name=AlmaLinux 8.3 - Extras Source
|
name=AlmaLinux $releasever - Extras Source
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/extras/Source/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras-source
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/extras/Source/
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
## Debuginfo
|
## Debuginfo
|
||||||
[baseos-debuginfo]
|
[baseos-debuginfo]
|
||||||
name=AlmaLinux 8.3 - BaseOS debuginfo
|
name=AlmaLinux $releasever - BaseOS debuginfo
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/BaseOS/debug/$basearch/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos-debuginfo
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/debug/$basearch/
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
[appstream-debuginfo]
|
[appstream-debuginfo]
|
||||||
name=AlmaLinux 8.3 - AppStream debuginfo
|
name=AlmaLinux $releasever - AppStream debuginfo
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/AppStream/debug/$basearch/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream-debuginfo
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/debug/$basearch/
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
[powertools-debuginfo]
|
[powertools-debuginfo]
|
||||||
name=AlmaLinux 8.3 - PowerTools debuginfo
|
name=AlmaLinux $releasever - PowerTools debuginfo
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/PowerTools/debug/$basearch/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools-debuginfo
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/PowerTools/debug/$basearch/
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
|
||||||
[extras-debuginfo]
|
[extras-debuginfo]
|
||||||
name=AlmaLinux 8.3 - Extras debuginfo
|
name=AlmaLinux $releasever - Extras debuginfo
|
||||||
baseurl=https://repo.almalinux.org/almalinux/8.3-beta/extras/debug/$basearch/
|
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras-debuginfo
|
||||||
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/extras/debug/$basearch/
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||||
|
fastestmirror=1
|
||||||
|
Loading…
Reference in New Issue
Block a user