SPECS: em8300.spec - update to 0.17.0
glen
glen at pld-linux.org
Thu Jul 3 12:59:21 CEST 2008
Author: glen Date: Thu Jul 3 10:59:21 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update to 0.17.0
---- Files affected:
SPECS:
em8300.spec (1.55 -> 1.56)
---- Diffs:
================================================================
Index: SPECS/em8300.spec
diff -u SPECS/em8300.spec:1.55 SPECS/em8300.spec:1.56
--- SPECS/em8300.spec:1.55 Thu Jul 3 12:48:13 2008
+++ SPECS/em8300.spec Thu Jul 3 12:59:16 2008
@@ -8,29 +8,32 @@
%bcond_without userspace # don't build userspace tools
%bcond_with verbose # verbose build (V=1)
-%if %{without kernel}
-%undefine with_dist_kernel
-%endif
-
%ifarch sparc
# kernel modules won't build on sparc32, no I2C in kernel
%undefine with_kernel
%endif
+%if %{without kernel}
+%undefine with_dist_kernel
+%endif
%if "%{_alt_kernel}" != "%{nil}"
%undefine with_userspace
%endif
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define _enable_debug_packages 0
+%endif
%define pname em8300
Summary: DXR3 and H+ driver
Summary(pl.UTF-8): Sterowniki dla DXR3 i H+
Name: %{pname}%{_alt_kernel}
-Version: 0.16.0
-Release: 3
+Version: 0.17.0
+Release: 1
License: GPL
Group: Applications/System
Source0: http://dl.sourceforge.net/dxr3/%{pname}-%{version}.tar.gz
-# Source0-md5: 9e9b769b99927079b4fd6ec423d95049
+# Source0-md5: 3bb4c33ef59075f60c376f61b673d68f
Source1: %{pname}.init
Source2: %{pname}.sysconf
Patch0: %{pname}-make.patch
@@ -43,7 +46,7 @@
%endif
%if %{with kernel}
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.14}
-BuildRequires: rpmbuild(macros) >= 1.308
+BuildRequires: rpmbuild(macros) >= 1.379
%endif
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
@@ -124,9 +127,8 @@
%endif
%if %{with kernel}
-%build_kernel_modules -C modules -m em8300,adv717x,bt865 <<'EOF'
- cp ../include/linux/em8300.h o/include/linux/em8300.h
-EOF
+%build_kernel_modules -C modules -m em8300,adv717x,bt865
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -140,11 +142,7 @@
%endif
%if %{with kernel}
-install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/kernel/drivers/video
-for i in adv717x bt865 em8300; do
- install modules/$i-%{?with_dist_kernel:dist}%{!?with_dist_kernel:nondist}.ko \
- $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/kernel/drivers/video/$i.ko
-done
+%install_kernel_modules -m modules/{em8300,adv717x,bt865} -d kernel/drivers/video
%endif
%clean
@@ -204,6 +202,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.56 2008/07/03 10:59:16 glen
+- update to 0.17.0
+
Revision 1.55 2008/07/03 10:48:13 glen
- try use kernel build module macros
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/em8300.spec?r1=1.55&r2=1.56&f=u
More information about the pld-cvs-commit
mailing list