rpms/zabbix/FC-6 zabbix.spec,1.6,1.7
Jarod Wilson (jwilson)
fedora-extras-commits at redhat.com
Fri Jun 29 16:00:41 UTC 2007
- Previous message (by thread): rpms/babel/devel 0001-Rename-command-line-script-to-avoid-conflict-with-th.patch, NONE, 1.1 babel.spec, 1.3, 1.4 babel-0.8-pybabel.patch, 1.1, NONE
- Next message (by thread): rpms/babel/F-7 0001-Rename-command-line-script-to-avoid-conflict-with-th.patch, NONE, 1.1 babel.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwilson
Update of /cvs/pkgs/rpms/zabbix/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30955
Modified Files:
zabbix.spec
Log Message:
* Fri Jun 29 2007 Jarod Wilson <jwilson at redhat.com> 1.4-3
- Install correct sql init files (#244991)
- Add Requires: php-bcmath to zabbix-web (#245767)
Index: zabbix.spec
===================================================================
RCS file: /cvs/pkgs/rpms/zabbix/FC-6/zabbix.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- zabbix.spec 1 Jun 2007 18:08:20 -0000 1.6
+++ zabbix.spec 29 Jun 2007 16:00:05 -0000 1.7
@@ -1,6 +1,6 @@
Name: zabbix
Version: 1.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Open-source monitoring solution for your IT infrastructure
Group: Applications/Internet
@@ -70,7 +70,7 @@
%package web
Summary: Zabbix Web Frontend
Group: Applications/Internet
-Requires: php-%{zdb}, php-gd, php
+Requires: php, php-%{zdb}, php-gd, php-bcmath
%description web
The php frontend to display the zabbix web interface.
@@ -78,6 +78,12 @@
%prep
%setup -q
+# shuffle sql init files around to fix up install
+mkdir -p dbinit/{schema,data}
+cp create/schema/%{database}.sql dbinit/schema/
+cp create/data/images_%{database}.sql dbinit/data/
+cp create/data/data.sql dbinit/data/
+
# fix up some lib64 issues
%{__perl} -pi.orig -e 's|_LIBDIR=/usr/lib|_LIBDIR=%{_libdir}|g' \
configure
@@ -154,7 +160,8 @@
# nuke static libs and empty oracle upgrade sql
rm -rf $RPM_BUILD_ROOT%{_libdir}/libzbx*.a upgrades/dbpatches/1.4/oracle
-
+# nuke extraneous sql files
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/create
# nuke erronious executable permissions
chmod -x src/zabbix_agent/eventlog.c
@@ -195,11 +202,8 @@
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING FAQ NEWS README
-%doc docs/*.pdf upgrades/dbpatches
+%doc docs/*.pdf upgrades/dbpatches dbinit
%dir %{_sysconfdir}/%{name}
-%dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/create
-%{_datadir}/zabbix/create/*
%{_bindir}/zabbix_server
%{_sysconfdir}/init.d/zabbix
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix
@@ -244,6 +248,10 @@
%{_datadir}/%{name}/js/*
%changelog
+* Fri Jun 29 2007 Jarod Wilson <jwilson at redhat.com> 1.4-3
+- Install correct sql init files (#244991)
+- Add Requires: php-bcmath to zabbix-web (#245767)
+
* Wed May 30 2007 Jarod Wilson <jwilson at redhat.com> 1.4-2
- Add placeholder zabbix.conf.php
- Previous message (by thread): rpms/babel/devel 0001-Rename-command-line-script-to-avoid-conflict-with-th.patch, NONE, 1.1 babel.spec, 1.3, 1.4 babel-0.8-pybabel.patch, 1.1, NONE
- Next message (by thread): rpms/babel/F-7 0001-Rename-command-line-script-to-avoid-conflict-with-th.patch, NONE, 1.1 babel.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list