On Mon, Aug 29, 2022 at 10:47 AM Jerry Kiely <je...@cowboysmall.com> wrote:
>
> spectool executed successfully.
>
>   spectool -g hid-ite8291r3-kmod.spec                                         
>                                                                               
>  ✔
>   Downloading: 
> https://github.com/pobrn/hid-ite8291r3/archive/48e04cb96517f8574225ebabb286775feb942ef5/hid-ite8291r3-48e04cb.tar.gz
>   |  12.1 KiB Elapsed Time: 0:00:00
>   Downloaded: hid-ite8291r3-48e04cb.tar.gz
>
> but executing the same command after failed again.
>
>   rfpkg mockbuild -N --root fedora-36-x86_64-rpmfusion_free                   
>                                                                               
>  ✔
>   sources file doesn't exist. Source files download skipped.
>   Failed to get repository name from Git url or pushurl
>   Failed to get ns from Git url or pushurl
>   Could not execute mockbuild: 
> /home/jerry/Workspace/Research/RPM/Modules/hid-ite8291r3-kmod is not a valid 
> repo

This failure is caused because you use fedpkg / rfpkg for building a
package outside a dist-git repository (see "Failed to get repository
name" and "Failed to get ns (namespace)" errors).
I recommend building the .src.rpm file with "rpmbuild -bs *.spec"
instead, and then run the mock build with "mock -r
fedora-36-x86_64-rpmfusion_free ./*.src.rpm".

Fabio
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to