From 4a7db06c8c959c53d9a25ece2ebc8be00f0e2b9b29fedbf678e83a171f4292c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sat, 13 Feb 2016 16:32:28 +0000 Subject: [PATCH] Accepting request 359183 from home:a_faerber:branches:hardware Fix SLE11 builds OBS-URL: https://build.opensuse.org/request/show/359183 OBS-URL: https://build.opensuse.org/package/show/hardware/wireless-regdb?expand=0&rev=37 --- wireless-regdb.changes | 6 ++++++ wireless-regdb.spec | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/wireless-regdb.changes b/wireless-regdb.changes index 23ffa8d..84811f7 100644 --- a/wireless-regdb.changes +++ b/wireless-regdb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 13 10:36:18 UTC 2016 - afaerber@suse.de + +- Explicitly require xz, fixing tar errors for SLE11 builds +- Work around a mismatch of lib vs. lib64 on SLE11 x86_64 + ------------------------------------------------------------------- Tue Feb 9 21:51:01 UTC 2016 - mpluskal@suse.com diff --git a/wireless-regdb.spec b/wireless-regdb.spec index 712e496..ac339e1 100644 --- a/wireless-regdb.spec +++ b/wireless-regdb.spec @@ -24,6 +24,7 @@ License: ISC Group: Hardware/Wifi Url: http://wireless.kernel.org/en/developers/Regulatory#The_regulatory_database Source: https://www.kernel.org/pub/software/network/wireless-regdb/%{name}-%{version}.tar.xz +BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -31,6 +32,11 @@ BuildArch: noarch The 802.11 regulatory domain database is used by CRDA and provides allowed frequency ranges for 802.11 wireless drivers. +%if 0%{?suse_version} == 1110 +# _libexecdir points to /usr/lib64 for SLE11 +%define _libexecdir %{_prefix}/lib +%endif + %prep %setup -q