diff logstash.spec @ 16:aa606d801e02

work on building from source, revert jruby and elastic search to versions bundled into logstash-monolith
author Carl Byington <carl@five-ten-sg.com>
date Thu, 11 Apr 2013 13:48:24 -0700
parents c158cae7cd26
children 729f36e68da8
line wrap: on
line diff
--- a/logstash.spec	Thu Apr 11 10:18:06 2013 -0700
+++ b/logstash.spec	Thu Apr 11 13:48:24 2013 -0700
@@ -17,6 +17,7 @@
 Source1:        https://logstash.jira.com/secure/attachment/12610/logstash_index_cleaner.py
 Source2:        http://logstash.objects.dreamhost.com/maxmind/GeoLite-City-2013-01-18.dat.gz
 Source4:        %{name}.Makefile
+Source5:        %{name}.manifest
 Source10:       %{name}.rc
 Source11:       %{name}.cron
 Source12:       %{name}.conf
@@ -25,7 +26,8 @@
 Source21:       sendmail.pattern
 Source22:       dnsbl.pattern
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-Requires:       logrotate httpd java-1.7.0-openjdk python-pip python-argparse python-ordereddict jruby
+Requires:       logrotate httpd java-1.7.0-openjdk python-pip python-argparse python-ordereddict
+Requires:       jruby elasticsearch GraphTastic-client
 Requires(pre):          /usr/sbin/useradd
 Requires(pre):          /usr/bin/getent
 Requires(postun):       /usr/sbin/userdel
@@ -46,6 +48,7 @@
 
 
 %build
+cp %SOURCE5 .
 gunzip -c %SOURCE2 >GeoLiteCity.dat
 make -f %SOURCE4