[opensuse-packaging] Shared library packaging policy
Hi, I am currently trying to split one of my packages (openldap2) according to the shared library packaging policy and I am wondering what the correct package name would be. The SONAME of the main library is: "libldap-2.4.so.2". According to the policy that would make a package name of: "libldap-2.4-2". But AFAIK we have some rule that dots in the package name are not allowed, is that correct? If yes, what would be the correct package name? BTW, to keep the required changes in other packages as minimal as possible I will not rename the main development package. That will still be called openldap2-devel. Renaming that would require changes in tons of other packages' Buildrequires. -- regards, Ralf --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi Ralf, Le mardi 24 juin 2008, Ralf Haferkamp a écrit :
I am currently trying to split one of my packages (openldap2) according to the shared library packaging policy and I am wondering what the correct package name would be. The SONAME of the main library is: "libldap-2.4.so.2". According to the policy that would make a package name of: "libldap-2.4-2". But AFAIK we have some rule that dots in the package name are not allowed, is that correct? If yes, what would be the correct package name?
Yes, you are right, dots are not allowed in package names. My understanding is that they are replaced with underscores, so your package would be named libldap-2_4-2. -- Jean Delvare Suse L3 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tue, 24 Jun 2008, Ralf Haferkamp wrote:
Hi,
I am currently trying to split one of my packages (openldap2) according to the shared library packaging policy and I am wondering what the correct package name would be. The SONAME of the main library is: "libldap-2.4.so.2". According to the policy that would make a package name of: "libldap-2.4-2". But AFAIK we have some rule that dots in the package name are not allowed, is that correct? If yes, what would be the correct package name?
libldap-2_4-2
BTW, to keep the required changes in other packages as minimal as possible I will not rename the main development package. That will still be called openldap2-devel. Renaming that would require changes in tons of other packages' Buildrequires.
This is fine and recommended practice unless you envision that we
will end up with multiple -devel versions on the same product.
Richard.
--
Richard Guenther
On Dienstag, 24. Juni 2008, Richard Guenther wrote:
On Tue, 24 Jun 2008, Ralf Haferkamp wrote:
Hi,
I am currently trying to split one of my packages (openldap2) according to the shared library packaging policy and I am wondering what the correct package name would be. The SONAME of the main library is: "libldap-2.4.so.2". According to the policy that would make a package name of: "libldap-2.4-2". But AFAIK we have some rule that dots in the package name are not allowed, is that correct? If yes, what would be the correct package name?
libldap-2_4-2 Looks a bit awkward I think, but ok the library versioning of OpenLDAP is somewhat awkward as well ;).
BTW, to keep the required changes in other packages as minimal as possible I will not rename the main development package. That will still be called openldap2-devel. Renaming that would require changes in tons of other packages' Buildrequires.
This is fine and recommended practice unless you envision that we will end up with multiple -devel versions on the same product. Good to know. And no, we don't currently not multiple version of the -devel package.
-- Ralf --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Jean Delvare
-
Ralf Haferkamp
-
Richard Guenther