On 02/05/2018 05:25 PM, Andreas Schwab wrote:
On Feb 05 2018, Klaas Freitag
wrote: BuildRequires: libboost_system%{boost_version}-devel
You should be able to use boost-%{boost_version}-devel to get all subpackages.
No, you can't. It was explained just over a year ago on openSUSE factory mailing list and packages that depend on binary boost libraries that do not have this fixed are not in openSUSE:Factory anymore (mostly because it was fixed). But yes, you can now continue to BR: boost-devel if all you need is the headers. libboost_headers-devel now provides boost-devel. You will not get any binary libraries so things will just fail on the link stage. Boost dependencies can actually be quite simple now, since you can have BuildRequires: boost-devel %if %{suse_version} >= 1330 BuildRequires: libboost_system-devel %endif and it should work for older Leap and SLE12 too as well as Factory and Leap 15. And if you don't care about old stuff, you don't need boost-devel at all in your spec files. Cheers, - Adam PS. And please, *never* use versioned boost package names in any build requires. If you require some min version, all the provides have a version. BuildRequires: libboost_system-devel or BuildRequires: libboost_system-devel >= 1.62.0 *NEVER* BuildRequires: libboost_system1_62_0-devel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org