Hallo list! I am new to the OpenSuSE Build Service and I was given the task, to extend a spec-file to build the zabbix-package also for CentOS. Therfor I built an if-query with ?centos_version, as described in http://de.opensuse.org/Build_Service/Pakete_f%C3%BCr_mehrere_Distributionen#... The packaged for the default distribution builds well (sles) but the build for CentOS fails with the message: "nothing provides tcpd-devel, nothing provides apache2-devel, nothing provides iksemel-devel, nothing provides pkg-config, nothing provides httpd_devel" This is our own OBS but the administrator ensured that the system is able to build CentOS-packages. Below is an excerpt of my spec-file. Can someone explain me why the build of the centos-packages queries the dependencies from "if %suse_version"? ---- snip ---- # BuildRequires: libssh2-devel # BuildRequires: net-snmp-devel # BuildRequires: OpenIPMI-devel # BuildRequires: openldap2-devel # BuildRequires: postgresql-devel # BuildRequires: sqlite-devel # # %if 0%{?suse_version} < 1020 # BuildRequires: curl-devel mysql-devel tcpd-devel apache2-devel iksemel-devel pkg-config # %else # BuildRequires: fdupes libcurl-devel libmysqlclient-devel apache2-devel iksemel-devel pkg-config # %endif # # %if 0%{?centos_version} >= 501 # BuildRequires: httpd_devel iksemel-devel # %endif ---- snap ---- The CentOS-repo is added for my zabbix project: ----- snip ----- CentOS_CentOS-5 (i586, x86_64) openSUSE.org:CentOS:CentOS-5/standard ----- snap ----- This version of our OBS is: Repository: SLE-11-SDK-SP1 Name: obs-server Version: 1.7.2-0.2.32 Architektur: x86_64 If someone could give me a hint to the problem I would be very thankful! Greetings vst -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org