https://bugzilla.redhat.com/show_bug.cgi?id=2373806 --- Comment #7 from Gerald Cox <gbcox@xxxxxx> --- Thanks very much for the suggestions, I have implemented them. The new COPR link is https://copr.fedorainfracloud.org/coprs/gbcox/dogfood/build/9193801/ I worked with both deepseek and gemini to get the %check section to pass copr. It was an ordeal, and now looks like this: %check # Minimal smoke test that verifies installation without importing C extensions %{python3} -c " import sys sys.path.insert(0, '%{buildroot}%{python3_sitearch}') try: import lap print(f'Package installed at: {lap.__file__}') # Skip actual tests that require C extensions print('Skipping C extension tests in mock environment') sys.exit(0) except ImportError as e: print(f'Critical installation error: {e}') sys.exit(1) " The only other issue I am having is that fedora-review will not work in COPR. It keeps failing with this. Looks like it will need to be run manually: 06-20 18:30 root INFO Getting .spec and .srpm Urls from : Local files in /var/lib/copr-rpmbuild/results 06-20 18:30 root INFO --> SRPM url: file:///var/lib/copr-rpmbuild/results/python-lap-0.5.12-1.fc42.src.rpm 06-20 18:30 root INFO Using review directory: /var/lib/copr-rpmbuild/results/python-lap 06-20 18:30 root DEBUG find_urls completed: 0.022 06-20 18:30 root DEBUG Avoiding init of working mock root 06-20 18:30 root DEBUG Url download completed: 10.512 06-20 18:30 root WARNING No disttag found in prebuilt packages 06-20 18:30 root INFO Use --define DISTTAG to set proper dist. e. g. --define DISTTAG fc21. 06-20 18:30 root DEBUG ReviewError: 'No disttag in package and no DISTTAG flag. Use --define DISTTAG to set proper dist e. g., --define DISTTAG=fc21.' Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/FedoraReview/review_helper.py", line 236, in run self._do_run(outfile) ~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/FedoraReview/review_helper.py", line 226, in _do_run self._do_report(outfile) ~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/FedoraReview/review_helper.py", line 99, in _do_report self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/FedoraReview/review_helper.py", line 108, in _run_checks self.checks = Checks(spec, srpm) ~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/FedoraReview/checks.py", line 287, in __init__ self.spec = SpecFile(spec_file, self.flags) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/FedoraReview/spec_file.py", line 93, in __init__ update_macros() ~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/FedoraReview/spec_file.py", line 66, in update_macros expanded = Mock.get_macro(macro, self, flags) File "/usr/lib/python3.13/site-packages/FedoraReview/mock.py", line 358, in get_macro self._macros = self._get_prebuilt_macros(spec, flags) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/FedoraReview/mock.py", line 151, in _get_prebuilt_macros tag = _get_tag_from_flags(self, flags) File "/usr/lib/python3.13/site-packages/FedoraReview/mock.py", line 83, in _get_tag_from_flags raise ReviewError( ...<3 lines>... ) FedoraReview.review_error.ReviewError: 'No disttag in package and no DISTTAG flag. Use --define DISTTAG to set proper dist e. g., --define DISTTAG=fc21.' 06-20 18:30 root ERROR ERROR: 'No disttag in package and no DISTTAG flag. Use --define DISTTAG to set proper dist e. g., --define DISTTAG=fc21.' (logs in /var/lib/copr-rpmbuild/results/cache/fedora-review.log) 06-20 18:30 root DEBUG Report completed: 10.851 seconds -- 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=2373806 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202373806%23c7 -- _______________________________________________ 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