Whamcloud - gitweb
LU-14784 contrib: add rocky linux rpm support
authorWang Shilong <wshilong@ddn.com>
Thu, 24 Jun 2021 05:51:07 +0000 (01:51 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 19 Apr 2022 00:16:06 +0000 (18:16 -0600)
Build RPMS on Rocky Linux make no difference with Centos8,
make build-rpm select right spec file for rocky.

Change-Id: I3b5d05a137359185ae3e9695d4d360a24d4510db
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/44067
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
contrib/build-rpm

index 7bb9694..74aecd2 100644 (file)
@@ -75,6 +75,7 @@ case "$DISTRO-$RELEASE" in
     CentOS-6*) DISTRO=RHEL; RELEASE=6;;
     CentOS-7*) DISTRO=RHEL; RELEASE=7+8;;
     CentOS-8*) DISTRO=RHEL; RELEASE=7+8;;
+    Rocky-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;;