Whamcloud - gitweb
LU-15682 build: add AlmaLinux rpm support 15/46915/2
authorMinh Diep <mdiep@whamcloud.com>
Wed, 23 Mar 2022 19:14:56 +0000 (12:14 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 24 Mar 2022 15:29:43 +0000 (15:29 +0000)
Build RPMS on AlmaLinux which is the same
with CentOS

Change-Id: I068c9d8d1df4956c5b5eb0c2e1e979271cfa5621
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46915
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
contrib/build-rpm

index 74aecd2..95c2a50 100644 (file)
@@ -76,6 +76,7 @@ case "$DISTRO-$RELEASE" in
     CentOS-7*) DISTRO=RHEL; RELEASE=7+8;;
     CentOS-8*) DISTRO=RHEL; RELEASE=7+8;;
     Rocky-8*) DISTRO=RHEL; RELEASE=7+8;;
+    AlmaLinux-8*) DISTRO=RHEL; RELEASE=7+8;;
     Fedora-1[1-4]) DISTRO=RHEL; RELEASE=6;;    # use the same .spec for now
     Fedora-1[5-9]) DISTRO=RHEL; RELEASE=7+8;;
     Fedora-2[0-9]) DISTRO=RHEL; RELEASE=7+8;;