diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-12-16 15:36:11 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-12-16 15:36:11 -0500 |
commit | 257b8a450e287d54c2c6f49f799e1e01135c3c01 (patch) | |
tree | 50fdfc96e2f9f1814e155580a89fde5f18941e94 /cobbler.spec | |
parent | 33784bfc5d06d10c671c45acac5d810825b0b0b1 (diff) | |
download | cobbler-257b8a450e287d54c2c6f49f799e1e01135c3c01.tar.gz cobbler-257b8a450e287d54c2c6f49f799e1e01135c3c01.tar.xz cobbler-257b8a450e287d54c2c6f49f799e1e01135c3c01.zip |
Require genisoimage only for Fedora, use mkisofs for EL
Diffstat (limited to 'cobbler.spec')
-rw-r--r-- | cobbler.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cobbler.spec b/cobbler.spec index 54f515eb..e5d258a9 100644 --- a/cobbler.spec +++ b/cobbler.spec @@ -21,7 +21,11 @@ Requires: python-devel Requires: createrepo Requires: python-cheetah Requires: rsync +%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 Requires: genisoimage +%else +Requires: mkisofs +%endif Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig Requires(preun): /sbin/service |