summaryrefslogtreecommitdiff
path: root/contrib/build_rpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/build_rpm.sh')
-rwxr-xr-xcontrib/build_rpm.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/build_rpm.sh b/contrib/build_rpm.sh
index e6acbdb15..de6941199 100755
--- a/contrib/build_rpm.sh
+++ b/contrib/build_rpm.sh
@@ -46,8 +46,13 @@ if [[ $pkg_manager == *dnf ]]; then
)
fi
+# 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
-if ! (grep -i 'Red Hat\|CentOS' /etc/redhat-release | grep " 8" ); then
+elif ! (grep -i 'Red Hat\|CentOS' /etc/redhat-release | grep " 8" ) ; then
PKGS+=(golang-github-cpuguy83-md2man \
btrfs-progs-devel \
)