]> git.pld-linux.org Git - packages/wl.git/commitdiff
- fix package naming auto/th/wl-6.30.223.248-8
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 3 Mar 2015 21:11:22 +0000 (22:11 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 3 Mar 2015 21:11:22 +0000 (22:11 +0100)
- rel 8

wl.spec

diff --git a/wl.spec b/wl.spec
index 7b625dce5927257413a3a549d881dea0c5e98dc8..cfe637bfb91b5945378a7f1ca71ec805cf378f6b 100644 (file)
--- a/wl.spec
+++ b/wl.spec
@@ -4,6 +4,11 @@
 %bcond_without userspace       # don't build userspace programs
 %bcond_without dkms            # build dkms package
 
+%if 0%{?_pld_builder:1} && %{with kernel} && %{with userspace}
+%{error:kernel and userspace cannot be built at the same time on PLD builders}
+exit 1
+%endif
+
 %if %{without userspace}
 %undefine      with_dkms
 %endif
 # nothing to be placed to debuginfo package
 %define                _enable_debug_packages  0
 
-%define                rel     7
+%define                rel     8
 %define                pname   wl
 %define                file_ver        %(echo %{version} | tr . _)
 Summary:       Broadcom 802.11 a/b/g/n hybrid Linux networking device driver
-Name:          %{pname}%{_alt_kernel}
+Name:          %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel}
 Version:       6.30.223.248
 Release:       %{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}}
 License:       other
This page took 0.074261 seconds and 4 git commands to generate.