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



--- Comment #5 from Robert-André Mauchin 🐧 <[email protected]> ---
(In reply to crvi from comment #4)
> Hi Robert,
> 
> Thanks for the review.
> 
> Is there a script which I can use to verify the spec file modifications ?

Like above? It's fedora-review (sudo dnf install fedora-review)

You can use it like this:

Assuming you have spec in a directory and you generated the SRPM (spectool -g
*.spec && fedpkg --release f35 srpm), you then run:

$ fedora-review --mock-config fedora-rawhide-x86_64 -n packagename

It will build the package in a mock chroot and test the resulting packages (it
can take a while). The review.txt file will be in the review-packagename
subdirectory. Also you can check the logs in the  review-packagename/results
subdirectory.

Side note: to use mock, your user must need to be in the 'mock' group: sudo
usermod -a -G mock myusername

You can also test a mockbuild (locally on a chroot) first:
fedpkg --release f35  mockbuild --mock-config fedora-rawhide-x86_64

Or a scratch-build (in Koji for testing if it builds on all arches correctly):
fedpkg  --release f35 scratch-build --srpm --fail-fast
(you need to identify yourself with Kerberos first , not sure if it works with
people not in the packager group:
https://fedoraproject.org/wiki/Infrastructure/Kerberos#How_to_use_kerberos_auth_with_Fedora_Infrastructure)


-- 
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]
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/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to