diff --git a/packages/client/foreman_ygg_worker/foreman_ygg_worker-rpmlintrc b/packages/client/foreman_ygg_worker/foreman_ygg_worker-rpmlintrc new file mode 100644 index 0000000000..979a0128ee --- /dev/null +++ b/packages/client/foreman_ygg_worker/foreman_ygg_worker-rpmlintrc @@ -0,0 +1,6 @@ +# This seems ok to me +addFilter('invalid-url') + +# Ignore failing suse specific checks +setBadness("suse-dbus-unauthorized-service", 0) +setBadness("polkit-unauthorized-privilege", 0) diff --git a/packages/client/foreman_ygg_worker/foreman_ygg_worker.spec b/packages/client/foreman_ygg_worker/foreman_ygg_worker.spec index a280c6724c..35fea99528 100644 --- a/packages/client/foreman_ygg_worker/foreman_ygg_worker.spec +++ b/packages/client/foreman_ygg_worker/foreman_ygg_worker.spec @@ -16,22 +16,20 @@ Name: foreman_ygg_worker Version: 0.3.1 Summary: Worker service for yggdrasil that can act as pull client for Foreman Remote Execution -Release: 1%{?dist} +Release: 2%{?dist} License: MIT Source0: https://github.com/%{repo_orgname}/%{repo_name}/releases/download/v%{version}/%{repo_name}-%{version}.tar.gz Url: https://github.com/%{repo_orgname}/%{repo_name}/ -# suse leap 15.5 doesn't define go_arches -%if 0%{?suse_version} -%define go_arches %{ix86} x86_64 %{arm} aarch64 ppc64le -%endif +# set only if go_arches is defined +%if %{?go_arches:1}%{!?go_arches:0} ExclusiveArch: %{go_arches} +%endif BuildRequires: systemd-rpm-macros %if 0%{?suse_version} -BuildRequires: go -BuildRequires: golang-packaging +BuildRequires: (golang-packaging or go) %else BuildRequires: golang %if 0%{?rhel} >= 9 || 0%{?fedora} @@ -81,6 +79,10 @@ EOF %dir %{yggdrasil_libexecdir} %dir %{_sysconfdir}/yggdrasil %dir %{yggdrasil_worker_conf_dir} +%dir %{_datadir}/dbus-1 +%dir %{_datadir}/dbus-1/system.d +%dir %{_datadir}/dbus-1/system-services +%dir %{_unitdir} %endif %{yggdrasil_libexecdir}/%{name} %{yggdrasil_worker_conf_dir}/foreman.toml @@ -91,6 +93,12 @@ EOF %doc README.md %changelog +* Tue Oct 21 2025 Markus Bucher - 0.3.1-2 +- Package missing files when building on SLES +- Add rpmlintrc (for SLES builds on OBS) +- SLES does not provide golang-packaging +- Suse build does not provide go_arches macro + * Wed Apr 30 2025 Odilon Sousa - 0.3.1-1 - Release foreman_ygg_worker 0.3.1 diff --git a/packages/client/katello-host-tools/katello-host-tools.spec b/packages/client/katello-host-tools/katello-host-tools.spec index 2a5b198e17..7937d56964 100644 --- a/packages/client/katello-host-tools/katello-host-tools.spec +++ b/packages/client/katello-host-tools/katello-host-tools.spec @@ -34,7 +34,7 @@ Name: katello-host-tools Version: 4.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A set of commands and yum plugins that support a Katello host Group: Development/Languages %if 0%{?suse_version} @@ -237,8 +237,10 @@ exit 0 %if %{build_tracer} %exclude %{katello_libdir}/tracer +%if %{dnf_install} || %{yum_install} %exclude %{plugins_dir} %endif +%endif %if %{yum_install} || %{zypper_install} %attr(750, root, root) %{_sbindir}/katello-package-upload @@ -289,6 +291,9 @@ exit 0 %changelog +* Tue Oct 21 2025 Markus Bucher - 4.5.0-2 +- Fix missing package upload on SLES 15 + * Thu May 08 2025 pavansomashekar - 4.5.0-1 - Update to 4.5.0