The pkg-config file installed by a package (lv2core) contains this line: Version: 1 When I try to compile another package it uses this command: pkg-config --errors-to-stdout --print-errors --atleast-version=1.0 lv2core and pkg-config returns 1 I've seen other .pc files which use an int for the package version, so I think it is allowed. If this is the case, pkg-config should return 0 when comparing 1 with 1.0.
We're using the version comparison function from RPM where 1 isn't larger than or equal to 1.0. I was somewhat surprised to see the same behaviour in dpkg too, but I don't want to change our version comparision function to be incompatible.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.