|
|
a0582a |
%define debug_package %{nil}
|
|
|
a0582a |
|
|
|
a0582a |
Name: rhc
|
|
|
a0582a |
Version: 0.2.0
|
|
|
a0582a |
Release: 2%{?dist}
|
|
|
a0582a |
Epoch: 1
|
|
|
a0582a |
Summary: Message dispatch agent for cloud-connected systems
|
|
|
a0582a |
License: GPLv3
|
|
|
a0582a |
URL: https://github.com/redhatinsights/yggdrasil
|
|
|
a0582a |
|
|
|
a0582a |
Source0: %{name}-%{version}.tar.gz
|
|
|
a0582a |
Source1: config.toml
|
|
|
a0582a |
|
|
|
a0582a |
ExclusiveArch: %{go_arches}
|
|
|
a0582a |
|
|
|
a0582a |
BuildRequires: git
|
|
|
a0582a |
BuildRequires: golang
|
|
|
a0582a |
BuildRequires: dbus-devel
|
|
|
a0582a |
BuildRequires: systemd-devel
|
|
|
a0582a |
|
|
|
a0582a |
|
|
|
a0582a |
%description
|
|
|
a0582a |
%{name} is pair of utilities that register systems with RHSM and establishes
|
|
|
a0582a |
a receiving queue for instructions to be sent to the system via a broker.
|
|
|
a0582a |
|
|
|
a0582a |
%prep
|
|
|
a0582a |
%autosetup
|
|
|
a0582a |
|
|
|
a0582a |
|
|
|
a0582a |
%build
|
|
|
a0582a |
export BUILDFLAGS='-buildmode pie'
|
|
|
a0582a |
make PREFIX=%{_prefix} \
|
|
|
a0582a |
SYSCONFDIR=%{_sysconfdir} \
|
|
|
a0582a |
LOCALSTATEDIR=%{_localstatedir} \
|
|
|
a0582a |
SHORTNAME=%{name} \
|
|
|
a0582a |
LONGNAME=%{name} \
|
|
|
a0582a |
PKGNAME=%{name} \
|
|
|
a0582a |
'BRANDNAME=Red Hat connector' \
|
|
|
a0582a |
TOPICPREFIX=redhat/insights \
|
|
|
a0582a |
VERSION=%{version} \
|
|
|
a0582a |
DATAHOST=cert.cloud.redhat.com \
|
|
|
a0582a |
'PROVIDER=Red Hat'
|
|
|
a0582a |
|
|
|
a0582a |
|
|
|
a0582a |
%install
|
|
|
a0582a |
export BUILDFLAGS='-buildmode pie'
|
|
|
a0582a |
make PREFIX=%{_prefix} \
|
|
|
a0582a |
SYSCONFDIR=%{_sysconfdir} \
|
|
|
a0582a |
LOCALSTATEDIR=%{_localstatedir} \
|
|
|
a0582a |
DESTDIR=%{buildroot} \
|
|
|
a0582a |
SHORTNAME=%{name} \
|
|
|
a0582a |
LONGNAME=%{name} \
|
|
|
a0582a |
PKGNAME=%{name} \
|
|
|
a0582a |
'BRANDNAME=Red Hat connector' \
|
|
|
a0582a |
TOPICPREFIX=redhat/insights \
|
|
|
a0582a |
VERSION=%{version} \
|
|
|
a0582a |
DATAHOST=cert.cloud.redhat.com \
|
|
|
a0582a |
'PROVIDER=Red Hat' \
|
|
|
a0582a |
install
|
|
|
a0582a |
%{__install} -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/
|
|
|
a0582a |
|
|
|
a0582a |
|
|
|
a0582a |
%files
|
|
|
a0582a |
%doc README.md doc/tags.toml
|
|
|
a0582a |
%{_bindir}/%{name}
|
|
|
a0582a |
%{_sbindir}/%{name}d
|
|
|
a0582a |
%config(noreplace) %{_sysconfdir}/%{name}/config.toml
|
|
|
a0582a |
%{_unitdir}/%{name}d.service
|
|
|
a0582a |
%{_datadir}/bash-completion/completions/*
|
|
|
a0582a |
%{_mandir}/man1/*
|
|
|
a0582a |
%{_prefix}/share/pkgconfig/%{name}.pc
|
|
|
a0582a |
%{_libexecdir}/%{name}
|
|
|
a0582a |
|
|
|
a0582a |
|
|
|
a0582a |
%changelog
|
|
|
a0582a |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.2.0-2
|
|
|
a0582a |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
a0582a |
Related: rhbz#1991688
|
|
|
a0582a |
|
|
|
a0582a |
* Mon Jun 28 2021 Link Dupont <link@redhat.com> - 0.2.0-1
|
|
|
a0582a |
- New upstream release
|
|
|
a0582a |
|
|
|
a0582a |
* Fri Jun 25 2021 Link Dupont <link@redhat.com> - 0.1.99-5
|
|
|
a0582a |
- Mark config file as such
|
|
|
a0582a |
|
|
|
a0582a |
* Fri Jun 25 2021 Link Dupont <link@redhat.com> - 0.1.99-4
|
|
|
a0582a |
- New upstream snapshot
|
|
|
a0582a |
|
|
|
a0582a |
* Fri Jun 11 2021 Link Dupont <link@redhat.com> - 0.1.99-3
|
|
|
a0582a |
- Build executables as PIE programs
|
|
|
a0582a |
|
|
|
a0582a |
* Thu Jun 10 2021 Link Dupont <link@redhat.com> - 0.1.99-2
|
|
|
a0582a |
- Include missing disttag
|
|
|
a0582a |
|
|
|
a0582a |
* Tue May 25 2021 Link Dupont <link@redhat.com> - 0.1.99-1
|
|
|
a0582a |
- New upstream development release
|
|
|
a0582a |
|
|
|
a0582a |
* Wed Apr 28 2021 Link Dupont <link@redhat.com> - 0.1.4-2
|
|
|
a0582a |
- Rebuild for fixed binutils on aarch64 (Resolves: RHBZ#1954449)
|
|
|
a0582a |
|
|
|
a0582a |
* Fri Apr 9 2021 Link Dupont <link@redhat.com> - 0.1.4-1
|
|
|
a0582a |
- New upstream release
|
|
|
a0582a |
|
|
|
a0582a |
* Fri Feb 19 2021 Link Dupont <link@redhat.com> - 0.1.2-2
|
|
|
a0582a |
- Update default broker URI
|
|
|
a0582a |
- Set Epoch to 1
|
|
|
a0582a |
|
|
|
a0582a |
* Thu Feb 18 2021 Link Dupont <link@redhat.com> - 0.1.2-1
|
|
|
a0582a |
- New upstream release
|
|
|
a0582a |
|
|
|
a0582a |
* Wed Feb 17 2021 Link Dupont <link@redhat.com> - 0.1.1-1
|
|
|
a0582a |
- New upstream release
|
|
|
a0582a |
|
|
|
a0582a |
* Fri Feb 12 2021 Link Dupont <link@redhat.com> - 0.1-1
|
|
|
a0582a |
- Initial release
|