]> git.pld-linux.org Git - packages/statsd.git/commitdiff
setup shebang, package app dir
authorElan Ruusamäe <glen@delfi.ee>
Wed, 15 May 2013 20:48:22 +0000 (23:48 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 15 May 2013 20:48:22 +0000 (23:48 +0300)
statsd.spec

index cbb6c7c99b734dc118d1a87c5b2ebecc04deccd5..a05c3d14c472a89c1a41e2f3d65e7a8912daeab9 100644 (file)
@@ -1,12 +1,13 @@
 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)
@@ -20,6 +21,7 @@ aggregates to one or more pluggable backend services (e.g., Graphite).
 
 %prep
 %setup -q
+%{__sed} -i -e '1s,^#!.*node,#!/usr/bin/node,' bin/*
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -33,6 +35,7 @@ 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
This page took 0.090138 seconds and 4 git commands to generate.