]> git.pld-linux.org Git - packages/shfs.git/commitdiff
- drop grsec_kernel bcond
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 18 May 2008 15:16:58 +0000 (15:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    shfs.spec -> 1.73

shfs.spec

index 6f5c46c3efed26781231ca8e5792d6d48b6a20f0..3dc3dc11b7580f682a6897b6fae4d074a0dbf6d4 100644 (file)
--- a/shfs.spec
+++ b/shfs.spec
@@ -4,22 +4,24 @@
 %bcond_without kernel          # don't build kernel modules
 %bcond_with    verbose         # verbose build (V=1)
 %bcond_without userspace       # don't build userspace tools
-%bcond_with    grsec_kernel    # build for kernel-grsecurity
-#
-%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
-%define        alt_kernel      grsecurity
-%endif
-#
+
 %ifarch sparc
 %undefine      with_smp
 %endif
-#
-%define                _rel    20
+
+%if %{without kernel}
+%undefine      with_dist_kernel
+%endif
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine      with_userspace
+%endif
+
+%define                rel     20
 Summary:       (Secure) SHell FileSystem utilities
 Summary(pl.UTF-8):     Narzędzia obsługujące system plików przez ssh
 Name:          shfs
 Version:       0.35
-Release:       %{_rel}
+Release:       %{rel}
 License:       GPL v2
 Group:         Applications/System
 Source0:       http://dl.sourceforge.net/shfs/%{name}-%{version}.tar.gz
@@ -63,7 +65,7 @@ Ten pakiet zawiera programy narzędziowe dla SHFS.
 %package -n kernel%{_alt_kernel}-fs-shfs
 Summary:       SHell File System Linux kernel module
 Summary(pl.UTF-8):     Moduł jądra Linuksa obsługujący powłokowy system plików
-Release:       %{_rel}@%{_kernel_ver_str}
+Release:       %{rel}@%{_kernel_ver_str}
 Group:         Base/Kernel
 Requires(post,postun): /sbin/depmod
 %if %{with dist_kernel}
This page took 0.14811 seconds and 4 git commands to generate.