add dep to syslinux-perl on f14 an on
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 4 Nov 2011 15:26:07 +0000 (16:26 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 4 Nov 2011 15:26:07 +0000 (16:26 +0100)
bootcd.spec

index 601720a..1368d03 100644 (file)
@@ -32,6 +32,11 @@ BuildArch: noarch
 Requires: dosfstools, mkisofs, gzip, mtools, syslinux
 # yumdownloader is needed in bootcd-kernel
 Requires: yum-utils
+# mkdiskimage is used for USB-partitioned mode
+# but it now comes in a separate rpm
+%if "%{distro}" == "Fedora" && %{distrorelease} >= 12
+Requires: syslinux-perl
+%endif
 
 Requires: pyplnet