Blame SPECS/rhc.spec

d055f4
%define debug_package %{nil}
d055f4
d055f4
Name:    rhc
7d26d3
Version: 0.2.0
af1c57
Release: 3%{?dist}
d055f4
Epoch:   1
d055f4
Summary: Message dispatch agent for cloud-connected systems
d055f4
License: GPLv3
d055f4
URL:     https://github.com/redhatinsights/yggdrasil
d055f4
d055f4
Source0: %{name}-%{version}.tar.gz
d055f4
Source1: config.toml
d055f4
7d26d3
# Fixed upstream
7d26d3
Patch0:  0001-fix-Improve-output-during-disconnect.patch
7d26d3
Patch1:  0002-feat-Include-Description-in-help-output.patch
af1c57
Patch2:  0003-fix-report-active-dispatchers-when-connecting-to-bro.patch
7d26d3
d055f4
ExclusiveArch: %{go_arches}
d055f4
d055f4
BuildRequires: git
d055f4
BuildRequires: golang
d055f4
BuildRequires: dbus-devel
d055f4
BuildRequires: systemd-devel
d055f4
d055f4
d055f4
%description
d055f4
%{name} is pair of utilities that register systems with RHSM and establishes
d055f4
a receiving queue for instructions to be sent to the system via a broker.
d055f4
d055f4
%prep
7d26d3
%autosetup -p1
d055f4
d055f4
d055f4
%build
d055f4
make PREFIX=%{_prefix} \
d055f4
     SYSCONFDIR=%{_sysconfdir} \
d055f4
     LOCALSTATEDIR=%{_localstatedir} \
d055f4
     SHORTNAME=%{name} \
d055f4
     LONGNAME=%{name} \
d055f4
     PKGNAME=%{name} \
d055f4
     'BRANDNAME=Red Hat connector' \
93d32d
     TOPICPREFIX=redhat/insights \
93d32d
     VERSION=%{version} \
7d26d3
     DATAHOST=cert.cloud.redhat.com \
7d26d3
     'PROVIDER=Red Hat'
d055f4
d055f4
d055f4
%install
d055f4
make PREFIX=%{_prefix} \
d055f4
     SYSCONFDIR=%{_sysconfdir} \
d055f4
     LOCALSTATEDIR=%{_localstatedir} \
d055f4
     DESTDIR=%{buildroot} \
d055f4
     SHORTNAME=%{name} \
d055f4
     LONGNAME=%{name} \
d055f4
     PKGNAME=%{name} \
d055f4
     'BRANDNAME=Red Hat connector' \
d055f4
     TOPICPREFIX=redhat/insights \
93d32d
     VERSION=%{version} \
93d32d
     DATAHOST=cert.cloud.redhat.com \
7d26d3
     'PROVIDER=Red Hat' \
d055f4
     install
d055f4
%{__install} -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/
d055f4
d055f4
d055f4
%files
d055f4
%doc README.md
d055f4
%{_bindir}/%{name}
d055f4
%{_sbindir}/%{name}d
7d26d3
%config(noreplace) %{_sysconfdir}/%{name}/config.toml
d055f4
%{_unitdir}/%{name}d.service
d055f4
%{_datadir}/bash-completion/completions/*
d055f4
%{_mandir}/man1/*
d055f4
%{_prefix}/share/pkgconfig/%{name}.pc
d055f4
%{_libexecdir}/%{name}
d055f4
d055f4
d055f4
%changelog
af1c57
* Fri Sep 24 2021 Link Dupont <link@redhat.com> - 0.2.0-3
af1c57
- Fix an issue reporting workers on reconnect (Resolves: RHBZ#2007667)
af1c57
af1c57
* Thu Jul  1 2021 Link Dupont <link@redhat.com> - 0.2.0-2
af1c57
- Add two patches that fix some UX issues
af1c57
af1c57
* Mon Jun 28 2021 Link Dupont <link@redhat.com> - 0.2.0-1
7d26d3
- New upstream release
7d26d3
- Mark config file as a noreplace config file
af1c57
af1c57
* Wed Apr 28 2021 Link Dupont <link@redhat.com> - 0.1.4-2
af1c57
- Rebuild for fixed binutils on aarch64 (Resolves: RHBZ#1954449)
7d26d3
93d32d
* Fri Apr  9 2021 Link Dupont <link@redhat.com> - 0.1.4-1
93d32d
- New upstream release
93d32d
d055f4
* Fri Feb 19 2021 Link Dupont <link@redhat.com> - 0.1.2-2
d055f4
- Update default broker URI
d055f4
- Set Epoch to 1
d055f4
d055f4
* Thu Feb 18 2021 Link Dupont <link@redhat.com> - 0.1.2-1
d055f4
- New upstream release
d055f4
d055f4
* Wed Feb 17 2021 Link Dupont <link@redhat.com> - 0.1.1-1
d055f4
- New upstream release
d055f4
d055f4
* Fri Feb 12 2021 Link Dupont <link@redhat.com> - 0.1-1
d055f4
- Initial release