#672 pre-push-check fails if spec file uses %include or %load
Closed: Fixed a year ago by onosek. Opened a year ago by nforro.

If spec file uses %include to include additional files or %load to load macro files, these files have to be present (in %_sourcedir) for it to be parseable. If the files are missing, spectool fails with RPM Failed to parse spec file.

Some examples:
https://src.fedoraproject.org/rpms/systemd/blob/1a6178ce6eb7f9e289db01519ca510ad77760e83/f/systemd.spec#_837
https://src.fedoraproject.org/rpms/pam/blob/c66885bc842bbe163adf7a2e0072717bdbef5b28/f/pam.spec#_30


Login to comment on this ticket.

Metadata
Related Pull Requests
  • #675 Merged a year ago