diff --git a/.gitignore b/.gitignore index 983abb7..9efb547 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ koji-1.4.0.tar.bz2 /koji-1.6.0.tar.bz2 /koji-1.7.0.tar.bz2 /koji-1.7.1.tar.bz2 +/koji-1.8.0.tar.bz2 diff --git a/koji-1.7.1-checkUpload.patch b/koji-1.7.1-checkUpload.patch deleted file mode 100644 index 248f580..0000000 --- a/koji-1.7.1-checkUpload.patch +++ /dev/null @@ -1,30 +0,0 @@ -From eaa43f8cbd863daeee7709710bbfb00bde52bd7d Mon Sep 17 00:00:00 2001 -From: Mike McLean -Date: Thu, 17 Jan 2013 21:16:50 +0000 -Subject: fix integer overflow issue in checkUpload handler - ---- -diff --git a/hub/kojihub.py b/hub/kojihub.py -index 003e1fc..b433169 100644 ---- a/hub/kojihub.py -+++ b/hub/kojihub.py -@@ -7061,7 +7061,7 @@ class RootExports(object): - try: - fcntl.lockf(fd, fcntl.LOCK_SH|fcntl.LOCK_NB) - except IOError, e: -- koji.LockError, e -+ raise koji.LockError, e - st = os.fstat(fd) - if not stat.S_ISREG(st.st_mode): - raise koji.GenericError, "Not a regular file: %s" % fn -@@ -7081,7 +7081,7 @@ class RootExports(object): - length += len(chunk) - chksum.update(chunk) - chunk = os.read(fd, 8192) -- data['sumlength'] = length -+ data['sumlength'] = koji.encode_int(length) - data['hexdigest'] = chksum.hexdigest() - return data - finally: --- -cgit v0.9.1 diff --git a/koji-1.7.1-fix-external-repos.patch b/koji-1.7.1-fix-external-repos.patch deleted file mode 100644 index 3bc6300..0000000 --- a/koji-1.7.1-fix-external-repos.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -uNr koji-1.7.1-orig/builder/kojid koji-1.7.1/builder/kojid ---- koji-1.7.1-orig/builder/kojid 2012-11-19 22:36:03.000000000 -0600 -+++ koji-1.7.1/builder/kojid 2013-01-20 10:08:08.408515512 -0600 -@@ -2698,7 +2698,7 @@ - - def create_local_repo(self, rinfo, arch, pkglist, groupdata, oldrepo): - koji.ensuredir(self.outdir) -- cmd = ['/usr/bin/createrepo', '-vd', '-o', self.outdir] -+ cmd = ['/usr/bin/createrepo', '-vd', '-o', self.outdir, '-u', self.options.topurl] - if pkglist is not None: - cmd.extend(['-i', pkglist]) - if os.path.isfile(groupdata): -@@ -2725,7 +2725,7 @@ - if pkglist is None: - cmd.append(self.outdir) - else: -- cmd.append(self.repodir) -+ cmd.append(self.options.topdir) - - logfile = '%s/createrepo.log' % self.workdir - status = log_output(self.session, cmd[0], cmd, logfile, self.getUploadDir(), logerror=True) -diff -uNr koji-1.7.1-orig/hub/kojihub.py koji-1.7.1/hub/kojihub.py ---- koji-1.7.1-orig/hub/kojihub.py 2012-11-19 22:36:03.000000000 -0600 -+++ koji-1.7.1/hub/kojihub.py 2013-01-20 10:08:11.076535467 -0600 -@@ -2188,7 +2188,7 @@ - packages = {} - for repoarch in repo_arches: - packages.setdefault(repoarch, []) -- relpathinfo = koji.PathInfo(topdir='toplink') -+ relpathinfo = koji.PathInfo(topdir='') - for rpminfo in rpms: - if not with_debuginfo and koji.is_debuginfo(rpminfo['name']): - continue -@@ -2221,10 +2221,6 @@ - # src and noarch special-cased -- see below - archdir = os.path.join(repodir, arch) - koji.ensuredir(archdir) -- # Make a symlink to our topdir -- top_relpath = koji.util.relpath(koji.pathinfo.topdir, archdir) -- top_link = os.path.join(archdir, 'toplink') -- os.symlink(top_relpath, top_link) - pkglist = file(os.path.join(repodir, arch, 'pkglist'), 'w') - logger.info("Creating package list for %s" % arch) - for rpminfo in packages[arch]: diff --git a/koji.spec b/koji.spec index 727a9a9..09dd72c 100644 --- a/koji.spec +++ b/koji.spec @@ -1,16 +1,14 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: koji -Version: 1.7.1 -Release: 3%{?dist} +Version: 1.8.0 +Release: 1%{?dist} License: LGPLv2 and GPLv2+ # koji.ssl libs (from plague) are GPLv2+ Summary: Build system tools Group: Applications/System URL: http://fedorahosted.org/koji Patch0: fedora-config.patch -Patch1: koji-1.7.1-fix-external-repos.patch -Patch2: koji-1.7.1-checkUpload.patch Source: https://fedorahosted.org/released/koji/koji-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -124,8 +122,6 @@ koji-web is a web UI to the Koji system. %prep %setup -q %patch0 -p1 -b .orig -%patch1 -p1 -b .repos -%patch2 -p1 -b .int %build @@ -229,6 +225,9 @@ if [ $1 = 0 ]; then fi %changelog +* Mon Apr 01 2013 Dennis Gilmore - 1.8.0-1 +- update to upstream 1.8.0 + * Thu Feb 14 2013 Fedora Release Engineering - 1.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 87d1173..89a8cbb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d150f499260f5180f1340a0e11f2d64c koji-1.7.1.tar.bz2 +a7d193a864f15ca91c3b71d6156e69e4 koji-1.8.0.tar.bz2