|
|
@ -8,16 +8,21 @@
|
|
|
|
%{?!python3_pkgversion:%global python3_pkgversion 3}
|
|
|
|
%{?!python3_pkgversion:%global python3_pkgversion 3}
|
|
|
|
|
|
|
|
|
|
|
|
Name: koji
|
|
|
|
Name: koji
|
|
|
|
Version: 1.33.0
|
|
|
|
Version: 1.35.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 3%{?dist}.inferit
|
|
|
|
# the included arch lib from yum's rpmUtils is GPLv2+
|
|
|
|
# the included arch lib from yum's rpmUtils is GPLv2+
|
|
|
|
License: LGPLv2 and GPLv2+
|
|
|
|
# Automatically converted from old format: LGPLv2 and GPLv2+ - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2 AND GPL-2.0-or-later
|
|
|
|
Summary: Build system tools
|
|
|
|
Summary: Build system tools
|
|
|
|
URL: https://pagure.io/koji/
|
|
|
|
URL: https://pagure.io/koji/
|
|
|
|
Source0: https://releases.pagure.org/koji/koji-%{version}.tar.bz2
|
|
|
|
Source0: https://releases.pagure.org/koji/koji-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patch1: https://pagure.io/koji/pull-request/4258.patch#/0001-repos-check-for-newer-create-event.patch
|
|
|
|
|
|
|
|
|
|
|
|
# Not upstreamable
|
|
|
|
# Not upstreamable
|
|
|
|
Patch1000: fedora-config.patch
|
|
|
|
Patch101: pr4228-wait-repo-current.patch
|
|
|
|
|
|
|
|
# MSVSphere
|
|
|
|
|
|
|
|
Patch1000: 0001-msvsphere-config.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: python%{python3_pkgversion}-%{name} = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-%{name} = %{version}-%{release}
|
|
|
@ -44,6 +49,7 @@ Requires: python%{python3_pkgversion}-requests
|
|
|
|
Requires: python%{python3_pkgversion}-requests-gssapi
|
|
|
|
Requires: python%{python3_pkgversion}-requests-gssapi
|
|
|
|
Requires: python%{python3_pkgversion}-dateutil
|
|
|
|
Requires: python%{python3_pkgversion}-dateutil
|
|
|
|
Requires: python%{python3_pkgversion}-six
|
|
|
|
Requires: python%{python3_pkgversion}-six
|
|
|
|
|
|
|
|
Requires: python%{python3_pkgversion}-defusedxml
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{name}
|
|
|
|
%description -n python%{python3_pkgversion}-%{name}
|
|
|
|
Koji is a system for building and tracking RPMS.
|
|
|
|
Koji is a system for building and tracking RPMS.
|
|
|
@ -51,7 +57,8 @@ This subpackage provides python functions and libraries.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{name}-cli-plugins
|
|
|
|
%package -n python%{python3_pkgversion}-%{name}-cli-plugins
|
|
|
|
Summary: Koji client plugins
|
|
|
|
Summary: Koji client plugins
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
Requires: python%{python3_pkgversion}-%{name} = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-%{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{name}-cli-plugins
|
|
|
|
%description -n python%{python3_pkgversion}-%{name}-cli-plugins
|
|
|
@ -59,7 +66,8 @@ Plugins to the koji command-line interface
|
|
|
|
|
|
|
|
|
|
|
|
%package hub
|
|
|
|
%package hub
|
|
|
|
Summary: Koji XMLRPC interface
|
|
|
|
Summary: Koji XMLRPC interface
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-hub-code
|
|
|
|
Requires: %{name}-hub-code
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
@ -72,7 +80,8 @@ koji-hub is the XMLRPC interface to the koji database
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{name}-hub
|
|
|
|
%package -n python%{python3_pkgversion}-%{name}-hub
|
|
|
|
Summary: Koji XMLRPC interface
|
|
|
|
Summary: Koji XMLRPC interface
|
|
|
|
License: LGPLv2 and GPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 and GPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2 AND GPL-2.0-only
|
|
|
|
# rpmdiff lib (from rpmlint) is GPLv2 (only)
|
|
|
|
# rpmdiff lib (from rpmlint) is GPLv2 (only)
|
|
|
|
Requires: httpd
|
|
|
|
Requires: httpd
|
|
|
|
Requires: python%{python3_pkgversion}-mod_wsgi
|
|
|
|
Requires: python%{python3_pkgversion}-mod_wsgi
|
|
|
@ -86,7 +95,8 @@ koji-hub is the XMLRPC interface to the koji database
|
|
|
|
|
|
|
|
|
|
|
|
%package hub-plugins
|
|
|
|
%package hub-plugins
|
|
|
|
Summary: Koji hub plugins
|
|
|
|
Summary: Koji hub plugins
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
Requires: %{name}-hub-plugins-code = %{version}-%{release}
|
|
|
|
Requires: %{name}-hub-plugins-code = %{version}-%{release}
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
Suggests: python%{python3_pkgversion}-%{name}-hub-plugins
|
|
|
|
Suggests: python%{python3_pkgversion}-%{name}-hub-plugins
|
|
|
@ -97,7 +107,8 @@ Plugins to the koji XMLRPC interface
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{name}-hub-plugins
|
|
|
|
%package -n python%{python3_pkgversion}-%{name}-hub-plugins
|
|
|
|
Summary: Koji hub plugins
|
|
|
|
Summary: Koji hub plugins
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
Requires: python%{python3_pkgversion}-%{name}-hub = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-%{name}-hub = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-qpid-proton
|
|
|
|
Requires: python%{python3_pkgversion}-qpid-proton
|
|
|
|
Requires: cpio
|
|
|
|
Requires: cpio
|
|
|
@ -108,7 +119,8 @@ Plugins to the koji XMLRPC interface
|
|
|
|
|
|
|
|
|
|
|
|
%package builder-plugins
|
|
|
|
%package builder-plugins
|
|
|
|
Summary: Koji builder plugins
|
|
|
|
Summary: Koji builder plugins
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-builder = %{version}-%{release}
|
|
|
|
Requires: %{name}-builder = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -117,7 +129,8 @@ Plugins for the koji build daemon
|
|
|
|
|
|
|
|
|
|
|
|
%package builder
|
|
|
|
%package builder
|
|
|
|
Summary: Koji RPM builder daemon
|
|
|
|
Summary: Koji RPM builder daemon
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
Requires: mock >= 0.9.14
|
|
|
|
Requires: mock >= 0.9.14
|
|
|
|
Requires(pre): /usr/sbin/useradd
|
|
|
|
Requires(pre): /usr/sbin/useradd
|
|
|
|
Requires: squashfs-tools
|
|
|
|
Requires: squashfs-tools
|
|
|
@ -140,7 +153,8 @@ tasks that come through the Koji system.
|
|
|
|
|
|
|
|
|
|
|
|
%package vm
|
|
|
|
%package vm
|
|
|
|
Summary: Koji virtual machine management daemon
|
|
|
|
Summary: Koji virtual machine management daemon
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
@ -156,7 +170,8 @@ virtual machine. This package is not required for most installations.
|
|
|
|
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
%package utils
|
|
|
|
Summary: Koji Utilities
|
|
|
|
Summary: Koji Utilities
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-psycopg2
|
|
|
|
Requires: python%{python3_pkgversion}-psycopg2
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(post): systemd
|
|
|
@ -168,7 +183,8 @@ Utilities for the Koji system
|
|
|
|
|
|
|
|
|
|
|
|
%package web
|
|
|
|
%package web
|
|
|
|
Summary: Koji Web UI
|
|
|
|
Summary: Koji Web UI
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-web-code = %{version}-%{release}
|
|
|
|
Requires: %{name}-web-code = %{version}-%{release}
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
@ -180,7 +196,8 @@ koji-web is a web UI to the Koji system.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{name}-web
|
|
|
|
%package -n python%{python3_pkgversion}-%{name}-web
|
|
|
|
Summary: Koji Web UI
|
|
|
|
Summary: Koji Web UI
|
|
|
|
License: LGPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2 - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}-web}
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}-web}
|
|
|
|
Requires: httpd
|
|
|
|
Requires: httpd
|
|
|
|
Requires: python%{python3_pkgversion}-mod_wsgi
|
|
|
|
Requires: python%{python3_pkgversion}-mod_wsgi
|
|
|
@ -206,7 +223,7 @@ sed -e '/util\/koji/g' -e '/koji_cli_plugins/g' -i setup.py
|
|
|
|
%py3_install_wheel %{name}-%{version}-py3-none-any.whl
|
|
|
|
%py3_install_wheel %{name}-%{version}-py3-none-any.whl
|
|
|
|
mkdir -p %{buildroot}/etc/koji.conf.d
|
|
|
|
mkdir -p %{buildroot}/etc/koji.conf.d
|
|
|
|
cp cli/koji.conf %{buildroot}/etc/koji.conf
|
|
|
|
cp cli/koji.conf %{buildroot}/etc/koji.conf
|
|
|
|
for D in kojihub builder plugins util www vm ; do
|
|
|
|
for D in kojihub builder plugins util www vm schemas ; do
|
|
|
|
pushd $D
|
|
|
|
pushd $D
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3} %{?install_opt} install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3} %{?install_opt} install
|
|
|
|
popd
|
|
|
|
popd
|
|
|
@ -233,6 +250,7 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
%{_datadir}/koji
|
|
|
|
%config(noreplace) /etc/koji.conf
|
|
|
|
%config(noreplace) /etc/koji.conf
|
|
|
|
%dir /etc/koji.conf.d
|
|
|
|
%dir /etc/koji.conf.d
|
|
|
|
%doc docs Authors COPYING LGPL
|
|
|
|
%doc docs Authors COPYING LGPL
|
|
|
@ -348,6 +366,74 @@ done
|
|
|
|
%systemd_postun kojira.service
|
|
|
|
%systemd_postun kojira.service
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Nov 07 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.35.1-3.inferit
|
|
|
|
|
|
|
|
- Update to 1.35.1-3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 24 2024 Mike McLean <mikem@redhat.com> - 1.35.1-2
|
|
|
|
|
|
|
|
- Backport PR #4228: wait for a current repo by default
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 08 2024 Kevin Fenzi <kevin@scrye.com> - 1.35.1-1
|
|
|
|
|
|
|
|
- Update to 1.35.1. Fixes rhbz#2316304
|
|
|
|
|
|
|
|
- Fixes CVE-2024-9427
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 18 2024 Kevin Fenzi <kevin@scrye.com> - 1.35.0-1
|
|
|
|
|
|
|
|
- Update to 1.35.0. Fixes rhbz#2312848
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 1.34.1-6
|
|
|
|
|
|
|
|
- convert license to SPDX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 26 2024 Adam Williamson <awilliam@redhat.com> - 1.34.1-5
|
|
|
|
|
|
|
|
- Backport PR #4184 to support overriding version and releasever for Kiwi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 22 2024 Adam Williamson <awilliam@redhat.com> - 1.34.1-4
|
|
|
|
|
|
|
|
- Backport PR #4157 to support overriding Kiwi image file name format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.34.1-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.34.1-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 05 2024 Kevin Fenzi <kevin@scrye.com> - 1.34.1-1
|
|
|
|
|
|
|
|
- Upgrade to 1.34.1. Fixes rhbz#2283973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 22 2024 Kevin Fenzi <kevin@scrye.com> - 1.34.0-3
|
|
|
|
|
|
|
|
- Add back in missing schema files. rhbz#2270743
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 20 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.34.0-2.inferit
|
|
|
|
|
|
|
|
- Upgrade to 1.34.0-2
|
|
|
|
|
|
|
|
- Rebuild for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 18 2024 Kevin Fenzi <kevin@scrye.com> - 1.34.0-2
|
|
|
|
|
|
|
|
- Carry scm policy plugin for hub, it's already upstream
|
|
|
|
|
|
|
|
- Use dnf5 compatible 'group install' command
|
|
|
|
|
|
|
|
- Allow specifying with a tag value what arches noarch builds happen on.
|
|
|
|
|
|
|
|
- Fix image-build to not pass units to oz (to avoid GB/GiB issues)
|
|
|
|
|
|
|
|
- Fix a typo in scheduler (already upstreamed)
|
|
|
|
|
|
|
|
- Add back index for rpminfo table that was mistakenly dropped.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Kevin Fenzi <kevin@scrye.com> - 1.34.0-1
|
|
|
|
|
|
|
|
- Update to 1.34.0. Fixes rhbz#2260055
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33.1-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33.1-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 16 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.33.1-2
|
|
|
|
|
|
|
|
- MSVSphere config
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33.1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 14 2023 Kevin Fenzi <kevin@scrye.com> - 1.33.1-1
|
|
|
|
|
|
|
|
- Update to 1.31.1. Fixes rhbz#2222032
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.33.0-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 24 2023 Kevin Fenzi <kevin@scrye.com> - 1.33.0-1
|
|
|
|
* Wed May 24 2023 Kevin Fenzi <kevin@scrye.com> - 1.33.0-1
|
|
|
|
- Update to 1.33.0. Fixes rhbz#2209371
|
|
|
|
- Update to 1.33.0. Fixes rhbz#2209371
|
|
|
|
|
|
|
|
|