SPECS: cdemu.spec - no more smp/up - new kernel module build requi...

czarny czarny at pld-linux.org
Sat Oct 13 14:17:19 CEST 2007


Author: czarny                       Date: Sat Oct 13 12:17:19 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- no more smp/up
- new kernel module build requires
- todo added

---- Files affected:
SPECS:
   cdemu.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/cdemu.spec
diff -u SPECS/cdemu.spec:1.13 SPECS/cdemu.spec:1.14
--- SPECS/cdemu.spec:1.13	Wed Mar 14 01:13:57 2007
+++ SPECS/cdemu.spec	Sat Oct 13 14:17:13 2007
@@ -1,9 +1,10 @@
 # $Revision$, $Date$
 #
+# TODO:
+# - find/make a patch for newer (2.6.22 here) kernels
+#
 # Conditional build:
 %bcond_without	dist_kernel	# without distribution kernel
-%bcond_without	up		# without UP packages
-%bcond_without	smp		# without SMP packages
 %bcond_without	kernel		# without kernel packages
 %bcond_with	verbose		# verbose build (V=1)
 %bcond_without	userspace	# don't build userspace tools
@@ -60,8 +61,8 @@
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 %if %{with dist_kernel}
-%requires_releq_kernel_up
-Requires(postun):	%releq_kernel_up
+%requires_releq_kernel
+Requires(postun):	%releq_kernel
 %endif
 Provides:	cdemu(kernel)
 
@@ -75,28 +76,6 @@
 
 Ten pakiet zawiera moduł jądra Linuksa.
 
-%package -n kernel%{_alt_kernel}-smp-misc-%{name}
-Summary:	Linux SMP driver for %{name}
-Summary(pl.UTF-8):	Sterownik dla Linuksa SMP do %{name}
-Release:	%{_rel}@%{_kernel_ver_str}
-Group:		Base/Kernel
-Requires(post,postun):	/sbin/depmod
-%if %{with dist_kernel}
-%requires_releq_kernel_smp
-Requires(postun):	%releq_kernel_smp
-%endif
-Provides:	cdemu(kernel)
-
-%description -n kernel%{_alt_kernel}-smp-misc-%{name}
-This is driver for %{name} for Linux.
-
-This package contains Linux SMP module.
-
-%description -n kernel%{_alt_kernel}-smp-misc-%{name} -l pl.UTF-8
-Sterownik dla Linuksa do %{name}.
-
-Ten pakiet zawiera moduł jądra Linuksa SMP.
-
 %prep
 %setup -q
 cat > Makefile <<'EOF'
@@ -133,12 +112,6 @@
 %postun	-n kernel%{_alt_kernel}-misc-%{name}
 %depmod %{_kernel_ver}
 
-%post	-n kernel%{_alt_kernel}-smp-misc-%{name}
-%depmod %{_kernel_ver}smp
-
-%postun	-n kernel%{_alt_kernel}-smp-misc-%{name}
-%depmod %{_kernel_ver}smp
-
 %if %{with kernel}
 %if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-misc-%{name}
@@ -146,11 +119,6 @@
 /lib/modules/%{_kernel_ver}/misc/cdemu.ko*
 %endif
 
-%if %{with smp} && %{with dist_kernel}
-%files -n kernel%{_alt_kernel}-smp-misc-%{name}
-%defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}smp/misc/cdemu.ko*
-%endif
 %endif
 
 %if %{with userspace}
@@ -167,6 +135,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2007/10/13 12:17:13  czarny
+- no more smp/up
+- new kernel module build requires
+- todo added
+
 Revision 1.13  2007/03/14 00:13:57  glen
 - up bcond
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cdemu.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list