#
# Conditional build:
-# _without_dist_kernel - without distribution kernel
+%bcond_without dist_kernel # without distribution kernel
#
Summary: Little silly kernel module and utility to restrict virtual hosts
Summary(pl): Proste narzêdzie do ustawiania restrykcji u¿ywania wirtualnych hostów
Group: Networking/Utilities
Source0: http://toxygen.net/bindprivs/%{name}-%{version}.tar.gz
# Source0-md5: 0846e1094480728440ec46d273cc0815
-%{!?_without_dist_kernel:BuildRequires: kernel-headers}
+%{?with_dist_kernel:BuildRequires: kernel-headers}
URL: http://toxygen.net/bindprivs/
BuildRequires: %{kgcc_package}
BuildRequires: rpmbuild(macros) >= 1.118
Summary: bindprivs Linux kernel module
Summary(pl): Modu³ j±dra Linuksa bindprivs
Group: Base/Kernel
-%{!?_without_dist_kernel:%requires_releq_kernel_up}
+%{?with_dist_kernel:%requires_releq_kernel_up}
Requires(post,postun): /sbin/depmod
%description -n kernel-misc-bindprivs
Summary: bindprivs Linux SMP kernel module
Summary(pl): Modu³ j±dra Linuksa SMP bindprivs
Group: Base/Kernel
-%{!?_without_dist_kernel:%requires_releq_kernel_smp}
+%{?with_dist_kernel:%requires_releq_kernel_smp}
Requires(post,postun): /sbin/depmod
%description -n kernel-smp-misc-bindprivs