Skip to content

Commit

Permalink
Merge pull request #5312 from raukadah/fixfedora30
Browse files Browse the repository at this point in the history
Fixed build_rpm.sh script for Fedora 30
  • Loading branch information
openshift-merge-robot authored Feb 25, 2020
2 parents 3d37dc6 + 9f6fc70 commit d3aa64c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion contrib/build_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
)
Expand Down

0 comments on commit d3aa64c

Please sign in to comment.