From 365bcb44ddc24caefba53d7090b40e197c8d9447 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Mon, 16 Oct 2023 10:08:36 +0300 Subject: [PATCH] MSVSphere config --- ...nfig.patch => 0001-msvsphere-config.patch} | 25 ++++++++++++++----- SPECS/koji.spec | 9 ++++--- 2 files changed, 24 insertions(+), 10 deletions(-) rename SOURCES/{fedora-config.patch => 0001-msvsphere-config.patch} (63%) diff --git a/SOURCES/fedora-config.patch b/SOURCES/0001-msvsphere-config.patch similarity index 63% rename from SOURCES/fedora-config.patch rename to SOURCES/0001-msvsphere-config.patch index d27a84a..d0971aa 100644 --- a/SOURCES/fedora-config.patch +++ b/SOURCES/0001-msvsphere-config.patch @@ -1,19 +1,29 @@ -diff --color -Nur koji-1.27.0.orig/cli/koji.conf koji-1.27.0/cli/koji.conf ---- koji-1.27.0.orig/cli/koji.conf 2021-11-18 02:28:38.000000000 -0800 -+++ koji-1.27.0/cli/koji.conf 2021-11-18 13:33:55.468796788 -0800 +From 895f7262039233b0fe27d867d5cdf401a6d3c3b9 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Mon, 16 Oct 2023 10:02:39 +0300 +Subject: [PATCH] msvsphere config + +--- + cli/koji.conf | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/cli/koji.conf b/cli/koji.conf +index 331751d..fad50df 100644 +--- a/cli/koji.conf ++++ b/cli/koji.conf @@ -4,12 +4,15 @@ ;url of XMLRPC server ;server = http://hub.example.com/kojihub -+server = https://koji.fedoraproject.org/kojihub ++server = https://koji.inferitos.ru/kojihub ;url of web interface ;weburl = http://www.example.com/koji -+weburl = https://koji.fedoraproject.org/koji ++weburl = https://koji.inferitos.ru/koji/ ;url of package download site ;pkgurl = http://www.example.com/packages -+topurl = https://kojipkgs.fedoraproject.org ++topurl = https://koji.inferitos.ru/kojifiles/packages/ ;path to the koji top directory ;topdir = /mnt/koji @@ -42,3 +52,6 @@ diff --color -Nur koji-1.27.0.orig/cli/koji.conf koji-1.27.0/cli/koji.conf + +; use the fast upload feature of koji by default +use_fast_upload = yes +-- +2.39.3 + diff --git a/SPECS/koji.spec b/SPECS/koji.spec index 059932a..a1d8825 100644 --- a/SPECS/koji.spec +++ b/SPECS/koji.spec @@ -9,15 +9,15 @@ Name: koji Version: 1.33.0 -Release: 1%{?dist} +Release: 1%{?dist}.inferit # the included arch lib from yum's rpmUtils is GPLv2+ License: LGPLv2 and GPLv2+ Summary: Build system tools URL: https://pagure.io/koji/ Source0: https://releases.pagure.org/koji/koji-%{version}.tar.bz2 -# Not upstreamable -Patch1000: fedora-config.patch +# MSVSphere +Patch1000: 0001-msvsphere-config.patch BuildArch: noarch Requires: python%{python3_pkgversion}-%{name} = %{version}-%{release} @@ -348,7 +348,8 @@ done %systemd_postun kojira.service %changelog -* Mon Oct 16 2023 Sergey Cherevko - 1.33.0-1 +* Mon Oct 16 2023 Sergey Cherevko - 1.33.0-1.inferit +- MSVSphere config - Rebuilt for MSVSphere 9.2 * Wed May 24 2023 Kevin Fenzi - 1.33.0-1