@@ -41,94 +41,108 @@ Requires: rpm-ostree
4141Requires: pam >= 1.4.0
4242# While not strictly necessary to generate the motd, the main use-case of this package is to display it on SSH login
4343Recommends: openssh
44- Provides: greenboot-auto-update-fallback
45- Obsoletes: greenboot-auto-update-fallback <= 0.12.0
46- Provides: greenboot-grub2
47- Obsoletes: greenboot-grub2 <= 0.12.0
48- Provides: greenboot-reboot
49- Obsoletes: greenboot-reboot <= 0.12.0
50- Provides: greenboot-status
51- Obsoletes: greenboot-status <= 0.12.0
52- Provides: greenboot-rpm-ostree-grub2
53- Obsoletes: greenboot-rpm-ostree-grub2 <= 0.12.0
5444# List of bundled crate in vendor tarball, generated with:
5545# cargo metadata --locked --format-version 1 | CRATE_NAME="greenboot" ./bundled-provides.jq
5646Provides: bundled(crate(ahash)) = 0.7.6
57- Provides: bundled(crate(aho-corasick)) = 0.7.19
58- Provides: bundled(crate(anyhow)) = 1.0.65
59- Provides: bundled(crate(async-trait)) = 0.1.57
47+ Provides: bundled(crate(aho-corasick)) = 0.7.20
48+ Provides: bundled(crate(anstream)) = 0.2.6
49+ Provides: bundled(crate(anstyle)) = 0.3.5
50+ Provides: bundled(crate(anstyle-parse)) = 0.1.1
51+ Provides: bundled(crate(anstyle-wincon)) = 0.2.0
52+ Provides: bundled(crate(anyhow)) = 1.0.70
53+ Provides: bundled(crate(async-trait)) = 0.1.68
6054Provides: bundled(crate(atty)) = 0.2.14
6155Provides: bundled(crate(autocfg)) = 1.1.0
62- Provides: bundled(crate(base64)) = 0.13.0
56+ Provides: bundled(crate(base64)) = 0.13.1
6357Provides: bundled(crate(bitflags)) = 1.3.2
64- Provides: bundled(crate(block-buffer)) = 0.10.3
58+ Provides: bundled(crate(block-buffer)) = 0.10.4
59+ Provides: bundled(crate(cc)) = 1.0.79
6560Provides: bundled(crate(cfg-if)) = 1.0.0
66- Provides: bundled(crate(clap)) = 4.0.4
67- Provides: bundled(crate(clap_derive)) = 4.0.1
68- Provides: bundled(crate(clap_lex)) = 0.3.0
69- Provides: bundled(crate(config)) = 0.13.2
70- Provides: bundled(crate(cpufeatures)) = 0.2.5
61+ Provides: bundled(crate(clap)) = 4.2.0
62+ Provides: bundled(crate(clap_builder)) = 4.2.0
63+ Provides: bundled(crate(clap_derive)) = 4.2.0
64+ Provides: bundled(crate(clap_lex)) = 0.4.1
65+ Provides: bundled(crate(concolor-override)) = 1.0.0
66+ Provides: bundled(crate(concolor-query)) = 0.3.3
67+ Provides: bundled(crate(config)) = 0.13.3
68+ Provides: bundled(crate(cpufeatures)) = 0.2.6
7169Provides: bundled(crate(crypto-common)) = 0.1.6
72- Provides: bundled(crate(digest)) = 0.10.5
70+ Provides: bundled(crate(digest)) = 0.10.6
7371Provides: bundled(crate(dlv-list)) = 0.3.0
7472Provides: bundled(crate(env_logger)) = 0.7.1
75- Provides: bundled(crate(generic-array)) = 0.14.6
76- Provides: bundled(crate(getrandom)) = 0.2.7
77- Provides: bundled(crate(glob)) = 0.3.0
73+ Provides: bundled(crate(errno)) = 0.3.0
74+ Provides: bundled(crate(errno-dragonfly)) = 0.1.2
75+ Provides: bundled(crate(figlet-rs)) = 0.1.5
76+ Provides: bundled(crate(generic-array)) = 0.14.7
77+ Provides: bundled(crate(getrandom)) = 0.2.8
78+ Provides: bundled(crate(glob)) = 0.3.1
7879Provides: bundled(crate(hashbrown)) = 0.12.3
79- Provides: bundled(crate(heck)) = 0.4.0
80+ Provides: bundled(crate(heck)) = 0.4.1
8081Provides: bundled(crate(hermit-abi)) = 0.1.19
82+ Provides: bundled(crate(hermit-abi)) = 0.3.1
8183Provides: bundled(crate(humantime)) = 1.3.0
82- Provides: bundled(crate(itoa)) = 1.0.3
84+ Provides: bundled(crate(io-lifetimes)) = 1.0.9
85+ Provides: bundled(crate(is-terminal)) = 0.4.6
86+ Provides: bundled(crate(itoa)) = 1.0.6
8387Provides: bundled(crate(json5)) = 0.4.1
8488Provides: bundled(crate(lazy_static)) = 1.4.0
85- Provides: bundled(crate(libc)) = 0.2.133
89+ Provides: bundled(crate(libc)) = 0.2.140
8690Provides: bundled(crate(linked-hash-map)) = 0.5.6
91+ Provides: bundled(crate(linux-raw-sys)) = 0.3.0
8792Provides: bundled(crate(log)) = 0.4.17
8893Provides: bundled(crate(memchr)) = 2.5.0
8994Provides: bundled(crate(memoffset)) = 0.6.5
9095Provides: bundled(crate(minimal-lexical)) = 0.2.1
91- Provides: bundled(crate(nix)) = 0.25.0
92- Provides: bundled(crate(nom)) = 7.1.1
93- Provides: bundled(crate(once_cell)) = 1.15.0
96+ Provides: bundled(crate(nix)) = 0.25.1
97+ Provides: bundled(crate(nom)) = 7.1.3
98+ Provides: bundled(crate(once_cell)) = 1.17.1
9499Provides: bundled(crate(ordered-multimap)) = 0.4.3
95- Provides: bundled(crate(os_str_bytes)) = 6.3.0
96100Provides: bundled(crate(pathdiff)) = 0.2.1
97- Provides: bundled(crate(pest)) = 2.3.1
98- Provides: bundled(crate(pest_derive)) = 2.3.1
99- Provides: bundled(crate(pest_generator)) = 2.3.1
100- Provides: bundled(crate(pest_meta)) = 2.3.1
101+ Provides: bundled(crate(pest)) = 2.5.6
102+ Provides: bundled(crate(pest_derive)) = 2.5.6
103+ Provides: bundled(crate(pest_generator)) = 2.5.6
104+ Provides: bundled(crate(pest_meta)) = 2.5.6
101105Provides: bundled(crate(pin-utils)) = 0.1.0
102106Provides: bundled(crate(pretty_env_logger)) = 0.4.0
103- Provides: bundled(crate(proc-macro-error)) = 1.0.4
104- Provides: bundled(crate(proc-macro-error-attr)) = 1.0.4
105- Provides: bundled(crate(proc-macro2)) = 1.0.43
107+ Provides: bundled(crate(proc-macro2)) = 1.0.54
106108Provides: bundled(crate(quick-error)) = 1.2.3
107- Provides: bundled(crate(quote)) = 1.0.21
108- Provides: bundled(crate(regex)) = 1.6.0
109- Provides: bundled(crate(regex-syntax)) = 0.6.27
109+ Provides: bundled(crate(quote)) = 1.0.26
110+ Provides: bundled(crate(regex)) = 1.7.3
111+ Provides: bundled(crate(regex-syntax)) = 0.6.29
110112Provides: bundled(crate(ron)) = 0.7.1
111113Provides: bundled(crate(rust-ini)) = 0.18.0
112- Provides: bundled(crate(ryu)) = 1.0.11
113- Provides: bundled(crate(serde)) = 1.0.144
114- Provides: bundled(crate(serde_derive)) = 1.0.144
115- Provides: bundled(crate(serde_json)) = 1.0.85
116- Provides: bundled(crate(sha1)) = 0.10.5
114+ Provides: bundled(crate(rustix)) = 0.37.4
115+ Provides: bundled(crate(ryu)) = 1.0.13
116+ Provides: bundled(crate(serde)) = 1.0.159
117+ Provides: bundled(crate(serde_derive)) = 1.0.159
118+ Provides: bundled(crate(serde_json)) = 1.0.95
119+ Provides: bundled(crate(sha2)) = 0.10.6
117120Provides: bundled(crate(strsim)) = 0.10.0
118- Provides: bundled(crate(syn)) = 1.0.100
119- Provides: bundled(crate(termcolor)) = 1.1.3
120- Provides: bundled(crate(thiserror)) = 1.0.35
121- Provides: bundled(crate(thiserror-impl)) = 1.0.35
122- Provides: bundled(crate(toml)) = 0.5.9
123- Provides: bundled(crate(typenum)) = 1.15.0
121+ Provides: bundled(crate(syn)) = 1.0.109
122+ Provides: bundled(crate(syn)) = 2.0.11
123+ Provides: bundled(crate(termcolor)) = 1.2.0
124+ Provides: bundled(crate(thiserror)) = 1.0.40
125+ Provides: bundled(crate(thiserror-impl)) = 1.0.40
126+ Provides: bundled(crate(toml)) = 0.5.11
127+ Provides: bundled(crate(typenum)) = 1.16.0
124128Provides: bundled(crate(ucd-trie)) = 0.1.5
125- Provides: bundled(crate(unicode-ident)) = 1.0.4
129+ Provides: bundled(crate(unicode-ident)) = 1.0.8
130+ Provides: bundled(crate(utf8parse)) = 0.2.1
126131Provides: bundled(crate(version_check)) = 0.9.4
127132Provides: bundled(crate(wasi)) = 0.11.0+wasi_snapshot_preview1
128133Provides: bundled(crate(winapi)) = 0.3.9
129134Provides: bundled(crate(winapi-i686-pc-windows-gnu)) = 0.4.0
130135Provides: bundled(crate(winapi-util)) = 0.1.5
131136Provides: bundled(crate(winapi-x86_64 -pc-windows-gnu)) = 0.4.0
137+ Provides: bundled(crate(windows-sys)) = 0.45.0
138+ Provides: bundled(crate(windows-targets)) = 0.42.2
139+ Provides: bundled(crate(windows_aarch64_gnullvm)) = 0.42.2
140+ Provides: bundled(crate(windows_aarch64_msvc)) = 0.42.2
141+ Provides: bundled(crate(windows_i686_gnu)) = 0.42.2
142+ Provides: bundled(crate(windows_i686_msvc)) = 0.42.2
143+ Provides: bundled(crate(windows_x86_64_gnu)) = 0.42.2
144+ Provides: bundled(crate(windows_x86_64_gnullvm)) = 0.42.2
145+ Provides: bundled(crate(windows_x86_64_msvc)) = 0.42.2
132146Provides: bundled(crate(yaml-rust)) = 0.4.5
133147
134148%description
@@ -147,7 +161,11 @@ cat >.cargo/config << EOF
147161[build]
148162rustc = "%{__rustc}"
149163rustdoc = "%{__rustdoc}"
164+ %if 0%{?rhel} && !0%{?eln}
150165rustflags = %{__global_rustflags_toml}
166+ %else
167+ rustflags = "%{__global_rustflags_toml}"
168+ %endif
151169
152170[install]
153171root = "%{buildroot}%{_prefix}"
@@ -182,6 +200,7 @@ install -Dpm0644 -t %{buildroot}%{_unitdir} \
182200# add config
183201mkdir -p %{buildroot }%{_exec_prefix }/lib/motd.d/
184202mkdir -p %{buildroot }%{_libexecdir }/%{name }
203+ install -Dpm0644 -t %{buildroot }%{_sysconfdir }/%{name } etc/greenboot/greenboot.conf
185204mkdir -p %{buildroot }%{_sysconfdir }/%{name }/check/required.d
186205mkdir %{buildroot }%{_sysconfdir }/%{name }/check/wanted.d
187206mkdir %{buildroot }%{_sysconfdir }/%{name }/green.d
@@ -196,23 +215,20 @@ mkdir -p %{buildroot}%{_tmpfilesdir}
196215
197216%post
198217%systemd_post greenboot.service
199- %systemd_post greenboot-trigger.service
200218
201219%preun
202220%systemd_preun greenboot.service
203- %systemd_preun greenboot-trigger.service
204221
205222%postun
206223%systemd_postun greenboot.service
207- %systemd_postun greenboot-trigger.service
208224
209225%files
210226%doc README.md
211227%license LICENSE
212228%dir %{_libexecdir }/%{name }
213229%{_libexecdir }/%{name }/%{name }
214230%{_unitdir }/greenboot.service
215- %{_unitdir }/ greenboot-trigger.service
231+ %{_sysconfdir }/%{ name }/ greenboot.conf
216232%dir %{_prefix }/lib/%{name }
217233%dir %{_prefix }/lib/%{name }/check
218234%dir %{_prefix }/lib/%{name }/check/required.d
0 commit comments