From b1802566fcba52e6511c5b09acd928b7fe9b62099f51a924e14b10133b20b956 Mon Sep 17 00:00:00 2001 From: Peter Poeml Date: Tue, 5 Oct 2010 22:43:18 +0000 Subject: [PATCH] fix build on SLES9 include libpcap, not libpcap-devel OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=324 --- apache2.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apache2.spec b/apache2.spec index b7c7503..ae47629 100644 --- a/apache2.spec +++ b/apache2.spec @@ -21,7 +21,11 @@ Name: apache2 BuildRequires: db-devel ed libapr-util1-devel libapr1-devel >= 1.4.2 openldap2 openldap2-devel BuildRequires: openssl-devel pcre-devel zlib-devel +%if %{?suse_version:1}0 && 0%{?sles_version} == 9 +BuildRequires: libcap +%else BuildRequires: libcap-devel +%endif %if %{?suse_version:1}0 %define httpduser wwwrun %define httpdgroup www