Looking at this, I think the easiest way would be to generate the final
digit in the dependency clause from a separate file, say,
LAST_ABI_ADDITION_MICRO.

So, if we release 1.0.6, but there were no ABI additions from 1.0.5 to
1.0.6, we would have VERSION containing "1.0.6", and
LAST_ABI_ADDITION_MICRO containing "5". This then would generate

$ cat libunity-scopes-1.0.shlibs
libunity-scopes 1.0 libunity-scopes1.0 (>= 1.0.5)

even though the package version is 1.0.6.

We will have to remember to update the LAST_ABI_ADDITION_MICRO file if
we add anything new to the public API.

Opinions?

Longer term, we may still be able to come up with something that
leverages abigail, but I'd prefer to have a fix for this now rather than
later.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1548718

Title:
  Need to update micro version in shlibs file when symbols are added

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1548718/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to