commit 42a6a3dadb651608487be44901205e87a23a0508
Author: Jan RÄ™korajski <[email protected]>
Date:   Tue Mar 3 22:11:22 2015 +0100

    - fix package naming
    - rel 8

 wl.spec | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/wl.spec b/wl.spec
index 7b625dc..cfe637b 100644
--- 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
@@ -11,11 +16,11 @@
 # 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wl.git/commitdiff/42a6a3dadb651608487be44901205e87a23a0508

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

Reply via email to