diff options
Diffstat (limited to 'contrib/build_rpm.sh')
-rwxr-xr-x | contrib/build_rpm.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/build_rpm.sh b/contrib/build_rpm.sh index b162a9c88..de6941199 100755 --- a/contrib/build_rpm.sh +++ b/contrib/build_rpm.sh @@ -46,10 +46,15 @@ if [[ $pkg_manager == *dnf ]]; then ) fi -# btrfs-progs-devel is not available in CentOS/RHEL-8 -if ! (grep -i 'Red Hat\|CentOS' /etc/redhat-release | grep " 8" ); then +# Package name on fedora 30 is golang-github-cpuguy83-go-md2man +if (grep -i 'Fedora' /etc/redhat-release | grep " 30" ) ; then PKGS+=(golang-github-cpuguy83-go-md2man \ btrfs-progs-devel \ + ) +# btrfs-progs-devel is not available in CentOS/RHEL-8 +elif ! (grep -i 'Red Hat\|CentOS' /etc/redhat-release | grep " 8" ) ; then + PKGS+=(golang-github-cpuguy83-md2man \ + btrfs-progs-devel \ ) fi |