]> git.pld-linux.org Git - packages/capsel.git/commitdiff
- bconds, few cleanups
authoreothane <eothane@pld-linux.org>
Fri, 30 Jan 2004 19:51:51 +0000 (19:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    capsel.spec -> 1.32

capsel.spec

index b37aa3a8a2d833587d5ffa706880e6daccc2f9c0..2f5061283caa7251a5a9ccdb096c69eb3644f9fc 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _without_dist_kernel - without distribution kernel
+%bcond_without  dist_kernel    # without distribution kernel
 #
 %define                _orig_name      capsel
 %define                _pre            rc1
@@ -22,10 +22,10 @@ Patch2:             %{name}-include-fix.patch
 URL:           http://cliph.linux.pl/capsel/
 BuildRequires: %{kgcc_package}
 BuildRequires: rpmbuild(macros) >= 1.118
-%{!?_without_dist_kernel:BuildRequires:        kernel-headers}
+%{?with_dist_kernel:BuildRequires:     kernel-headers}
 PreReq:                rc-scripts
 Requires(post,preun):  /sbin/chkconfig
-%{!?_without_dist_kernel:Requires:     kernel(capsel)}
+%{?with_dist_kernel:Requires:  kernel(capsel)}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,7 +42,7 @@ Summary:      Capsel - supports Linux-Privs security model
 Summary(pl):   Capsel - obs³uga modelu bezpieczeñstwa Linux-Privs
 Release:       %{_rel}@%{_kernel_ver_str}
 Group:         Base/Kernel
-%{!?_without_dist_kernel:%requires_releq_kernel_up}
+%{?with_dist_kernel:%requires_releq_kernel_up}
 Requires(post,postun): /sbin/depmod
 Provides:      kernel(capsel)
 
@@ -57,7 +57,7 @@ Summary:      Capsel - supports Linux-Privs security model
 Summary(pl):   Capsel - obs³uga modelu bezpieczeñstwa Linux-Privs
 Release:       %{_rel}@%{_kernel_ver_str}
 Group:         Base/Kernel
-%{!?_without_dist_kernel:%requires_releq_kernel_smp}
+%{?with_dist_kernel:%requires_releq_kernel_smp}
 Requires(post,postun): /sbin/depmod
 Provides:      kernel(capsel)
 
This page took 0.03143 seconds and 4 git commands to generate.