SPECS: gspca.spec - kernel module build macros usage updated for Th

jajcus jajcus at pld-linux.org
Thu Apr 19 16:54:08 CEST 2007


Author: jajcus                       Date: Thu Apr 19 14:54:08 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- kernel module build macros usage updated for Th

---- Files affected:
SPECS:
   gspca.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/gspca.spec
diff -u SPECS/gspca.spec:1.7 SPECS/gspca.spec:1.8
--- SPECS/gspca.spec:1.7	Thu Apr 12 17:12:04 2007
+++ SPECS/gspca.spec	Thu Apr 19 16:54:03 2007
@@ -8,8 +8,6 @@
 # Conditional build:
 %bcond_without	dist_kernel	# allow non-distribution kernel
 %bcond_without	kernel		# don't build kernel modules
-%bcond_without	up		# don't build UP module
-%bcond_without	smp		# don't build SMP module
 %bcond_with	verbose		# verbose build (V=1)
 
 %if %{without kernel}
@@ -36,8 +34,8 @@
 %endif
 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
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -60,7 +58,7 @@
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 %if %{with dist_kernel}
-%requires_releq_kernel_up
+%requires_releq_kernel
 %endif
 
 %description -n kernel%{_alt_kernel}-video-%{name}
@@ -77,31 +75,6 @@
 
 Ten pakiet zawiera moduł jądra Linuksa.
 
-%package -n kernel%{_alt_kernel}-smp-video-%{name}
-Summary:	Generic Software Package for Camera Adapters - Linux SMP kernel module
-Summary(pl.UTF-8):	Oprogramowanie do obsługi kamer - moduł jądra Linuksa SMP
-Release:	1.%{_snap}.%{_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
-
-%description -n kernel%{_alt_kernel}-smp-video-%{name}
-GSPCA is a Linux Generic Software Package for Camera Adapters. It
-supports cameras cameras based on spca5xx, et61xx51, zc030x, sn9c1xx,
-cx11646, tv_8532, pac207, vc032x chips.
-
-This package contains Linux SMP kernel module.
-
-%description -n kernel%{_alt_kernel}-smp-video-%{name} -l pl.UTF-8
-GSPCA to ogólny pakiet oprogramowania do obsługi kamer dla Linuksa.
-Obsługuje kamery oparte na układach spca5xx, et61xx51, zc030x,
-sn9c1xx, cx11646, tv_8532, pac207, vc032x.
-
-Ten pakiet zawiera moduł jądra Linuksa SMP.
-
 %prep
 %setup -q -n %{name}v1-%{_snap}
 
@@ -126,32 +99,21 @@
 %postun	-n kernel%{_alt_kernel}-video-%{name}
 %depmod %{_kernel_ver}
 
-%post	-n kernel%{_alt_kernel}-smp-video-%{name}
-%depmod %{_kernel_ver}smp
-
-%postun	-n kernel%{_alt_kernel}-smp-video-%{name}
-%depmod %{_kernel_ver}smp
-
 %if %{with kernel}
-%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-video-%{name}
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/%{_module_dir}/gspca.ko*
 %endif
 
-%if %{with smp} && %{with dist_kernel}
-%files -n kernel%{_alt_kernel}-smp-video-%{name}
-%defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}smp/%{_module_dir}/gspca.ko*
-%endif
-%endif
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2007/04/19 14:54:03  jajcus
+- kernel module build macros usage updated for Th
+
 Revision 1.7  2007/04/12 15:12:04  jajcus
 - up to 20070110, see notes in TODO
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gspca.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list