On Wed, Jul 22, 2015 at 11:56:27AM +0200, Thomas Wagner wrote:
I followed https://en.opensuse.org/openSUSE:Packaging_Go#The_easy_and_the_stupid_way to create a spec file build a go package with OBS. However, %goinstall calls "find" wrongly and "find" aborts. The short log: + cd /home/abuild/rpmbuild/BUILD/go/src [ 67s] + find . -name rclone.go rclone_test.go redirect_stderr.go redirect_stderr_unix.go redirect_stderr_windows.go -exec install -Dm644 '{}' '/home/abuild/rpmbuild/BUILDROOT/go-rclone-1.17-3.1.x86_64/usr/share/go/contrib/src/pkg/{}' ';' [ 67s] find: paths must precede expression: rclone_test.go [ 67s] Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
The long log: https://build.opensuse.org/package/live_build_log/home:Aikhjarto/rclone/open...
the "-name" option to find just takes 1 argument. Can you open a bug or SR against whicheverf package has %goinstall? Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org