License: GPLv2+
AutoReq: no
Version: 2.6.9
-Release: 1%{?dist}~mos8.0.1
+Release: 1%{?dist}~mos1
Source0: https://github.com/cobbler/cobbler/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# Support newer virt-install - https://bugzilla.redhat.com/show_bug.cgi?id=1188424
Patch0: cobbler-virtinstall.patch
%patch0 -p1 -b .virtinstall
%patch1 -p1 -b .centos
# django 1.8 on Fedora 22+
-%if 0%{?fedora} >= 22
+%if 0%{?fedora} >= 22 || 0%{?rhel} >= 6
%patch2 -p1 -b .django17
%endif