]> git.pld-linux.org Git - packages/ftpfs.git/commitdiff
- bcond, cosmetics
authoreothane <eothane@pld-linux.org>
Sun, 1 Feb 2004 23:59:24 +0000 (23:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ftpfs.spec -> 1.22

ftpfs.spec

index e3ec4d8a6dc3d5de05f5dc37723daad8c5a229e7..524d8c698599de03601caaa29543b162614a41e3 100644 (file)
@@ -1,11 +1,10 @@
+# TODO: UP/SMP modules
 #
 # Conditional build:
-# _without_dist_kernel - without kernel from distribution
+%bcond_without         dist_kernel     # without kernel from distribution
 #
-# TODO: UP/SMP modules
-%define                smpstr          %{?_with_smp:-smp}
-%define                smp             %{?_with_smp:1}%{!?_with_smp:0}
-
+%define                smpstr          %{?with_smp:-smp}
+%define                smp             %{?with_smp:1}%{!?with_smp:0}
 Summary:       FTP File System
 Summary(pl):   System plików FTP
 Name:          ftpfs
@@ -16,7 +15,7 @@ Group:                Base/Kernel
 Source0:       http://dl.sourceforge.net/ftpfs/%{name}-%{version}-k2.4.tar.gz
 # Source0-md5: 5e160de7f7237cdb27e5bc6f234e8c14
 Patch0:                %{name}-opt.patch
-%{!?_without_dist_kernel:BuildRequires:        kernel-headers >= 2.4}
+%{?with_dist_kernel:BuildRequires:     kernel-headers >= 2.4}
 BuildRequires: rpmbuild(macros) >= 1.118
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
This page took 0.058283 seconds and 4 git commands to generate.