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



--- Comment #28 from Neal Gompa <[email protected]> ---
fedora-review doesn't seem to like missing spec sections:

05-11 15:47 root         DEBUG    Running check: CheckSourceVerification
05-11 15:47 root         DEBUG    Exception down the road...
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line
236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line
226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.10/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.10/site-packages/FedoraReview/review_helper.py", line
117, in _run_checks
    self.checks.run_checks(output=output, writedown=not Settings.no_report)
  File "/usr/lib/python3.10/site-packages/FedoraReview/checks.py", line 382, in
run_checks
    run_check(name)
  File "/usr/lib/python3.10/site-packages/FedoraReview/checks.py", line 357, in
run_check
    check.run()
  File
"/usr/lib/python3.10/site-packages/FedoraReview/plugins/generic_should.py",
line 584, in run
    for line in self.spec.get_section("prep"):
TypeError: 'NoneType' object is not iterable


Can you add empty %prep and %build sections?


-- 
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=2079784
_______________________________________________
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