No longer need to treat Rocky or Alma Linux specially.

We now treat them the same as RHEL.
This commit is contained in:
Todd C. Miller
2023-01-30 07:32:05 -07:00
parent 6d945448ef
commit 23237bb006
5 changed files with 10 additions and 10 deletions

View File

@@ -47,7 +47,7 @@
# For RedHat the doc dir is expected to include version and release
case "$pp_rpm_distro" in
alma*|centos*|rhel*|rocky*|f[0-9]*)
centos*|rhel*|f[0-9]*)
docdir="${docdir}-${pp_rpm_version}-${pp_rpm_release}"
exampledir="${docdir}/examples"
;;
@@ -87,7 +87,7 @@
# Add distro info to release
osrelease=`echo "$pp_rpm_distro" | sed -e 's/^[^0-9]*\([0-9]\{1,2\}\).*/\1/'`
case "$pp_rpm_distro" in
alma*|centos*|rhel*|rocky*|f[0-9]*)
centos*|rhel*|f[0-9]*)
# CentOS Stream has a single-digit version
if test $osrelease -lt 10; then
osrelease="${osrelease}0"