Overview
Request 774354 accepted
- 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
not from a git checkout: they use 'git describe' to inject a
version into the .cmake file. Fix this by replacing the
placeholders using sed, injecting the rpm %version there.
- Created by dimstar
- In state accepted
- Package maintainers: Guillaume_G and sumski
- Supersedes 774351
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
not from a git checkout: they use 'git describe' to inject a
version into the .cmake file. Fix this by replacing the
placeholders using sed, injecting the rpm %version there.
dimstar_suse accepted request
Factory Release Manager override - Fixes a build and an obvious bug
@sumski: review reminder