Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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)
22 changes: 15 additions & 7 deletions packages/client/foreman_ygg_worker/foreman_ygg_worker.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand All @@ -91,6 +93,12 @@ EOF
%doc README.md

%changelog
* Tue Oct 21 2025 Markus Bucher <[email protected]> - 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 <[email protected]> - 0.3.1-1
- Release foreman_ygg_worker 0.3.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -289,6 +291,9 @@ exit 0


%changelog
* Tue Oct 21 2025 Markus Bucher <[email protected]> - 4.5.0-2
- Fix missing package upload on SLES 15

* Thu May 08 2025 pavansomashekar <pavansomashekar> - 4.5.0-1
- Update to 4.5.0

Expand Down