SPECS: libfuse.spec - alt kernel fixes from AC-branch

glen glen at pld-linux.org
Thu Apr 3 22:59:22 CEST 2008


Author: glen                         Date: Thu Apr  3 20:59:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- alt kernel fixes from AC-branch

---- Files affected:
SPECS:
   libfuse.spec (1.95 -> 1.96) 

---- Diffs:

================================================================
Index: SPECS/libfuse.spec
diff -u SPECS/libfuse.spec:1.95 SPECS/libfuse.spec:1.96
--- SPECS/libfuse.spec:1.95	Tue Mar  4 20:33:44 2008
+++ SPECS/libfuse.spec	Thu Apr  3 22:59:17 2008
@@ -5,17 +5,24 @@
 %bcond_with	kernel		# build kernel modules
 %bcond_without	userspace	# don't build userspace tools
 %bcond_with	verbose		# verbose build (V=1)
-%bcond_with	grsec_kernel	# build for kernel-grsecurity
 %bcond_without	selinux		# build without SELinux support
-#
-%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		pname	libfuse
 %define		_rel	1
 Summary:	Filesystem in Userspace
 Summary(pl.UTF-8):	System plików w przestrzeni użytkownika
-Name:		libfuse
+Name:		%{pname}%{_alt_kernel}
 Version:	2.7.3
 Release:	%{_rel}
 Epoch:		0
@@ -25,7 +32,7 @@
 # Source0-md5:	98563fc7b265b7479a3178181cbcf59a
 Source1:	fuse.conf
 Patch0:		kernel-misc-fuse-Makefile.am.patch
-Patch1:		%{name}-link.patch
+Patch1:		%{pname}-link.patch
 URL:		http://fuse.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -43,12 +50,9 @@
 Requires(postun):	/usr/sbin/groupdel
 Requires(pre):	/usr/bin/getgid
 Requires(pre):	/usr/sbin/groupadd
+Provides:	group(fuse)
 Buildroot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%if !%{with kernel}
-%undefine with_dist_kernel
-%endif
-
 %description
 FUSE (Filesystem in Userspace) is a simple interface for userspace
 programs to export a virtual filesystem to the Linux kernel. FUSE also
@@ -70,7 +74,7 @@
 Summary:	Filesytem in Userspace - Development header files
 Summary(pl.UTF-8):	System plików w przestrzeni użytkownika - pliki nagłówkowe
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{_rel}
+Requires:	%{pname} = %{epoch}:%{version}-%{_rel}
 
 %description devel
 Libfuse library header files.
@@ -228,6 +232,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.96  2008-04-03 20:59:17  glen
+- alt kernel fixes from AC-branch
+
 Revision 1.95  2008-03-04 19:33:44  qboosh
 - ghost soname symlinks
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libfuse.spec?r1=1.95&r2=1.96&f=u



More information about the pld-cvs-commit mailing list