Summary: Lightweight network daemon to collect metrics over UDP
Name: statsd
Version: 0.6.0
-Release: 0.1
+Release: 0.5
License: BSD
Group: Networking/Daemons
-URL: https://github.com/etsy/statsd
Source0: https://github.com/etsy/statsd/archive/v0.6.0.tar.gz?/%{name}-%{version}.tgz
# Source0-md5: 56eece3aec5fa9745822d1d34a6e193a
+URL: https://github.com/etsy/statsd
+BuildRequires: sed >= 4.0
Requires: nodejs
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
+%{__sed} -i -e '1s,^#!.*node,#!/usr/bin/node,' bin/*
%install
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README.md Changelog.md LICENSE
+%dir %{_appdir}
%{_appdir}/stats.js
%{_appdir}/exampleConfig.js
%{_appdir}/backends