device-mapper links against libselinux and requires the libselinux header files to build, so the spec file should mention this: --- device-mapper.spec~ 2004-04-16 07:59:15.000000000 +0100 +++ device-mapper.spec 2004-04-17 21:10:33.980545488 +0100 @@ -8,6 +8,8 @@ Source0: %{name}.%{version}.tgz Patch0: device-mapper.1.00.14-selinux-enotsup.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +Requires: libselinux +BuildRequires: libselinux-devel %define _exec_prefix /
The Requires: is unnecessary --- the build process picks library dependencies like that up automatically, and the current device-mapper rpms have it set properly as a result. The BuildRequires: looks needed, though.
Added to 1.00.19-2