Commit graph

14 commits

Author SHA1 Message Date
Michel Lind
18528e563c Allow overriding sbin directory
This fixes the Koji build for Fedora 42+, where on an installed system,
`/sbin` and `/usr/sbin` are symlinks to `/usr/bin`; see:
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

On a build root the symlink does not exist, so attempts in the spec to
manipulate binaries in `%{_sbindir}/` fail as these binaries are
installed to `%{buildroot}/usr/sbin` while the script is looking for
`%{buildroot}/usr/bin`

The default value is set to `/usr/sbin` so not passing `SBINDIR` when
installing results in the current behavior being preserved.

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-04-17 10:13:41 -04:00
Tomas Kopecek
5f65cf63b7 fix python version parsing for py 3.10
Fixes: https://pagure.io/koji/issue/2975
2021-08-06 10:51:09 +02:00
Tomas Kopecek
0c833c1236 remove sysv from Makefiles 2020-10-06 15:00:23 +02:00
Tomas Kopecek
3a6bfec59e fix required version 2020-07-16 11:17:44 -04:00
Tomas Kopecek
393bc1d9e1 kojid: use mergerepo_c for all merge modes
Fixes: https://pagure.io/koji/issue/2183
2020-07-16 11:17:44 -04:00
Yuming Zhu
7a6ebc851f improve test and clean targets in Makefiles 2019-11-27 15:42:30 +01:00
Yu Ming Zhu
135ac0d6ae clean python compiled binaries for non *.py code
fixes: #1698
2019-10-31 13:20:53 +01:00
Zbigniew Jędrzejewski-Szmek
10a75fc22f Add systemd unit file for kojid
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-07 08:14:53 -05:00
Mike Bonnet
419a1dafe4 major refactoring of koji daemons
- move TaskManager, SCM, and a couple helper functions to koji.daemon
 - move generic TaskHandler classes to koji.tasks
 - remove use of globals in kojid and kojira
 - fix a few issues revealed by pylint
2010-07-16 11:44:52 -04:00
Mike Bonnet
ef3b090424 support for including external repo data in Koji repos 2009-01-28 12:51:38 -05:00
Mike McLean
389aa5ff5c basic plugin support for hub and builders 2008-10-27 12:53:01 -04:00
Michael Bonnet
4283a3ba8f enable SSL client certificate authentication for kojid 2007-03-16 21:39:01 -04:00
Jesse Keating
d802163348 Use -p with install to preserve timestamps, etc... 2007-02-20 10:01:29 -05:00
Jesse Keating
5d7e66a17e Initial code drop 2007-02-14 11:25:01 -05:00