From 295d4be2c7a397fde6db963d85d9e56535225e54 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Fri, 9 Aug 2024 15:16:12 +0000 Subject: [PATCH] Update for AlmaLinux 10 --- .almalinux-indexhtml.metadata | 1 - SOURCES/revise-description.patch | 13 ------------ ...indexhtml.spec => almalinux-indexhtml.spec | 20 +++++++++---------- index.html | 11 ++++++++++ sources | 0 5 files changed, 21 insertions(+), 24 deletions(-) delete mode 100644 .almalinux-indexhtml.metadata delete mode 100644 SOURCES/revise-description.patch rename SPECS/almalinux-indexhtml.spec => almalinux-indexhtml.spec (74%) create mode 100644 index.html create mode 100644 sources diff --git a/.almalinux-indexhtml.metadata b/.almalinux-indexhtml.metadata deleted file mode 100644 index 8667348..0000000 --- a/.almalinux-indexhtml.metadata +++ /dev/null @@ -1 +0,0 @@ -5b63391a3132c247f00daa63c392c15bf7df0213 SOURCES/almalinux-indexhtml-9.tar.gz diff --git a/SOURCES/revise-description.patch b/SOURCES/revise-description.patch deleted file mode 100644 index f069202..0000000 --- a/SOURCES/revise-description.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/HTML/en-US/index.html b/HTML/en-US/index.html -index 89dad92..b775184 100644 ---- a/HTML/en-US/index.html -+++ b/HTML/en-US/index.html -@@ -5,7 +5,7 @@ - - -

Welcome to AlmaLinux

--AlmaLinux is an open-source, community-driven project that intends to fill the gap left by the demise of the CentOS stable release. AlmaLinux is a 1:1 binary compatible fork of RHEL® 9 and it is built by the AlmaLinux OS Foundation as a standalone, completely free OS. We will support future RHEL® releases by updating AlmaLinux. Ongoing development efforts are governed by the members of the community. -+AlmaLinux is an open-source, community owned and governed, forever-free enterprise Linux distribution, focused on long-term stability, providing a robust production-grade platform. AlmaLinux OS is 1:1 binary compatible with RHEL® and pre-Stream CentOS. - - - diff --git a/SPECS/almalinux-indexhtml.spec b/almalinux-indexhtml.spec similarity index 74% rename from SPECS/almalinux-indexhtml.spec rename to almalinux-indexhtml.spec index 67962aa..d179457 100644 --- a/SPECS/almalinux-indexhtml.spec +++ b/almalinux-indexhtml.spec @@ -1,14 +1,12 @@ Name: almalinux-indexhtml -Version: 9 -Release: 2%{?dist} +Version: 10 +Release: 1%{?dist} Summary: Browser default start page for AlmaLinux -Source: %{name}-%{version}.tar.gz +Source0: index.html License: Distributable Group: Documentation BuildArch: noarch -Patch0: revise-description.patch - Obsoletes: redhat-indexhtml Obsoletes: centos-indexhtml @@ -23,21 +21,23 @@ The Web page provided by indexhtml tells you how to register your AlmaLinux software and how to get any support that you might need. %prep -%setup -q -n HTML - -%patch0 -p2 +%setup -q -c -T %build %install -mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML -cp -a . $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/ +mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US/ +install -m644 %{SOURCE0} $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US/index.html +ln -sf en-US/index.html $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/index.html %files %{_defaultdocdir}/HTML/* %changelog +* Fri Aug 09 2024 Andrew Lukoshko - 10-1 +- Update for AlmaLinux 10 + * Thu Apr 06 2023 Koichiro Iwao - 9-2 - Revise AlmaLinux description not to hostile towards CentOS diff --git a/index.html b/index.html new file mode 100644 index 0000000..b775184 --- /dev/null +++ b/index.html @@ -0,0 +1,11 @@ + + + + Welcome to AlmaLinux + + +

Welcome to AlmaLinux

+AlmaLinux is an open-source, community owned and governed, forever-free enterprise Linux distribution, focused on long-term stability, providing a robust production-grade platform. AlmaLinux OS is 1:1 binary compatible with RHEL® and pre-Stream CentOS. + + + diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29