Blame travis/fedora.sh

Packit Service 087331
#!/bin/sh
Packit Service 087331
# Copyright (c) 2020 Petr Vorel <pvorel@suse.cz>
Packit Service 087331
set -e
Packit Service 087331
Packit Service 087331
if [ -z "$CC" ]; then
Packit Service 087331
	echo "missing \$CC!" >&2
Packit Service 087331
	exit 1
Packit Service 087331
fi
Packit Service 087331
Packit Service 087331
case "$TSS" in
Packit Service 087331
ibmtss) TSS="tss2-devel";;
Packit Service 087331
tpm2-tss) TSS="tpm2-tss-devel";;
Packit Service 087331
'') echo "Missing TSS!" >&2; exit 1;;
Packit Service 087331
*) echo "Unsupported TSS: '$TSS'!" >&2; exit 1;;
Packit Service 087331
esac
Packit Service 087331
Packit Service 087331
# ibmswtpm2 requires gcc
Packit Service 087331
[ "$CC" = "gcc" ] || CC="gcc $CC"
Packit Service 087331
Packit Service 087331
yum -y install \
Packit Service 087331
	$CC $TSS \
Packit Service 087331
	asciidoc \
Packit Service 087331
	attr \
Packit Service 087331
	autoconf \
Packit Service 087331
	automake \
Packit Service 087331
	diffutils \
Packit Service 087331
	docbook-xsl \
Packit Service 087331
	gzip \
Packit Service 087331
	keyutils-libs-devel \
Packit Service 087331
	libattr-devel \
Packit Service 087331
	libtool \
Packit Service 087331
	libxslt \
Packit Service 087331
	make \
Packit Service 087331
	openssl \
Packit Service 087331
	openssl-devel \
Packit Service 087331
	pkg-config \
Packit Service 087331
	procps \
Packit Service 087331
	sudo \
Packit Service 087331
	vim-common \
Packit Service 087331
	wget \
Packit Service 087331
	which
Packit Service 087331
Packit Service 087331
yum -y install docbook5-style-xsl || true
Packit Service 087331
yum -y install swtpm || true