Quellcode durchsuchen

use just the build sequence of Go

Ralf S. Engelschall vor 11 Jahren
Ursprung
Commit
6e1db8ce4f
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      confd/confd.spec

+ 2 - 2
confd/confd.spec

@@ -78,7 +78,7 @@ PreReq:       OpenPKG, openpkg >= 20120101, etcd
     export GOPATH=`pwd`/Godeps/_workspace
 
     #   build program
-    go install github.com/kelseyhightower/confd
+    go build -x
 
 %install
     #   create directory hierarchy
@@ -93,7 +93,7 @@ PreReq:       OpenPKG, openpkg >= 20120101, etcd
 
     #   install program
     %{l_shtool} install -c -s -m 755 \
-        bin/confd $RPM_BUILD_ROOT%{l_prefix}/sbin/
+        confd-[0-9]* $RPM_BUILD_ROOT%{l_prefix}/sbin/confd
 
     #   install configuration files
     %{l_shtool} install -c -m 644 %{l_value -s -a} \