]> git.pld-linux.org Git - packages/shfs.git/commitdiff
- remove nested ifs.
authorPaweł Gołaszewski <blues@pld-linux.org>
Sun, 9 May 2004 20:20:03 +0000 (20:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    shfs.spec -> 1.15

shfs.spec

index bde87d9eb60038c6e2071ba1fdf4f4a859f52926..aa9c65d98590a7413c63fec1766ebbd5197a1ba6 100644 (file)
--- a/shfs.spec
+++ b/shfs.spec
@@ -10,7 +10,7 @@ Summary:      (Secure) SHell FileSystem utilities
 Summary(pl):   Narzêdzia obs³uguj±ce system plików przez ssh
 Name:          shfs
 Version:       0.33
-%define                _rel    1
+%define                _rel    1.1
 Release:       %{_rel}
 License:       GPL
 Group:         Applications/System
@@ -118,16 +118,19 @@ cd -
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/kernel/fs/shfs
 
 %if %{with kernel}
 cd shfs/Linux-2.6/built
-install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/kernel/fs/shfs
 install shfs-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.ko \
        $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/kernel/fs/shfs/shfs.ko
+cd -
+%endif
+
 %if %{with smp} && %{with kernel}
+cd shfs/Linux-2.6/built
 install shfs-smp.ko \
        $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/kernel/fs/shfs/shfs.ko
-%endif
 cd -
 %endif
 
This page took 0.025699 seconds and 4 git commands to generate.