commit caa761d4c8f4a7aba9283b6f7db3c2e712742803
Author: Elan Ruusamäe <[email protected]>
Date:   Wed May 15 23:48:22 2013 +0300

    setup shebang, package app dir

 statsd.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/statsd.spec b/statsd.spec
index cbb6c7c..a05c3d1 100644
--- a/statsd.spec
+++ b/statsd.spec
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/statsd.git/commitdiff/caa761d4c8f4a7aba9283b6f7db3c2e712742803

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to