]> git.pld-linux.org Git - packages/device-mapper.git/commitdiff
- it uses _kernel_ headers during build
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 29 Nov 2003 00:17:10 +0000 (00:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    device-mapper.spec -> 1.16

device-mapper.spec

index ad147842c64fc80525084fc4985a56917eb6bf73..773342e92f4ffdf59d1b8903311890541ee038e5 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without dist_kernel     # without distribution kernel headers
+#
 Summary:       Userspace support for the device-mapper
 Summary(pl):   Wsparcie dla mapowania urz±dzeñ w przestrzeni u¿ytkownika
 Name:          device-mapper
@@ -11,6 +15,7 @@ Patch0:               %{name}-install.patch
 Patch1:                %{name}-opt.patch
 BuildRequires: autoconf
 BuildRequires: automake
+%{!?with_dist_kernel:BuildRequires:    kernel-headers}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sbindir        /sbin
This page took 0.098413 seconds and 4 git commands to generate.