[Mageia-dev] Weird boost subpackage (lib64 in i586)
David Walser
luigiwalser at yahoo.com
Sun Jul 22 03:29:16 CEST 2012
In the boost spec, for example this one:
http://svnweb.mageia.org/packages/updates/1/boost/current/SPECS/boost.spec?revision=265078&view=markup
There is this definition:
%define libnamedevel %mklibname boost -d
And then @ line 98 we have:
%package -n %{libnamedevel}-doc
Summary: The libraries and headers needed for Boost development
Group: Development/C++
Provides: %{name}-devel-doc = %{version}-%{release}
Conflicts: %{_lib}boost-devel < 1.41.0
BuildArch: noarch
This is a documentation package, not a library package, so it shouldn't be using a mklibname name in the name, right? This causes a package
by the following name to appear on the *i586* mirrors:
lib64boost-devel-doc
I guess that's because it's noarch, so it's only generated on one arch (x86_64 apparently) and used on all arches.
Shouldn't the package actually be named %{name}-devel-doc instead of just providing it?
More information about the Mageia-dev
mailing list