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

Robert-AndrĂ© Mauchin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]
           Assignee|[email protected]    |[email protected]
              Flags|                            |fedora-review?



--- Comment #1 from Robert-AndrĂ© Mauchin <[email protected]> ---
Hello,

 - In the description, https://exercism.io should not be https but http: the
site is not available in https.

 - I've got a build error:

+ go build -o out/exercism exercism/main.go
go: GOPATH entry is relative; must be absolute path: "".
For more details see: 'go help gopath'

  To solve this, I've modified your SPEC like this:

%prep
%setup -q -n %{repo}-%{version}
%patch1 -p1

%build
mkdir -p ./_build/src/%{provider}.%{provider_tld}/%{project}
ln -s $(pwd) ./_build/src/%{provider}.%{provider_tld}/%{project}/cli
export GOPATH=$(pwd)/_build:%{gopath}
go build -o out/exercism exercism/main.go

  - Packaging -devel and -unit-test-devel are not needed for a Go binary, just
keep the main package. Thus you should also remove the Provides: only needed if
the package is used as a library.

-- 
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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to