[opensuse-buildservice] wrong baselibs requires
Hi, I try to build cups with 32bit compatibility packages for SLE11 SP3. For some unknown reason cups on SLE11 was build without compatibility packages. So I tried to build the same version with 32bit Support. The build works fine, but the cups-devel-32bit cannot be installed without errors, since it has an extra requires for cups-32bit, which is not provided by any of the sub packages. It should only require cups-libs-32bit. the baselibs.conf I tried was: cups-devel cups-libs And with extra stuff: cups-libs obsoletes "cups-libs-<targettype> <= <version>" provides "cups-libs-<targettype> = <version>" cups-devel requires -libs-<targettype> requires "cups-libs-<targettype> = <version>" But always with the same result of the extra cups-32bit requires. You can lookup the results in home:kkeil:cups. Any ideas how to get rid of this extra requires ? Karsten -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Karsten Keil
Any ideas how to get rid of this extra requires ?
requires -cups-<targettype> 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-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, thanks for all answers. Am 05.03.2015 um 10:46 schrieb Andreas Schwab:
Karsten Keil
writes: Any ideas how to get rid of this extra requires ?
requires -cups-<targettype>
Yes, this works. Only to verify that I understand it correctly: The baselibs magic always generates a "Requires: %{name}-<targettype>". The line "requires -%{name}-<targettype>" in the baselibs.conf filters this requirement, so it does not end up in the generated RPM. Karsten -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Sunday 2015-03-08 16:31, Karsten Keil wrote:
Hi,
thanks for all answers.
Am 05.03.2015 um 10:46 schrieb Andreas Schwab:
Karsten Keil
writes: Any ideas how to get rid of this extra requires ?
requires -cups-<targettype>
Yes, this works. Only to verify that I understand it correctly:
The baselibs magic always generates a "Requires: %{name}-<targettype>".
Yes, there is an implicit name-targettype rule added, which needs to be explicitly undone again. It smells like a historic - now dull - default, really, because due to the Shared Library Package Naming Guidelines which openSUSE employs since years essentially ensures that we seldomly have libraries in the %name package in the first place, but always in libfooooo0. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2015-03-05 10:39, Karsten Keil wrote:
And with extra stuff:
cups-libs obsoletes "cups-libs-<targettype> <= <version>" provides "cups-libs-<targettype> = <version>" cups-devel requires -libs-<targettype> requires "cups-libs-<targettype> = <version>"
Any ideas how to get rid of this extra requires ?
Because you need requires -cups-libs-<targettype> and you don't have it. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2015-03-05 10:39, Karsten Keil wrote:
And with extra stuff:
cups-libs obsoletes "cups-libs-<targettype> <= <version>" provides "cups-libs-<targettype> = <version>" cups-devel requires -libs-<targettype> requires "cups-libs-<targettype> = <version>"
But always with the same result of the extra cups-32bit requires. You can lookup the results in home:kkeil:cups. Any ideas how to get rid of this extra requires ?
cups-devel requires -cups-<targettype> Most baselibs.conf have it, yours does not. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Jan Engelhardt
-
Karsten Keil