Author: tpg
Date: Sat Feb 10 23:13:39 2007
New Revision: 118816
Modified:
packages/cooker/collectd/current/SPECS/collectd.spec
Log:
- fix buildrequires
- remove rpath from apache.so
- some cleans
Modified: packages/cooker/collectd/current/SPECS/collectd.spec
==============================================================================
--- packages/cooker/collectd/current/SPECS/collectd.spec (original)
+++ packages/cooker/collectd/current/SPECS/collectd.spec Sat Feb 10
23:13:39 2007
@@ -9,10 +9,11 @@
Source1: %{name}-initscript
BuildRequires: libpcap-devel
BuildRequires: libcurl4-devel
-BuildRequires: mysql15-devel
-BuildRequires: statgrab5-devel
-BuildRequires: lm_sensors3-devel
-BuildRequires: rrdtool2-devel
+BuildRequires: libmysql-devel
+BuildRequires: libstatgrab-devel
+BuildRequires: lm_sensors-devel
+BuildRequires: rrdtool-devel
+BuildRequires: chrpath
Requires(pre): rpm-helper
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
@@ -28,6 +29,7 @@
%build
./configure \
--prefix=%{_prefix} \
+ --libdir=%{_prefix}/%{_lib} \
--with-rrdtool \
--with-libpthread \
--with-libcurl \
@@ -49,6 +51,8 @@
rm -f %{buildroot}%{_libdir}/%{name}/*.la
install %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{name}
+chrpath -d %{buildroot}%{_libdir}/%{name}/apache.so
+
%post
%_post_service %{name}