From f92627439f4a0d53abbe6f58083b15bf3e2680d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 13 Jun 2010 20:39:59 +0000 Subject: [PATCH] - snmp tests need NET-SNMP-PASS-MIB from mibs-net-snmp Changed files: php.spec -> 1.805.2.66 --- php.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/php.spec b/php.spec index f9536f4..68c1209 100644 --- a/php.spec +++ b/php.spec @@ -240,6 +240,7 @@ BuildRequires: ncurses-ext-devel BuildRequires: openssl-devel >= 0.9.7d %endif %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7} +%{?with_snmp:%{?with_tests:mibs-net-snmp}} BuildRequires: pam-devel %{?with_pcre:BuildRequires: pcre-devel >= 6.6} BuildRequires: pkgconfig @@ -2171,8 +2172,6 @@ cp -af php_config.h.cli main/php_config.h cp -af Makefile.cli Makefile # sybase modules collide, remove one %{__sed} -i -e '/^PHP_MODULES/s,\$(phplibdir)/sybase_ct.la,,' Makefile -# snmp cries about missibg mib. -%{__sed} -i -e '/^PHP_MODULES/s,\$(phplibdir)/snmp.la,,' Makefile cat <<'EOF' > run-tests.sh #!/bin/sh -- 2.44.0