SPECS: kernel-video-viafb.spec - added a patch - install the modul...
witekfl
witekfl at pld-linux.org
Fri Mar 2 19:08:27 CET 2007
Author: witekfl Date: Fri Mar 2 18:08:27 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added a patch
- install the module in kernel/drivers/video
---- Files affected:
SPECS:
kernel-video-viafb.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/kernel-video-viafb.spec
diff -u SPECS/kernel-video-viafb.spec:1.6 SPECS/kernel-video-viafb.spec:1.7
--- SPECS/kernel-video-viafb.spec:1.6 Mon Feb 12 23:09:10 2007
+++ SPECS/kernel-video-viafb.spec Fri Mar 2 19:08:22 2007
@@ -26,6 +26,7 @@
Source0: http://drivers.viaarena.com/linux-fbdev-kernel-src_%{version}.tgz
# Source0-md5: 0b1c68388f0d2cba8e4938293f7fbe5b
Patch0: %{name}-Makefile.patch
+Patch1: %{name}-bool.patch
%if %{with kernel}
%{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.14}
BuildRequires: rpmbuild(macros) >= 1.217
@@ -80,6 +81,7 @@
%prep
%setup -q -n Linux-FBDev-kernel-src_%{version}
%patch0 -p1
+%patch1 -p1
cp -f Makefile_26_Lite.kernel Makefile
%build
@@ -124,12 +126,12 @@
rm -rf $RPM_BUILD_ROOT
%if %{with kernel}
-install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/video
+install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/kernel/drivers/video
install viafb-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.ko \
- $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/video/viafb.ko
+ $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/kernel/drivers/video/viafb.ko
%if %{with smp} && %{with dist_kernel}
install viafb-smp.ko \
- $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/video/viafb.ko
+ $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/kernel/drivers/video/viafb.ko
%endif
%endif
@@ -152,13 +154,13 @@
%files
%defattr(644,root,root,755)
%doc readme.txt viafb.modes
-/lib/modules/%{_kernel_ver}/video/*.ko*
+/lib/modules/%{_kernel_ver}/kernel/drivers/video/*.ko*
%if %{with smp} && %{with dist_kernel}
%files -n kernel-smp-video-viafb
%defattr(644,root,root,755)
%doc readme.txt viafb.modes
-/lib/modules/%{_kernel_ver}smp/video/*.ko*
+/lib/modules/%{_kernel_ver}smp/kernel/drivers/video/*.ko*
%endif
%endif
@@ -168,6 +170,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2007/03/02 18:08:22 witekfl
+- added a patch
+- install the module in kernel/drivers/video
+
Revision 1.6 2007/02/12 22:09:10 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/kernel-video-viafb.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list