- %%{__make} -C driver install, to avoid rebuilding while install
- requires i2c, not kernel(i2c) (i2c modules pkg provides i2c)
- %%doc moved to main package, it should not be in pkg with kenrel modules
- updated to 0.75.86, STB
Changed files:
bttv.spec -> 1.14
Summary: BrookTree TV tuner driver
Summary(pl): Sterownik dla kart TV na chipsecie BrookTree
Name: bttv
Summary: BrookTree TV tuner driver
Summary(pl): Sterownik dla kart TV na chipsecie BrookTree
Name: bttv
Release: 1
License: GPL
Group: Base/Kernel
Release: 1
License: GPL
Group: Base/Kernel
URL: http://www.strusel007.de/linux/bttv/
%{!?_without_dist_kernel:BuildPrereq: kernel-source}
ExclusiveArch: %{ix86}
URL: http://www.strusel007.de/linux/bttv/
%{!?_without_dist_kernel:BuildPrereq: kernel-source}
ExclusiveArch: %{ix86}
Prereq: modutils
BuildRequires: i2c-devel
BuildConflicts: kernel-source < 2.2.0
Prereq: modutils
BuildRequires: i2c-devel
BuildConflicts: kernel-source < 2.2.0
-%{__make} CFLAGS="$RPM_OPT_FLAGS"
-
+%{__make} EXTRA_CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} -C driver install DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf CARDLIST Changes Insmod-options README* Sound-FAQ Specs
+gzip -9nf CARDLIST Changes Insmod-options README* Sound-FAQ Specs Cards
%files -n kernel%{smpstr}-misc-bttv
%defattr(644,root,root,755)
/lib/modules/*/misc/*
%files -n kernel%{smpstr}-misc-bttv
%defattr(644,root,root,755)
/lib/modules/*/misc/*