Bug #2720
Make does not locate and use rpm/version when present due to coding error
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-03-19
Due date:
% Done:
0%
Estimated time:
Found in version:
3.9
Affected Versions:
Description
lines 20 & 21 of support/version read as
elif [ -r "$(dirname "$0")/rpm/version" ]; then
VER=$(cat "$(dirname "$0")/rpm/version")
should read as
elif [ -r "$(dirname "$0")/../rpm/version" ]; then
VER=$(cat "$(dirname "$0")/../rpm/version")
to correctly build when using rpmbuild.
Files
History
Updated by Bob Lightfoot over 9 years ago
this should address the issue
Updated by Jaroslav Kysela over 9 years ago
- Status changed from New to Fixed
Fixed in v3.9-2613-g93f3f6f .