# A local repository if selected by ./configure --enable-localrepo=...
@LOCALREPO@
-# The rpmbuild subdirectory, containing virt-p2v RPM.
-repo --name=p2v --baseurl=file://@abs_top_builddir@/rpmbuild
+# The p2vrepo subdirectory, containing virt-p2v RPM.
+repo --name=p2v --baseurl=file://@abs_top_builddir@/p2vrepo
-%packages
+%packages --excludedocs
bash
kernel
syslinux
# Remove some unused files.
rm -rf /usr/share/man ;# 20 MB
-rm -rf /usr/share/doc ;# 44 MB
-rm -rf /usr/share/locale ;# 60 MB
+#rm -rf /usr/share/doc ;# 44 MB
+#rm -rf /usr/share/locale ;# 60 MB
%end