|
|
|
@ -9,7 +9,7 @@
@@ -9,7 +9,7 @@
|
|
|
|
|
%define service %{name}.service |
|
|
|
|
|
|
|
|
|
Name: icinga-notifications |
|
|
|
|
Version: 0.0.5 |
|
|
|
|
Version: 0.1.1 |
|
|
|
|
Release: 1%{?dist} |
|
|
|
|
Summary: Icinga Notifications |
|
|
|
|
Group: System Environment/Daemons |
|
|
|
@ -48,7 +48,7 @@ install -d -m 0755 %{buildroot}%{_libexecdir}/%{name}
@@ -48,7 +48,7 @@ install -d -m 0755 %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
install -m 0755 icinga-notifications %{buildroot}%{_sbindir}/ |
|
|
|
|
%{__cp} -r channels %{buildroot}%{_libexecdir}/%{name}/ |
|
|
|
|
install -m 0644 config.example.yml %{buildroot}%{configdir}/config.yml |
|
|
|
|
install -m 0644 icinga2.conf %{buildroot}%{configdir}/icinga2-notifications.conf |
|
|
|
|
#install -m 0644 icinga2.conf %{buildroot}%{configdir}/icinga2-notifications.conf |
|
|
|
|
install -m 0644 %{S:1} %{buildroot}%{_unitdir}/ |
|
|
|
|
install -d -m 0755 %{buildroot}%{_datadir}/%{name} |
|
|
|
|
(umask 0022 && cp -rv schema %{buildroot}%{_datadir}/%{name}/) |
|
|
|
@ -80,7 +80,7 @@ rm -rf %{buildroot}
@@ -80,7 +80,7 @@ rm -rf %{buildroot}
|
|
|
|
|
%defattr(0644,icinganotifications,icinganotifications,0755) |
|
|
|
|
%dir %{configdir} |
|
|
|
|
%config(noreplace) %{configdir}/config.yml |
|
|
|
|
%config(noreplace) %{configdir}/icinga2-notifications.conf |
|
|
|
|
#%config(noreplace) %{configdir}/icinga2-notifications.conf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|