[opensuse-packaging] Lib name ends with a number
Hi, I am currently building a library package that name ends with a number (libfido2) and the version is 0.2.0. The naming convention says it have to end with the major version, but in this case is 0. The package name could be libfido20. But it is a bit confusing. With solution is preferred here? Torsten -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 03.08.2018 um 10:07 schrieb Torsten Gruner:
Hi,
I am currently building a library package that name ends with a number (libfido2) and the version is 0.2.0. The naming convention says it have to end with the major version, but in this case is 0. The package name could be libfido20. But it is a bit confusing.
IIUC correctly, library packages are named after the SONAME. What's the SONAME of the library? -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 03.08.2018 um 10:14 schrieb Stefan Seyfried:
Am 03.08.2018 um 10:07 schrieb Torsten Gruner:
Hi,
I am currently building a library package that name ends with a number (libfido2) and the version is 0.2.0. The naming convention says it have to end with the major version, but in this case is 0. The package name could be libfido20. But it is a bit confusing. IIUC correctly, library packages are named after the SONAME. What's the SONAME of the library? The SONAME is 0.
https://build.opensuse.org/package/show/home:Simmphonie:yubico/libfido2 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 03.08.2018 um 10:28 schrieb Torsten Gruner:
Am 03.08.2018 um 10:14 schrieb Stefan Seyfried:
Am 03.08.2018 um 10:07 schrieb Torsten Gruner:
Hi,
I am currently building a library package that name ends with a number (libfido2) and the version is 0.2.0. The naming convention says it have to end with the major version, but in this case is 0. The package name could be libfido20. But it is a bit confusing. IIUC correctly, library packages are named after the SONAME. What's the SONAME of the library? The SONAME is 0.
https://build.opensuse.org/package/show/home:Simmphonie:yubico/libfido2
Then I *think* (but I'm by no way an expert for these issues ;-) the package name should be libfido2-0 -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On pátek 3. srpna 2018 10:32:38 CEST Stefan Seyfried wrote:
Then I *think* (but I'm by no way an expert for these issues ;-) the package name should be
libfido2-0
That indeed looks like the preferred practice. Some examples of packages with libraries with number at the end of their name: * libx265-151 * libX11-6 * libtelepathy-qt5-0 Michal -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Friday 2018-08-03 12:42, Michal Srb wrote:
On pátek 3. srpna 2018 10:32:38 CEST Stefan Seyfried wrote:
Then I *think* (but I'm by no way an expert for these issues ;-) the package name should be
libfido2-0
That indeed looks like the preferred practice. Some examples of packages with libraries with number at the end of their name: * libx265-151
It's not just preferred practice, it is explicitly spelled out so. https://en.opensuse.org/openSUSE:Shared_library_packaging_policy : """to avoid ambiguities, a dash is inserted between two numbers""" -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Jan Engelhardt
-
Michal Srb
-
Stefan Seyfried
-
Torsten Gruner