Author: shadzik                      Date: Mon Apr  2 03:32:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use new kernel macros
- remove smp stuff

---- Files affected:
SPECS:
   btsco.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/btsco.spec
diff -u SPECS/btsco.spec:1.18 SPECS/btsco.spec:1.19
--- SPECS/btsco.spec:1.18       Wed Mar 14 01:13:57 2007
+++ SPECS/btsco.spec    Mon Apr  2 05:32:53 2007
@@ -4,8 +4,6 @@
 %bcond_without dist_kernel     # without kernel from distribution
 %bcond_without kernel          # don't build kernel modules
 %bcond_without userspace       # don't build userspace utilities
-%bcond_without up              # don't build UP module
-%bcond_without smp             # don't build SMP module
 %bcond_with    verbose         # verbose build (V=1)
 #
 %define        rel     1
@@ -31,7 +29,7 @@
 BuildRequires: bluez-libs-devel >= 2.21-1
 BuildRequires: libao-devel >= 0.8.6-1
 BuildRequires: libtool
-BuildRequires: rpmbuild(macros) >= 1.330
+BuildRequires: rpmbuild(macros) >= 1.379
 %endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -56,7 +54,7 @@
 Summary(pl.UTF-8):     Sterownik ALSA do jądra Linuksa dla Bluetooth Headset
 Release:       [EMAIL PROTECTED]
 Group:         Base/Kernel
-%{?with_dist_kernel:%requires_releq_kernel_up}
+%{?with_dist_kernel:%requires_releq_kernel}
 Requires(post,postun): /sbin/depmod
 Requires:      kernel%{_alt_kernel}-sound-alsa
 
@@ -67,22 +65,6 @@
 Sterownik ALSA do jądra Linuksa dla Bluetooth Headset o nazwie
 snd_bt_sco.
 
-%package -n kernel%{_alt_kernel}-smp-char-btsco
-Summary:       Linux ALSA kernel driver for Bluetooth Headset (SMP)
-Summary(pl.UTF-8):     Sterownik ALSA do jądra Linuksa dla Bluetooth Headset 
(SMP)
-Release:       [EMAIL PROTECTED]
-Group:         Base/Kernel
-%{?with_dist_kernel:%requires_releq_kernel_smp}
-Requires(post,postun): /sbin/depmod
-Requires:      kernel%{_alt_kernel}-smp-sound-alsa
-
-%description -n kernel%{_alt_kernel}-smp-char-btsco
-Linux ALSA kernel (SMP) driver for Bluetooth Headset named snd_bt_sco.
-
-%description -n kernel%{_alt_kernel}-smp-char-btsco -l pl.UTF-8
-Sterownik ALSA do jądra Linuksa SMP dla Bluetooth Headset o nazwie
-snd_bt_sco.
-
 %prep
 %setup -q
 %patch0 -p1
@@ -130,16 +112,6 @@
 %postun -n kernel%{_alt_kernel}-char-btsco
 %depmod %{_kernel_ver}
 
-%post -n kernel%{_alt_kernel}-smp-char-btsco
-%depmod %{_kernel_ver}smp
-echo "after install this package, remember add lines like this:"
-echo "alias snd-card-1 snd-bt-sco"
-echo "alias sound-slot-1 snd-bt-sco"
-echo "to %{_sysconfdir}/modprobe.conf"
-
-%postun -n kernel%{_alt_kernel}-smp-char-btsco
-%depmod %{_kernel_ver}smp
-
 %if %{with userspace}
 %files
 %defattr(644,root,root,755)
@@ -148,18 +120,10 @@
 %endif
 
 %if %{with kernel}
-%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-char-btsco
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/snd-bt-sco.ko.gz
 %endif
-%endif
-
-%if %{with smp}
-%files -n kernel%{_alt_kernel}-smp-char-btsco
-%defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}smp/misc/snd-bt-sco.ko.gz
-%endif
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -167,6 +131,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2007/04/02 03:32:53  shadzik
+- use new kernel macros
+- remove smp stuff
+
 Revision 1.18  2007/03/14 00:13:57  glen
 - up bcond
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/btsco.spec?r1=1.18&r2=1.19&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to