Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-oracle
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
nagios-plugins-oracle.spec
@@ -26,14 +26,20 @@ %prep %setup -n %{pkg_name}-%{version} -%configure +./configure \ +--prefix=%{_prefix} \ +--exec-prefix=%{_prefix} \ +--libexecdir=%{_prefix}/lib/nagios/plugins \ +--sysconfdir=%{_sysconfdir}/nagios \ +--datadir=%{_datadir} %build %__make %install +#mkdir -p %{buildroot}%{_prefix}/lib/nagios/plugins %__make DESTDIR=%{buildroot} install - +#mv %{buildroot}%{_libdir}/check_oracle_health %{buildroot}%{_prefix}/lib/nagios/plugins/ cd ${RPM_BUILD_ROOT}%{_prefix}/lib/nagios/plugins for PLUGIN in check_oracle_health sed -i s@"nagios/plugins"@"%{_prefix}/lib/nagios/plugins"@g ${PLUGIN}