Make so versioning forward compatibile 82/293582/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_8.0_unified tizen_6.5 tizen_7.0 tizen_8.0 accepted/tizen/6.5/unified/20230612.123200 accepted/tizen/7.0/unified/20230606.142246 accepted/tizen/8.0/unified/20231005.093600 accepted/tizen/unified/20230606.140933 tizen_8.0_m2_release
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 31 May 2023 08:45:14 +0000 (10:45 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 31 May 2023 08:45:14 +0000 (10:45 +0200)
commitdb362033767f4862f48f513182d2ca14a1f5b95c
tree4b1a2ea1be6489c098d30ce01b925145172402b8
parentaee772abc1015ed00a91cadbb274a8011beb4efd
Make so versioning forward compatibile

The commit 317ef5442d048a5b0701748aaae1fd92e6169d97 modified the so
versioning while keeping backward compatibility.

It turns out that we also have to keep it forward compatible as apps
built with latest dcm may be installed on older images. Currently it's
not possible as the lib*.so.0 used by newly built apps is absent on old
images.

This commit sets the SO VERSION to 2.0 to provide forward compatibility.

Old dcm:
- main rpm: lib*.so.2.0
- devel rpm: lib*.so -> lib*.so.2.0

Backward compatible dcm:
- main rpm:
  - lib*.so.2.1.2
  - lib*.so.0 -> lib*.so.2.1.2
  - lib*.so.2.0 -> lib*.so.2.1.2 (link added manually in spec)
- devel rpm: lib*.so -> lib*.so.0

Forward & backward compatible dcm (this commit):
- main rpm:
  - lib*.so.2.1.2
  - lib*.so.2.0 -> lib*.so.2.1.2
- devel rpm: lib*.so -> lib*.so.2.0

Change-Id: I1bec54fc62eecec56e54f64e3acd6bb1b7217336
packaging/device-certificate-manager.spec
src/dcm-client/CMakeLists.txt