diff --git a/SPECS/rhc.spec b/SPECS/rhc.spec index aa474d8..35dd18e 100644 --- a/SPECS/rhc.spec +++ b/SPECS/rhc.spec @@ -8,9 +8,9 @@ Name: rhc Version: 0.2.1 -Release: 3%{?dist} +Release: 7%{?dist} Epoch: 1 -Summary: Message dispatch agent for cloud-connected systems +Summary: rhc connects the system to Red Hat hosted services License: GPLv3 URL: https://github.com/redhatinsights/rhc @@ -34,10 +34,11 @@ BuildRequires: golang BuildRequires: dbus-devel BuildRequires: systemd-devel +%define _description %{expand:%{name} is a client tool and daemon that connects the system to Red Hat hosted +services enabling system and subscription management.} %description -%{name} is pair of utilities that register systems with RHSM and establishes -a receiving queue for instructions to be sent to the system via a broker. +%{_description} %global makeflags %{expand:PREFIX=%{_prefix} \\ SYSCONFDIR=%{_sysconfdir} \\ @@ -72,7 +73,7 @@ cd %{_builddir}/%{name}/yggdrasil-%{yggdrasil_ver} make %{makeflags} cd %{_builddir}/%{name}/yggdrasil-worker-package-manager -go build -o rhc-package-manager-worker -mod=vendor . +go build %{buildflags} -ldflags="%{goldflags}" -o rhc-package-manager-worker -mod=vendor . cd %{_builddir}/%{name}/%{name}-%{version} make %{makeflags} @@ -113,6 +114,15 @@ make %{makeflags} \ %changelog +* Mon Mar 21 2022 Link Dupont - 0.2.1-7 +- Use correct macro syntax for ldflags (RHBZ#2059690) + +* Tue Mar 1 2022 Link Dupont - 0.2.1-6 +- Ensure worker is built with hardening compiler flags (RHBZ#2059690) + +* Tue Feb 22 2022 Link Dupont - 0.2.1-4 +- Update summary and description (RHBZ#2057153) + * Tue Feb 15 2022 Link Dupont - 0.2.1-3 - Include patch to collect and report errors during disconnect