BuildRequires: createrepo
-BuildRequires: supermin >= 4.1.1
-Requires(post): supermin-helper >= 4.1.1
+BuildRequires: supermin >= 5.1.6
Requires: qemu-kvm >= 0.12
-# Provide our own custom requires for the supermin appliance.
-Source1: extra-find-requires.sh
-%global _use_internal_dependency_generator 0
-%global __find_provides %{_rpmconfigdir}/find-provides
-%global __find_requires %{SOURCE1} %{_rpmconfigdir}/find-requires
-
%description
This is a package that contains a Fedora appliance, otherwise known as
hypervisor or virtual machine management tools.
Note: The appliance only contains command line tools (no X11 or office
-suites). rpm and yum installation of packages is not supported.
+suites). rpm and yum installation of packages is supported.
%if 0%{?fedora} >= 1
This package contains an appliance built for Fedora %{fedora}.
enabled=1
gpgcheck=0
EOF
-%define extra --with-yum-config=$(pwd)/yum.conf
+%define extra --with-packager-config=$(pwd)/yum.conf
%endif
%configure %{extra}
# XXX We should add an RPM trigger so that this gets rebuilt after any
# dependent package install (recursively).
-%{_libexecdir}/build-a-fedora-appliance "%{supermindir}" \
- "%{appliancedir}/kernel" "%{appliancedir}/initrd" "%{appliancedir}/root" && \
+%{_libexecdir}/build-a-fedora-appliance "%{supermindir}" "%{appliancedir}" && \
echo "Fedora %{fedora} appliance built in %{appliancedir}"