[opensuse-packaging] Advice sought for shared libs
Hi everyone, what is the preferred way to handle shared libraries? The package should go into the science repo, but feedback on how it's done in the standard repos is also welcome. I've looked at https://en.opensuse.org/openSUSE:Shared_library_packaging_policy, but I still do not quite understand how to organise the %package sections: Is it: Name: libblah … %package -n %{name}%{sover} … %package devel or rather: Name: blah ... %package -n lib%{name}%{sover} … %package devel Do I retain the basic (lib)blah package for documentation, or should that go to -devel? If so, how do I suppress the empty default package? Thanks a lot, A. -- Ansgar Esztermann DV-Systemadministration Max-Planck-Institut für biophysikalische Chemie, Abteilung 105 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
"Esztermann, Ansgar"
Is it: Name: libblah … %package -n %{name}%{sover} … %package devel
or rather: Name: blah ... %package -n lib%{name}%{sover} … %package devel
The name should follow the name of the tarball, since that's how it is usually best known under.
If so, how do I suppress the empty default package?
Don't write a %files section for it. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wednesday 2013-10-30 12:28, Andreas Schwab wrote:
"Esztermann, Ansgar"
writes: Is it: Name: libblah … %package -n %{name}%{sover} … %package devel
or rather: Name: blah ... %package -n lib%{name}%{sover} … %package devel
The name should follow the name of the tarball, since that's how it is usually best known under.
Added as https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Layout_of_t... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Oct 30, 2013, at 12:28 , Andreas Schwab
The name should follow the name of the tarball, since that's how it is usually best known under.
Sounds reasonable.
If so, how do I suppress the empty default package?
Don't write a %files section for it.
Oh, I see. Thanks a lot! A. -- Ansgar Esztermann DV-Systemadministration Max-Planck-Institut für biophysikalische Chemie, Abteilung 105 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Esztermann, Ansgar
-
Jan Engelhardt