]> git.pld-linux.org Git - packages/nagios.git/commitdiff
- update deps for tests, regen libtool for internal tap
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 8 Jan 2012 01:09:53 +0000 (01:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nagios.spec -> 1.173

nagios.spec

index 55575884605cb600d1d3e17fcf7ecd8b0b103295..38f311582062df347fb3d8ab0be1bc8f96d6d5df 100644 (file)
@@ -41,13 +41,17 @@ Patch9:             %{name}-html-Makefile.in.patch
 URL:           http://www.nagios.org/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: sed >= 4.0
 %if %{with gd}
 BuildRequires: gd-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 %endif
-BuildRequires: rpmbuild(macros) >= 1.268
-BuildRequires: sed >= 4.0
+%if %{with tests}
+BuildRequires: perl-HTML-Lint
+BuildRequires: perl-Test-WWW-Mechanize-CGI
+%endif
 Requires(post,preun):  /sbin/chkconfig
 Requires:      %{name}-common = %{version}-%{release}
 Requires:      rc-scripts
@@ -265,10 +269,19 @@ sed -e 's,%{_prefix}/lib/,%{_libdir}/,' %{SOURCE5} > lighttpd.conf
 #      s,/usr/local/%{name}/var/archives/,/var/log/%{name}/archives/,
 #' html/docs/configmain.html
 
+#rm t/611cgistatus-hosturgencies.t
+
 %build
 cp -f /usr/share/automake/config.sub .
 %{__aclocal}
 %{__autoconf}
+%if %{with tests}
+cd tap
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+cd ..
+%endif
 %configure \
        CFLAGS="%{rpmcflags} %{rpmcppflags}" \
        --bindir=%{_sbindir} \
This page took 0.116953 seconds and 4 git commands to generate.