Changes of Revision 3
[-] | Changed | check_dir.spec |
x 1
2 Nagios plugin to monitor the number of files in one or more directories. 3 4 %prep 5 -%setup -q 6 +%setup -q -n %{srcname}-%{version} 7 8 %build 9 -%__perl Makefile.PL INSTALLSCRIPT=%{buildroot}%{_plugindir} INSTALLSITEMAN3DIR=%{buildroot}/usr/share/man/man3 10 +%__perl Makefile.PL INSTALLSCRIPT=%{_plugindir} \ 11 + INSTALLSITEMAN3DIR=%{_mandir}/man3 \ 12 + INSTALLSITESCRIPT=%{_plugindir} \ 13 + INSTALLSCRIPT=%{_plugindir} 14 %__make 15 +chmod -x AUTHORS Changes NEWS README INSTALL TODO COPYING VERSION 16 17 %install 18 -make install 19 +%__make DESTDIR=%{buildroot} install 20 +rm -rf %{buildroot}%{_prefix}/lib/perl5 21 +rm -rf %{buildroot}%{_prefix}/%{_lib}/perl5 22 23 %clean 24 rm -rf $RPM_BUILD_ROOT 25 |