From ee4cfaa25ece5f73dc7d1221fb269e1c2b918516 Mon Sep 17 00:00:00 2001 From: James Antill Date: Feb 24 2021 18:49:15 +0000 Subject: Add a koji.conf.d file for CentOS stream. --- diff --git a/centpkg.spec b/centpkg.spec index 80a886a..5b7a69d 100644 --- a/centpkg.spec +++ b/centpkg.spec @@ -48,6 +48,7 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %doc README.md COPYING %config %{_sysconfdir}/rpkg/centpkg.conf +%config %{_sysconfdir}/koji.conf.d/centpkg.conf %{_bindir}/%{name} %{python_sitelib}/* diff --git a/setup.py b/setup.py index 77756b0..dfca494 100644 --- a/setup.py +++ b/setup.py @@ -41,5 +41,6 @@ setup( packages=['centpkg'], install_requires=get_requirements(), scripts=['src/bin/centpkg'], - data_files=[('/etc/rpkg',['src/centpkg.conf']),] + data_files=[('/etc/rpkg',['src/centpkg.conf']), + ('/etc/koji.conf.d',['src/stream.conf'])] ) diff --git a/src/stream.conf b/src/stream.conf new file mode 100644 index 0000000..91a7715 --- /dev/null +++ b/src/stream.conf @@ -0,0 +1,21 @@ +; configuration for centpkg compat. to talk to the CentOS Stream koji instance +; can be used via. koji -p stream + +[stream] +; url of XMLRPC server +server = https://kojihub.stream.rdu2.redhat.com/kojihub + +weburl = https://kojihub.stream.rdu2.redhat.com/koji + +; url of package download site +topurl = http://kojihub.stream.rdu2.redhat.com/kojifiles + +authtype = kerberos +;krb_rdns = false + +use_fast_upload = yes + +anon_retry = yes +krbservice = kojihub +topdir = /mnt/koji +