Compare commits

..

No commits in common. "a4ef08bab643cd451af4c1ab7a650bc66c981f39" and "9a9fb85fd97a342a260129125ecaa6507ebdc135" have entirely different histories.

View File

@ -16,17 +16,15 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_without apparmor
Name: buddycheck
Version: 1.1
Version: 1
Release: 0
Summary: Health check
License: EUPL-1.2
Group: System/Monitoring
URL: https://git.com.de/Georg/buddycheck
Source: %{name}-%{version}.tar.zst
BuildArch: noarch
%if %{with apparmor}
BuildRequires: apparmor-rpm-macros
%endif
@ -41,7 +39,7 @@ BuddyCheck is a tool querying the systemd health through Prometheus Node Exporte
# Perl script, nothing to build
%install
%make_install PREFIX=%{_prefix} MANDIR=%{_mandir} SYSCONFDIR=%{_sysconfdir}
%make_install
%if %{with apparmor}
%post
@ -52,13 +50,11 @@ BuddyCheck is a tool querying the systemd health through Prometheus Node Exporte
%license LICENSE
%doc README.txt
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%if %{with apparmor}
%dir %{_sysconfdir}/apparmor.d
%config %{_sysconfdir}/apparmor.d/%{name}
%else
%exclude %dir %{_sysconfdir}/apparmor.d
%exclude %config %{_sysconfdir}/apparmor.d/%{name}
%{_mandir}/man1/%{name}.1%{ext_man}
%if %{without apparmor}
%exclude
%endif
%{_sysconfdir}/apparmor.d/%{name}
%changelog