From: Wang Shilong Date: Thu, 24 Jun 2021 05:51:07 +0000 (-0400) Subject: LU-14784 contrib: add rocky linux rpm support X-Git-Tag: v1.46.5.wc1~35 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=07bd38b20bc89f25328998605c04cd972e3c0275;p=tools%2Fe2fsprogs.git LU-14784 contrib: add rocky linux rpm support 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 Reviewed-on: https://review.whamcloud.com/44067 Reviewed-by: Li Dongyang Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo --- diff --git a/contrib/build-rpm b/contrib/build-rpm index 7bb9694..74aecd2 100644 --- a/contrib/build-rpm +++ b/contrib/build-rpm @@ -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;;