On 7/12/19 3:22 PM, Olaf Hering wrote:
Am Fri, 12 Jul 2019 15:04:10 +0800 schrieb "Maurizio Galli (MauG)"
: Is it possible to add in the main package spec file?
That is how it needs to be done today. See cups-filters or NetworkManager-applet. There are surely many more renames that leave debuginfo behind.
Not sure how handle the -lang package. It requires the base version, so it already has an anchor. If the base version disappears there might be a conflict that must be resolved manually during 'zypper dup'. Just experiment yourself how a rename works in practice.
Olaf
Thank you Olaf, I am not sure it's a good idea to add the provide/obsolete -lang package in the main spec. If there no better way, I think for the lang package I will create manual subpackages adding the Obsoletes line instead of using the %lang_package macro: MauG@openSUSE-LNX ~> rpm --eval %lang_package %package lang Summary: Translations for package %{name} Group: System/Localization Requires: %{name} = %{version} Provides: %{name}-lang-all = %{version} Supplements: %{name} BuildArch: noarch %description lang Provides translations for the "%{name}" package. -- Maurizio Galli (MauG) Xfce Team https://en.opensuse.org/Portal:Xfce -- To unsubscribe, e-mail: opensuse-xfce+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-xfce+owner@opensuse.org