summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d8efba3)
raw | patch | inline | side by side (parent: d8efba3)
author | Ruben Kerkhof <ruben@tilaa.nl> | |
Sun, 18 Nov 2012 09:03:17 +0000 (10:03 +0100) | ||
committer | Ruben Kerkhof <ruben@tilaa.nl> | |
Sun, 18 Nov 2012 09:10:38 +0000 (10:10 +0100) |
contrib/redhat/collectd.spec | patch | blob | history |
index 6f37f8fab2c9ed061b0fdbc4242f62f24dd35eff..e07f95f993cb700de8a60715cc2f3798374b090f 100644 (file)
Summary: Statistics collection daemon for filling RRD files
Name: collectd
Version: 5.1.0
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://collectd.org
Source: http://collectd.org/files/%{name}-%{version}.tar.gz
License: GPLv2
Summary: Java plugin for collectd
Group: System Environment/Daemons
Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: java-1.7.0-openjdk-devel
+BuildRequires: java-devel, jpackage-utils
+Requires: java, jpackage-utils
%description java
This plugin for collectd allows plugins to be written in Java and executed
in an embedded JVM.
%build
-export JAVA_HOME="/usr"
%configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL'" \
--disable-static \
- --disable-rrdcached \
+ --with-java=%{java_home}/ \
--with-perl-bindings=INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%doc contrib/
%changelog
+* Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
+- Follow Fedora Packaging Guidelines in java subpackage
+
* Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
- Move perl stuff to perl_vendorlib
- Replace hardcoded paths with macros