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.

Loading...
Request History
Dominique Leuenberger's avatar

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.


Dominique Leuenberger's avatar

dimstar superseded request

superseded by 774354

openSUSE Build Service is sponsored by