Hi,
See attach.
Now rpmbuild a rpm-package can do so:
Result (as example):
zabbix-mysql-1.6.1-1.fc9.i386.rpm (zabbix for mysql)
zabbix-postgresql-1.6.1-1.fc9.i386.rpm (zabbix for pgsql)
zabbix-1.6.1-1.fc9.src.rpm
zabbix-agent-1.6.1-1.fc9.i386.rpm
zabbix-debuginfo-1.6.1-1.fc9.i386.rpm
zabbix-web-1.6.1-1.fc9.i386.rpm
I build my rpm(s) from this zabbix.spec, and install it under Fedora 7 (i386, x86_64).
And build rpm(s) for FC8, FC9 (mock).
I also build and install a rpm-package with pre-zabbix-1.6.tar.gz dated 21 Nov.
All is ok.
Perhaps this spec will be useful for the Zabbix and Fedora-community.
I think it can be used for RHEL/CentOS.
See attach.
Now rpmbuild a rpm-package can do so:
Code:
rpmbuild -ba --define "build_mysql 1" zabbix.spec or rpmbuild -bb --define "build_postgresql 1" zabbix.spec
zabbix-mysql-1.6.1-1.fc9.i386.rpm (zabbix for mysql)
zabbix-postgresql-1.6.1-1.fc9.i386.rpm (zabbix for pgsql)
zabbix-1.6.1-1.fc9.src.rpm
zabbix-agent-1.6.1-1.fc9.i386.rpm
zabbix-debuginfo-1.6.1-1.fc9.i386.rpm
zabbix-web-1.6.1-1.fc9.i386.rpm
I build my rpm(s) from this zabbix.spec, and install it under Fedora 7 (i386, x86_64).
And build rpm(s) for FC8, FC9 (mock).
I also build and install a rpm-package with pre-zabbix-1.6.tar.gz dated 21 Nov.
All is ok.
Perhaps this spec will be useful for the Zabbix and Fedora-community.
I think it can be used for RHEL/CentOS.

Comment