From bdcdc5b244ea5deb35ff92787e1fb4068968d9dd Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 12 May 2008 14:15:40 -0400 Subject: Apply patch to remove anti-createrepo conditions, bump version. --- CHANGELOG | 3 +++ cobbler.spec | 5 ++++- cobbler/action_reposync.py | 2 +- setup.py | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index f08b74a..049ead8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,9 @@ Cobbler CHANGELOG (all entries mdehaan@redhat.com unless noted otherwise) +- Mon May 12 2008 - 0.9.2 +- run createrepo with less preconditions during cobbler reposync + - Fri May 09 2008 - 0.9.1 - patch to allow yumopts to override gpgcheck - applied patch to send hostname from ISC diff --git a/cobbler.spec b/cobbler.spec index 5b23ec2..51ea3aa 100644 --- a/cobbler.spec +++ b/cobbler.spec @@ -2,7 +2,7 @@ Summary: Boot server configurator Name: cobbler AutoReq: no -Version: 0.9.1 +Version: 0.9.2 Release: 1%{?dist} Source0: %{name}-%{version}.tar.gz License: GPLv2+ @@ -188,6 +188,9 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT %changelog +* Mon May 12 2008 Michael DeHaan - 0.9.2-1 +- Upstream changes (see CHANGELOG) + * Fri May 09 2008 Michael DeHaan - 0.9.1-1 - Upstream changes (see CHANGELOG) - packaged /etc/cobbler/users.conf diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py index d6b30bc..495aa3a 100644 --- a/cobbler/action_reposync.py +++ b/cobbler/action_reposync.py @@ -285,7 +285,7 @@ class RepoSync: """ Used to run createrepo on a copied mirror. """ - if os.path.exists(os.path.join(dirname,"RPMS")) or repo.is_rsync_mirror(): + if os.path.exists(dirname) or repo.is_rsync_mirror(): utils.remove_yum_olddata(dirname) try: cmd = "createrepo %s %s" % (repo.createrepo_flags, dirname) diff --git a/setup.py b/setup.py index 57c28ad..7b11c78 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import sys from distutils.core import setup, Extension import string -VERSION = "0.9.1" +VERSION = "0.9.2" SHORT_DESC = "Network Boot and Update Server" LONG_DESC = """ Cobbler is a network boot and update server. Cobbler supports PXE, provisioning virtualized images, and reinstalling existing Linux machines. The last two modes require a helper tool called 'koan' that integrates with cobbler. Cobbler's advanced features include importing distributions from DVDs and rsync mirrors, kickstart templating, integrated yum mirroring, and built-in DHCP Management. Cobbler has a Python API for integration with other GPL systems management applications. -- cgit