%global forgeurl https://github.com/osbuild/koji-osbuild Name: koji-osbuild Version: 2 Release: 3%{?dist} Summary: Koji integration for osbuild composer %forgemeta License: ASL 2.0 URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}dist(setuptools) %description Koji integration for osbuild composer. %package hub Summary: Koji hub plugin for osbuild composer integration Requires: %{name} = %{version}-%{release} Requires: koji-hub Requires: python3-jsonschema %description hub Koji hub plugin for osbuild composer integration. %package builder Summary: Koji hub plugin for osbuild composer integration Requires: %{name} = %{version}-%{release} Requires: koji-builder Requires: python3-requests %description builder Koji builder plugin for osbuild composer integration. %package cli Summary: Koji client plugin for osbuild composer integration Requires: %{name} = %{version}-%{release} Requires: koji %description cli Koji client plugin for osbuild composer integration. %prep %forgesetup %build # no op %install install -d %{buildroot}/%{_prefix}/lib/koji-hub-plugins install -p -m 0755 plugins/hub/osbuild.py %{buildroot}/%{_prefix}/lib/koji-hub-plugins/ %py_byte_compile %{__python3} %{buildroot}/%{_prefix}/lib/koji-hub-plugins/osbuild.py install -d %{buildroot}/%{_prefix}/lib/koji-builder-plugins install -p -m 0755 plugins/builder/osbuild.py %{buildroot}/%{_prefix}/lib/koji-builder-plugins/ %py_byte_compile %{__python3} %{buildroot}/%{_prefix}/lib/koji-builder-plugins/osbuild.py install -d %{buildroot}%{python3_sitelib}/koji_cli_plugins install -p -m 0644 plugins/cli/osbuild.py %{buildroot}%{python3_sitelib}/koji_cli_plugins/osbuild.py %py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/koji_cli_plugins/osbuild.py %files %license LICENSE %doc README.md %files hub %{_prefix}/lib/koji-hub-plugins/osbuild.py %{_prefix}/lib/koji-hub-plugins/__pycache__/osbuild.* %files builder %{_prefix}/lib/koji-builder-plugins/osbuild.py %{_prefix}/lib/koji-builder-plugins/__pycache__/osbuild.* %files cli %{python3_sitelib}/koji_cli_plugins/osbuild.py %{python3_sitelib}/koji_cli_plugins/__pycache__/osbuild.* %changelog * Thu Jul 22 2021 Fedora Release Engineering - 2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2-2 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 2-1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Nov 3 2020 Christian Kellner - 2-0 - Upstream release 2 - Add python3-jsonschema dependency for builder sub-package. * Wed Sep 30 2020 Christian Kellner - 1-0 - Initial import.