SPECS (AC-branch): zaptel.spec - the macro stuff; rel 6

glen glen at pld-linux.org
Thu Jul 3 17:13:06 CEST 2008


Author: glen                         Date: Thu Jul  3 15:13:06 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- the macro stuff; rel 6

---- Files affected:
SPECS:
   zaptel.spec (1.75.2.40 -> 1.75.2.41) 

---- Diffs:

================================================================
Index: SPECS/zaptel.spec
diff -u SPECS/zaptel.spec:1.75.2.40 SPECS/zaptel.spec:1.75.2.41
--- SPECS/zaptel.spec:1.75.2.40	Thu Jul  3 17:08:31 2008
+++ SPECS/zaptel.spec	Thu Jul  3 17:13:01 2008
@@ -26,8 +26,12 @@
 %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		rel	5
+%define		rel	6
 %define		pname	zaptel
 %define		FIRMWARE_URL http://downloads.digium.com/pub/telephony/firmware/releases
 Summary:	Zaptel telephony device support
@@ -62,8 +66,7 @@
 BuildRequires:	newt-devel
 BuildRequires:	perl-base
 BuildRequires:	perl-tools-pod
-BuildRequires:	rpmbuild(macros) >= 1.379
-%{?with_bristuff:Provides:	zaptel(bristuff)}
+BuildRequires:	rpmbuild(macros) >= 1.452
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define	modules_1	zaptel,ztd-eth,ztd-loc,pciradio,tor2,torisa,wcfxo,wct1xxp,wctdm,wcte11xp,wcusb,ztdummy,ztdynamic
@@ -76,11 +79,6 @@
 %endif
 %define	modules		%{modules_1},%{modules_2}%{?modules_nalpha:,%{modules_nalpha}}%{?modules_bristuff:,%{modules_bristuff}}
 
-%if %{without userspace}
-# nothing to be placed to debuginfo package
-%define		_enable_debug_packages	0
-%endif
-
 %description
 Zaptel telephony device driver.
 
@@ -141,13 +139,14 @@
 %package -n kernel%{_alt_kernel}-%{pname}
 Summary:	Zaptel Linux kernel driver
 Summary(pl.UTF-8):	Sterownik Zaptel dla jądra Linuksa
-Release:	%{rel}@%{_kernel_ver_str}
+Release:	%{rel}@%{_kernel_vermagic}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 %{?with_dist_kernel:Requires:	kernel%{_alt_kernel}(vermagic) = %{_kernel_ver}}
 %if %{with dist_kernel}
 %{?with_oslec:Requires:	kernel%{_alt_kernel}-misc-oslec(vermagic) = %{_kernel_ver}}
 %endif
+Obsoletes:	kernel%{_alt_kernel}-smp-%{pname}
 
 %description -n kernel%{_alt_kernel}-%{pname}
 Zaptel telephony Linux kernel driver.
@@ -314,6 +313,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.75.2.41  2008/07/03 15:13:01  glen
+- the macro stuff; rel 6
+
 Revision 1.75.2.40  2008/07/03 15:08:31  glen
 - update to 1.4.8 from LINUX_2_6_22 branch, old one in LINUX_2_6_16
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/zaptel.spec?r1=1.75.2.40&r2=1.75.2.41&f=u



More information about the pld-cvs-commit mailing list