[packages/wireless-regdb] up to 2013.02.13
glen
glen at pld-linux.org
Mon Mar 4 20:34:25 CET 2013
commit 5af9c7937e43458ee52918cd13cb4c5e2ebb960f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Mar 4 21:24:45 2013 +0200
up to 2013.02.13
move data to /lib/crda as this is data you would want
early. crda bin does not need patching, it searches from /lib/crda
already in upstream code.
wireless-regdb.spec | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/wireless-regdb.spec b/wireless-regdb.spec
index 8e9851f..7b37840 100644
--- a/wireless-regdb.spec
+++ b/wireless-regdb.spec
@@ -1,16 +1,20 @@
Summary: Wireless regulatory database for Linux drivers
Summary(pl.UTF-8): Baza danych przepisów dotyczących sieci bezprzewodowych dla sterowników linuksowych
Name: wireless-regdb
-Version: 2013.01.11
+Version: 2013.02.13
Release: 1
License: ISC
Group: Networking/Daemons
-Source0: http://linuxwireless.org/download/wireless-regdb/%{name}-%{version}.tar.bz2
-# Source0-md5: f137585abd5e07454932ea555b826149
+Source0: https://www.kernel.org/pub/software/network/wireless-regdb/%{name}-%{version}.tar.xz
+# Source0-md5: 46a4aa49282ea6713c3cf28cc2fc600f
URL: http://wireless.kernel.org/en/developers/Regulatory
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _datadir /lib
+
%description
This package contains the wireless regulatory database used by all
cfg80211 based Linux wireless drivers.
@@ -26,9 +30,8 @@ wszystkie linuksowe sterowniki bezprzewodowe oparte na cfg80211.
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_datadir}/crda,%{_mandir}/man5}
-
-install regulatory.bin $RPM_BUILD_ROOT%{_datadir}/crda/regulatory.bin
-install regulatory.bin.5 $RPM_BUILD_ROOT%{_mandir}/man5
+cp -p regulatory.bin $RPM_BUILD_ROOT%{_datadir}/crda/regulatory.bin
+cp -p regulatory.bin.5 $RPM_BUILD_ROOT%{_mandir}/man5
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wireless-regdb.git/commitdiff/5af9c7937e43458ee52918cd13cb4c5e2ebb960f
More information about the pld-cvs-commit
mailing list