From e936f2317fbe763c4cdd615ca411f2f62999d531 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Fri, 2 Aug 2024 15:02:55 +0300 Subject: [PATCH] - Add AlmaLinux definitions --- openscap-1.3.5-almalinux.patch | 96 ++++++++++++++++++++++++++++++++++ openscap.spec | 8 ++- 2 files changed, 102 insertions(+), 2 deletions(-) create mode 100644 openscap-1.3.5-almalinux.patch diff --git a/openscap-1.3.5-almalinux.patch b/openscap-1.3.5-almalinux.patch new file mode 100644 index 0000000..ce026ec --- /dev/null +++ b/openscap-1.3.5-almalinux.patch @@ -0,0 +1,96 @@ +diff -aruN openscap-1.3.6/cpe/openscap-cpe-oval.xml openscap-1.3.6.alma/cpe/openscap-cpe-oval.xml +--- openscap-1.3.6/cpe/openscap-cpe-oval.xml 2021-04-12 08:34:00.000000000 +0300 ++++ openscap-1.3.6.alma/cpe/openscap-cpe-oval.xml 2022-05-19 12:24:07.000000000 +0300 +@@ -133,6 +133,32 @@ + + + ++ ++ ++ AlmaLinux 8 ++ ++ AlmaLinux 8 ++ ++ ++ The operating system installed on the system is AlmaLinux 8 ++ ++ ++ ++ ++ ++ ++ ++ AlmaLinux 9 ++ ++ AlmaLinux 9 ++ ++ ++ The operating system installed on the system is AlmaLinux 9 ++ ++ ++ ++ ++ + + + Community Enterprise Operating System 5 +@@ -868,6 +894,16 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + + +@@ -1223,6 +1259,9 @@ + + oraclelinux-release + ++ ++ almalinux-release ++ + + HKEY_LOCAL_MACHINE + SOFTWARE\Microsoft\Windows NT\CurrentVersion +@@ -1307,6 +1346,14 @@ + ^oraclelinux-release + ^8 + ++ ++ ^almalinux-release ++ ^8 ++ ++ ++ ^almalinux-release ++ ^9 ++ + + ^16$ + +diff -aruN openscap-1.3.6/cpe/openscap-cpe-dict.xml openscap-1.3.6.alma/cpe/openscap-cpe-dict.xml +--- openscap-1.3.6/cpe/openscap-cpe-dict.xml 2021-04-12 08:34:00.000000000 +0300 ++++ openscap-1.3.6.alma/cpe/openscap-cpe-dict.xml 2022-05-19 12:24:45.000000000 +0300 +@@ -37,6 +37,14 @@ + Community Enterprise Operating System 8 + oval:org.open-scap.cpe.centos:def:8 + ++ ++ AlmaLinux 8 ++ oval:org.open-scap.cpe.almalinux:def:8 ++ ++ ++ AlmaLinux 9 ++ oval:org.open-scap.cpe.almalinux:def:9 ++ + + Fedora 32 + oval:org.open-scap.cpe.fedora:def:32 diff --git a/openscap.spec b/openscap.spec index f7f1503..7ff0d37 100644 --- a/openscap.spec +++ b/openscap.spec @@ -1,6 +1,6 @@ Name: openscap Version: 1.3.10 -Release: 3%{?dist} +Release: 3%{?dist}.alma.1 Epoch: 1 Summary: Set of open source libraries enabling integration of the SCAP line of standards License: LGPL-2.1-or-later @@ -54,6 +54,8 @@ Requires: procps Requires: xmlsec1 Requires: xmlsec1-openssl +Patch1000: openscap-1.3.5-almalinux.patch + %description %{common_description} %package devel @@ -212,6 +214,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %changelog +* Fri Aug 02 2024 Eduard Abdullin - 1:1.3.10-3.alma.1 +- Add AlmaLinux definitions + * Mon Jun 24 2024 Troy Dawson - 1:1.3.10-3 - Bump release for June 2024 mass rebuild @@ -831,4 +836,3 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' * Thu Jan 15 2009 Tomas Heinrich 0.1.1-1 - Initial rpm -