Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
projects
:
monitoring
>
monit
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
monit.spec
@@ -9,7 +9,7 @@ Source0: monit-%{version}.tar.gz -Source1: monit.pem +Source1: mmonit.pem BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: binutils, byacc, flex, gcc, make, openssl-devel, perl, pam-devel @@ -33,8 +33,8 @@ %build %configure \ - --with-ssl-lib-dir="%{_libdir}" -%{__make} %{?_smp_mflags} + --with-ssl-lib-dir="%{_libdir}" \ + --enable-optimized %install %{__rm} -rf %{buildroot} @@ -51,6 +51,8 @@ # create folder where state and id are stored %{__install} -d -m0755 %{buildroot}%{_localstatedir}/monit/ +%{__install} -d -m0755 %{buildroot}%{_localstatedir}/monit/state +%{__install} -d -m0755 %{buildroot}%{_localstatedir}/monit/id %pre if ! /usr/bin/id monit &>/dev/null; then @@ -89,8 +91,10 @@ %config %{_sysconfdir}/monit.d/ %config %{_sysconfdir}/monit.ssl/ %config %{_localstatedir}/monit/ +%config %{_localstatedir}/monit/id +%config %{_localstatedir}/monit/state %{_localstatedir}/lib/monit/ %attr(0755, root, root) %{_bindir}/monit %attr(0600, root, root) %config(noreplace) %{_sysconfdir}/monit.conf - +%attr(0600, root, root) %config(noreplace) %{_sysconfdir}/monit.ssl/mmonit.pem %changelog