[Bug 2378912] Review Request: jfrog-cli - JFrog CLI is a client that provides a simple interface that automates access to the JFrog products

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #11 from Mikel Olasagasti Uranga <mikel@xxxxxxxxxxxxxxx> ---
> Corrected. It used to be called jfrog-cli and I kept the name for no good reason.

You can create a soft-link if you want to have both names. `node-exporter` does
that for example to keep old name.

> How? I get an error if I add this to the %build section:
> for cmd in completion/shells; do
>   %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
> done
> 
> ...
> github.com/jfrog/jfrog-cli/completion/shells: build constraints exclude all Go files in /builddir/build/BUILD/jfrog-cli-2.78.3-build/jfrog-cli-2.78.3/completion/shells

Can you try the way `doctl` spec does?

in %build:

%{gobuilddir}/bin/jf completion bash > jf.bash
%{gobuilddir}/bin/jf completion fish > jf.fish
%{gobuilddir}/bin/jf completion zsh  > jf.zsh

https://src.fedoraproject.org/rpms/doctl/blob/rawhide/f/doctl.spec#_51


-- 
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
https://bugzilla.redhat.com/show_bug.cgi?id=2378912

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202378912%23c11

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux