Package Details: koji 1.10.1-2

Git Clone URL: https://aur.archlinux.org/koji.git (read-only)
Package Base: koji
Description: Koji is a system for building and tracking RPMS. This base package contains shared libraries and the command-line interface.
Upstream URL: https://fedorahosted.org/koji/
Licenses: GPL2, LGPL2.1
Submitter: None
Maintainer: None
Last Packager: pnorcks
Votes: 2
Popularity: 0.000000
First Submitted: 2012-02-08 06:15
Last Updated: 2015-12-16 07:30

Latest Comments

pnorcks commented on 2014-12-10 19:33

zmeYski: Thanks, that helps.

It would simpler to just change the PKGBUILD to run 'make DESTDIR=$pkgdir install' instead so that everything is installed, like in the 'koji-git' package.

zmeYski commented on 2014-11-10 18:24

Hi,

i'm using koji on Archlinux but the way the package is right now is not usefull since it does not include the koji client itself, only it's libs. I added:

make DESTDIR=$pkgdir -C cli install

in the package() function in the PKGBUILD in order to install it. For this to work 2 additional patches are needed:
1) cli_makefile.patch
diff -rupN koji-1.9.0/cli/Makefile koji-1.9.0-new/cli/Makefile
--- koji-1.9.0/cli/Makefile 2014-03-24 22:41:22.000000000 +0200
+++ koji-1.9.0-new/cli/Makefile 2014-08-27 15:14:04.321499803 +0300
@@ -14,6 +14,6 @@ install:
fi

mkdir -p $(DESTDIR)/usr/bin
+ mkdir -p $(DESTDIR)/etc/koji.conf.d
install -p -m 755 $(FILES) $(DESTDIR)/usr/bin
install -p -m 644 koji.conf $(DESTDIR)/etc/koji.conf
- mkdir -p $(DESTDIR)/etc/koji.conf.d

2) koji_python_to_python2.patch
diff -rupN koji-1.9.0/cli/koji koji-1.9.0-new/cli/koji
--- koji-1.9.0/cli/koji 2014-03-24 22:41:22.000000000 +0200
+++ koji-1.9.0-new/cli/koji 2014-11-10 20:13:47.656815371 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# coding=utf-8

# command line interface for the Koji build system



Would you care to modify the PKGBUILD to include these changes?

--
BRS
Atanas