https://bugzilla.redhat.com/show_bug.cgi?id=1540726



--- Comment #3 from Germano Massullo <germano.massu...@gmail.com> ---
https://germano.fedorapeople.org/package_reviews/bettercap/rev1/bettercap.spec
https://germano.fedorapeople.org/package_reviews/bettercap/rev1/bettercap-2.0.0-0.1.fc27.src.rpm


I have changed

BuildRequires:  golang(github.com/jteeuwen/go-bindata)
to
BuildRequires:  go-bindata

and
%setup -q -n %{name}-%{gittag}
to
%setup -q -n bettercap-ng-%{commit}

now mock returns errors




main.go:7:2: cannot find package "github.com/evilsocket/bettercap-ng/core" in
any of:
        /usr/lib/golang/src/github.com/evilsocket/bettercap-ng/core (from
$GOROOT)
       
/builddir/build/BUILD/bettercap-ng-eb1a53efa3171aefed0ec9766d8c5047bd0df289/_build/src/github.com/evilsocket/bettercap-ng/core
(from $GOPATH)
        /usr/share/gocode/src/github.com/evilsocket/bettercap-ng/core
main.go:8:2: cannot find package "github.com/evilsocket/bettercap-ng/log" in
any of:
        /usr/lib/golang/src/github.com/evilsocket/bettercap-ng/log (from
$GOROOT)
       
/builddir/build/BUILD/bettercap-ng-eb1a53efa3171aefed0ec9766d8c5047bd0df289/_build/src/github.com/evilsocket/bettercap-ng/log
(from $GOPATH)
        /usr/share/gocode/src/github.com/evilsocket/bettercap-ng/log
main.go:9:2: cannot find package "github.com/evilsocket/bettercap-ng/modules"
in any of:
        /usr/lib/golang/src/github.com/evilsocket/bettercap-ng/modules (from
$GOROOT)
       
/builddir/build/BUILD/bettercap-ng-eb1a53efa3171aefed0ec9766d8c5047bd0df289/_build/src/github.com/evilsocket/bettercap-ng/modules
(from $GOPATH)
        /usr/share/gocode/src/github.com/evilsocket/bettercap-ng/modules
main.go:10:2: cannot find package "github.com/evilsocket/bettercap-ng/session"
in any of:
        /usr/lib/golang/src/github.com/evilsocket/bettercap-ng/session (from
$GOROOT)
       
/builddir/build/BUILD/bettercap-ng-eb1a53efa3171aefed0ec9766d8c5047bd0df289/_build/src/github.com/evilsocket/bettercap-ng/session
(from $GOPATH)
        /usr/share/gocode/src/github.com/evilsocket/bettercap-ng/session

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org

Reply via email to