Fix systemd macro spelling errors

This commit is contained in:
hht8 2021-08-10 11:42:08 +08:00
parent 1d63e04d14
commit 1628cd12f0

View File

@ -2,7 +2,7 @@
%define debug_package %{nil} %define debug_package %{nil}
Name: blackbox_exporter Name: blackbox_exporter
Version: 0.19.0 Version: 0.19.0
Release: 1 Release: 2
Summary: Prometheus blackbox prober exporter Summary: Prometheus blackbox prober exporter
License: Apache-2.0 License: Apache-2.0
Url: https://github.com/prometheus/blackbox_exporter Url: https://github.com/prometheus/blackbox_exporter
@ -29,10 +29,10 @@ install -m0644 blackbox.yml %{buildroot}%{_sysconfdir}/prometheus/blackbox.yml
install -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service install -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
%post %post
%system_post %{name}.service %systemd_post %{name}.service
%postun %preun
%system_preun %{name}.service %systemd_preun %{name}.service
%files %files
%doc LICENSE README.md CONFIGURATION.md example.yml %doc LICENSE README.md CONFIGURATION.md example.yml
@ -41,5 +41,8 @@ install -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
%config(noreplace) %{_sysconfdir}/prometheus/blackbox.yml %config(noreplace) %{_sysconfdir}/prometheus/blackbox.yml
%changelog %changelog
* Thu Aug 10 2021 huanghaitao <huanghaitao8@huawei.com> - 0.19.0-2
- Fix systemd macro spelling errors.
* Thu Aug 5 2021 huanghaitao <huanghaitao8@huawei.com> - 0.19.0-1 * Thu Aug 5 2021 huanghaitao <huanghaitao8@huawei.com> - 0.19.0-1
- package init - package init