| |
@@ -5,7 +5,7 @@
|
| |
%global crate zincati
|
| |
|
| |
Name: rust-%{crate}
|
| |
- Version: 0.0.4
|
| |
+ Version: 0.0.5
|
| |
Release: 1%{?dist}
|
| |
Summary: Update agent for Fedora CoreOS
|
| |
|
| |
@@ -34,7 +34,7 @@
|
| |
%description -n %{crate} %{_description}
|
| |
|
| |
%files -n %{crate}
|
| |
- %{_bindir}/zincati
|
| |
+ %{_libexecdir}/zincati
|
| |
%doc README.md
|
| |
%license COPYRIGHT LICENSE
|
| |
%dir %{_prefix}/lib/%{crate}
|
| |
@@ -77,6 +77,9 @@
|
| |
|
| |
%install
|
| |
%cargo_install
|
| |
+ # `zincati` should not be executed directly by users.
|
| |
+ mkdir -p %{buildroot}%{_libexecdir}
|
| |
+ mv %{buildroot}%{_bindir}/zincati %{buildroot}%{_libexecdir}/zincati
|
| |
install -Dpm0644 -t %{buildroot}%{_prefix}/lib/%{crate}/config.d \
|
| |
dist/config.d/*.toml
|
| |
mkdir -p %{buildroot}/run/%{crate}/config.d
|
| |
@@ -97,6 +100,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Thu Aug 15 2019 Robert Fairley <rfairley@redhat.com> - 0.0.5-1
|
| |
+ - Install binary under /usr/libexec
|
| |
+
|
| |
* Fri Aug 02 2019 Robert Fairley <rfairley@redhat.com> - 0.0.4-1
|
| |
- Update to 0.0.4
|
| |
|
| |
Maybe let's link to https://github.com/coreos/fedora-coreos-tracker/issues/244 here? It also explains why we have to do this with
mv
manually after the fact.