X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cobbler.spec;h=63676e301a8304e6cccb6f314618c18b3f053e65;hb=735d83c81a39c1d07edc31fc8843d575a587ffc7;hp=ed2d75e533f3b423b5784965a4f573c721afe777;hpb=6835d543a5e194438690d42069bf3735dfc8c930;p=packages%2Fcentos7%2Fcobbler.git diff --git a/cobbler.spec b/cobbler.spec index ed2d75e..63676e3 100644 --- a/cobbler.spec +++ b/cobbler.spec @@ -16,7 +16,7 @@ Name: cobbler License: GPLv2+ AutoReq: no Version: 2.6.9 -Release: 1%{?dist}~mos1 +Release: 1%{?dist}~mos10 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 @@ -26,6 +26,9 @@ Patch1: cobbler-centos.patch # Support django1.7+ # https://github.com/cobbler/cobbler-web/issues/9 Patch2: cobbler-django17.patch +# Add ALLOWED_HOSTS into djando settings +Patch3: Mirantis-Add-ALLOWED_HOSTS-for-settings.patch + Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch @@ -87,8 +90,9 @@ other applications. %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 +%patch3 -p1 %endif %build @@ -284,6 +288,14 @@ sed -i -e "s/SECRET_KEY = ''/SECRET_KEY = \'$RAND_SECRET\'/" /usr/share/cobbler/ %changelog +* Thu May 19 2016 Ivan Suzdal - 2.6.9-1~mos10 +- Add patch to fix 'error 400' for cobbler-web (LP: #1583648) +- Bump version + +* Thu Feb 11 2016 Ivan Suzdal - 2.6.9-1~mos9 +- Add 'rhel' condition for django17 path +- Bump version + * Tue Sep 29 2015 Artem Silenkov - 2.6.9-1~mos8.0.1 - Make sources local - Rebuild from epel7