Skip to content

lal: add missing space between name and version

Adam Mercer requested to merge adam-mercer/lalsuite:rpm-packaging-updates into master

Description

Newer versions of rpmbuild fail to build a source RPM due to a space missing between the name and the package version for Obsoletes, although the error is a little confusing:

❯ rpmbuild -ts lal-7.1.4.tar.xz
warning: line 61: second Summary
warning: line 62: second Group
error: line 108: Illegal char '=' (0x3d) in: Obsoletes: python2-lal<= 7.1.3-1
error: line 108: Only package names are allowed in Obsoletes: Obsoletes: python2-lal<= 7.1.3-1

Adding a space between the name and version removes this error and correctly builds the source RPM.

API Changes and Justification

Backwards Compatible Changes

  • This change introduces no API changes
  • This change adds new API calls

Backwards Incompatible Changes

  • This change modifies an existing API
  • This change removes an existing API

If any of the Backwards Incompatible check boxes are ticked please provide a justification why this change is necessary and why it needs to be done in a backwards incompatible way.

Review Status

Please provide details on any reviews related to this change and and the associated reviewers.

Merge request reports

Loading