Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake file version (soname version instead of project version) #666

Closed
remicollet opened this issue Apr 1, 2021 · 0 comments
Closed

cmake file version (soname version instead of project version) #666

remicollet opened this issue Apr 1, 2021 · 0 comments

Comments

@remicollet
Copy link

remicollet commented Apr 1, 2021

In cmake files, we have

set(PACKAGE_VERSION "4.5.0")

Where 0.11.0 is expected (4.5.0 being the soname version)

Result, in RPM packaging we have (auto-detected from file content)

$ rpm -q --provides librabbitmq-devel 
cmake(rabbitmq-c) = 4.5.0
pkgconfig(librabbitmq) = 0.11.0
...

Which is also inconsistent with pkg-config provided version.

All other libraries use the proper version

Example:

$  rpm -q --provides libbson-devel
cmake(bson-1.0) = 1.17.4
...
$ rpm -q --provides qt5-qtbase-devel
cmake(Qt5) = 5.15.2
cmake(Qt5AccessibilitySupport) = 5.15.2
cmake(Qt5Concurrent) = 5.15.2
...
$ rpm -q --provides libzip-devel
cmake(libzip) = 1.7.3
...

@remicollet remicollet changed the title cmake file version cmake file version (soname version instead of project version) Apr 1, 2021
remicollet added a commit to remicollet/rabbitmq-c that referenced this issue Apr 1, 2021
@alanxz alanxz closed this as completed in 20bebf4 Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant