Dne 24. 01. 24 v 18:02 Dan Horák napsal(a):
It seems like %{?_isa} is not defined for noarch packages in Koji but it
is in COPR. Is that a known problem/feature?
it could be because COPR always does an archful build (like plain mock
builds do), while koji knows noarch is a separate arch

Mock does not understand "noarch" build. It always run on machine with an arch. Just the 
result can be name "noarch".

This is first time I hear about this problem.

When you hit something like this, it is always good start to reproduce it 
localy with mock.

Config from Koji can be retrieved using:

   fedpkg mock-config

in specific branch of dist-git.

Config from Copr can be retrieved using:

copr-cli mock-config myproject fedora-rawhide-x86_64

and you can test it as

  mock -f ./config.cfg foo.src.rpm

--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
--
_______________________________________________
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