File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- %global __cargo_is_lib() false
1+ %bcond_with check
2+ %global cargo_install_lib 0
23%global pkgname greenboot
34
45Name: greenboot-rs
56Version: 0.16.0
6- Release: 3 %{?dist }
7+ Release: 4 %{?dist }
78Summary: Generic Health Check Framework for systemd
89License: (Apache-2.0 OR MIT ) AND BSD-3-Clause
910URL: https://github.com/fedora-iot/greenboot-rs
1011Source0: %{url }/releases/download/%{version }/%{name }-%{version }.tar.gz
1112
12- ExcludeArch: s390x i686 %{power64 }
13+ ExcludeArch: %{ix86 }
1314
1415%if 0%{?centos } && ! 0%{?eln }
1516BuildRequires: rust-toolset
1617%else
17- BuildRequires: rust-packaging
18+ BuildRequires: cargo-rpm-macros
1819%endif
1920BuildRequires: systemd-rpm-macros
2021
@@ -59,7 +60,7 @@ This package adds some default healthchecks for greenboot.
5960%cargo_prep
6061
6162%generate_buildrequires
62- %cargo_generate_buildrequires -a
63+ %cargo_generate_buildrequires
6364
6465%build
6566%cargo_build
@@ -137,6 +138,9 @@ install -DpZm 0644 usr/lib/systemd/system/greenboot-healthcheck.service.d/10-net
137138%{_unitdir }/greenboot-healthcheck.service.d/10-network-online.conf
138139
139140%changelog
141+ * Mon Aug 25 2025 Sayan Paul <saypaul@redhat.com> - 0.16.0-4
142+ - Adding rust packaging best practices
143+
140144* Fri Aug 15 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 0.16.0-3
141145- Various spec file cleanups
142146
You can’t perform that action at this time.
0 commit comments