[packages/vpb-driver] - drop non-dist kernel support
baggins
baggins at pld-linux.org
Tue Jan 27 19:54:31 CET 2015
commit 75c79d0914ad16f7abc9ef1837b2fb93beb6806a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jan 27 19:53:20 2015 +0100
- drop non-dist kernel support
vpb-driver.spec | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/vpb-driver.spec b/vpb-driver.spec
index de676dc..ddc5c5b 100644
--- a/vpb-driver.spec
+++ b/vpb-driver.spec
@@ -1,15 +1,10 @@
#
# Conditional build:
-%bcond_without dist_kernel # without distribution kernel
%bcond_without kernel # don't build kernel modules
%bcond_without userspace # don't build userspace package
%bcond_without static_libs # don't build static libraries
%bcond_with pri # ISDN devices support (modified libpri)
-%if %{without kernel}
-%undefine with_dist_kernel
-%endif
-
# The goal here is to have main, userspace, package built once with
# simple release number, and only rebuild kernel packages with kernel
# version as part of release number, without the need to bump release
@@ -55,7 +50,7 @@ Source0: http://www.voicetronix.com.au/Downloads/vpb-driver-4.x/%{pname}-%{versi
Patch0: %{pname}-make.patch
URL: http://www.voicetronix.com.au/downloads.htm#linux
BuildRequires: rpmbuild(macros) >= 1.678
-%{?with_dist_kernel:%{expand:%kbrs}}
+%{?with_kernel:%{expand:%kbrs}}
BuildRequires: autoconf >= 2.59
BuildRequires: libstdc++-devel
BuildRequires: pciutils-devel
@@ -117,10 +112,8 @@ Release: %{rel}@%{_kernel_ver_str}\
License: GPL v2+\
Group: Base/Kernel\
Requires(post,postun): /sbin/depmod\
-%if %{with dist_kernel}\
%requires_releq_kernel\
Requires(postun): %releq_kernel\
-%endif\
\
%description -n kernel%{_alt_kernel}-telephony-vpb\
Linux kernel driver for Voicetronix Voice Processing Board (VPB).\
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vpb-driver.git/commitdiff/75d8015ca199909d77e539e41e59a087bc56a954
More information about the pld-cvs-commit
mailing list