Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-check_dir
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
check_dir.spec
@@ -19,14 +19,20 @@ Nagios plugin to monitor the number of files in one or more directories. %prep -%setup -q +%setup -q -n %{srcname}-%{version} %build -%__perl Makefile.PL INSTALLSCRIPT=%{buildroot}%{_plugindir} INSTALLSITEMAN3DIR=%{buildroot}/usr/share/man/man3 +%__perl Makefile.PL INSTALLSCRIPT=%{_plugindir} \ + INSTALLSITEMAN3DIR=%{_mandir}/man3 \ + INSTALLSITESCRIPT=%{_plugindir} \ + INSTALLSCRIPT=%{_plugindir} %__make +chmod -x AUTHORS Changes NEWS README INSTALL TODO COPYING VERSION %install -make install +%__make DESTDIR=%{buildroot} install +rm -rf %{buildroot}%{_prefix}/lib/perl5 +rm -rf %{buildroot}%{_prefix}/%{_lib}/perl5 %clean rm -rf $RPM_BUILD_ROOT