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
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}"