Overview
Request 774351 superseded
- Fix build: RPM 4.15 got a bit stricter and fails on
find-provides script errors. Earlier RPM versions ignored it. In
this specic case it turns out that the .cmake file installed is
invalid, as it contained set(PACKAGE_VERSION "..") (so RPM is
right to abort). Turns out that upstream simply did not really
cater for the fact that this could be installed from tarball and
nor from a git checkout: they use 'git describe' to inject a
veriosn into the .cmake file. Fix this by replacing the
placeholders using sed, injecting the rpm %version there.
- Created by dimstar
- In state superseded
- Package maintainers: Guillaume_G and sumski
- Superseded by 774354
Request History
dimstar created request
- Fix build: RPM 4.15 got a bit stricter and fails on
find-provides script errors. Earlier RPM versions ignored it. In
this specic case it turns out that the .cmake file installed is
invalid, as it contained set(PACKAGE_VERSION "..") (so RPM is
right to abort). Turns out that upstream simply did not really
cater for the fact that this could be installed from tarball and
nor from a git checkout: they use 'git describe' to inject a
veriosn into the .cmake file. Fix this by replacing the
placeholders using sed, injecting the rpm %version there.
superseded by 774354