Description of problem: Dependency to libselinux(-devel) even if SELinux is disabled at rebuilding time: --- snipp --- # rpmbuild -ba shadow-utils.spec error: Failed build dependencies: libselinux-devel is needed by shadow-utils-4.0.3-25 # --- snapp --- Version-Release number of selected component (if applicable): shadow-utils-4.0.3-24 How reproducible: Everytime, see below. Steps to Reproduce: 1. Set "%define WITH_SELINUX 0" 2. rpmbuild -ba shadow-utils.spec 3. Get the dependency error Actual results: Dependency to libselinux(-devel) even if SELinux is disabled. Expected results: Dependency to libselinux(-devel) only if SELinux is enabled; the following change solves it for me: --- snipp --- --- shadow-utils.spec 2004-08-02 01:36:29.000000000 +0200 +++ shadow-utils.spec.rsc 2004-08-02 17:07:11.000000000 +0200 @@ -34,8 +34,10 @@ License: BSD Group: System Environment/Base BuildPrereq: autoconf, automake, libtool, gettext +%if %{WITH_SELINUX} BuildRequires: libselinux-devel Requires: libselinux +%endif Buildroot: %{_tmppath}/%{name}-%{version}-root Obsoletes: adduser --- snapp ---
I think, this bug report isn't any longer of belong, because Fedora Core 3 will have SELinux support; closing with "wontfix" now.