SPECS: submount.spec - drop bcond, alt kernel fixes
glen
glen at pld-linux.org
Sun May 18 17:35:29 CEST 2008
Author: glen Date: Sun May 18 15:35:29 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- drop bcond, alt kernel fixes
---- Files affected:
SPECS:
submount.spec (1.27 -> 1.28)
---- Diffs:
================================================================
Index: SPECS/submount.spec
diff -u SPECS/submount.spec:1.27 SPECS/submount.spec:1.28
--- SPECS/submount.spec:1.27 Sun Nov 4 21:29:33 2007
+++ SPECS/submount.spec Sun May 18 17:35:23 2008
@@ -5,24 +5,35 @@
%bcond_without kernel # don't build kernel modules
%bcond_without userspace # don't build userspace utilities
%bcond_with verbose # verbose build (V=1)
-%bcond_with grsec_kernel # build for kernel-grsecurity
-#
-%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
-%define alt_kernel grsecurity
+
+%ifarch sparc
+%undefine with_smp
+%endif
+
+%if %{without kernel}
+%undefine with_dist_kernel
+%endif
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine with_userspace
%endif
-#
-%define _rel 11
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define _enable_debug_packages 0
+%endif
+
+%define rel 11
+%define pname submount
Summary: Automatically mounts and unmounts removable media devices
Summary(pl.UTF-8): Automatyczne montowanie i odmontowywanie wymiennych nośników danych
-Name: submount
+Name: %{pname}%{_alt_kernel}
Version: 0.9
-Release: %{_rel}
+Release: %{rel}
License: GPL v2
Group: Base/Kernel
-Source0: http://dl.sourceforge.net/submount/%{name}-%{version}.tar.gz
+Source0: http://dl.sourceforge.net/submount/%{pname}-%{version}.tar.gz
# Source0-md5: f6abac328dbfb265eff18561065575c6
-Patch0: %{name}-subfs.patch
-Patch1: %{name}-namespace.patch
+Patch0: %{pname}-subfs.patch
+Patch1: %{pname}-namespace.patch
URL: http://submount.sourceforge.net/
%if %{with kernel}
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7}
@@ -47,7 +58,7 @@
%package -n kernel%{_alt_kernel}-fs-subfs
Summary: Submount - kernel module
Summary(pl.UTF-8): Submount - moduł jądra
-Release: %{_rel}@%{_kernel_ver_str}
+Release: %{rel}@%{_kernel_ver_str}
Group: Base/Kernel
Requires(post,postun): /sbin/depmod
%if %{with dist_kernel}
@@ -66,7 +77,7 @@
Ten pakiet zawiera moduł jądra Linuksa.
%prep
-%setup -q
+%setup -q -n %{pname}-%{version}
%patch0 -p1
%patch1 -p1
@@ -125,6 +136,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.28 2008-05-18 15:35:23 glen
+- drop bcond, alt kernel fixes
+
Revision 1.27 2007-11-04 20:29:33 glen
- package to existing kernel/fs dir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/submount.spec?r1=1.27&r2=1.28&f=u
More information about the pld-cvs-commit
mailing list