]> git.pld-linux.org Git - packages/crda.git/blobdiff - crda.spec
- release 2
[packages/crda.git] / crda.spec
index 2dddaca0c62a52c3fb1a727be1f7010a404f82c7..67484e62dae69c9b68f04e06b7d041673a149432 100644 (file)
--- a/crda.spec
+++ b/crda.spec
@@ -1,14 +1,13 @@
 Summary:       udev helper: Central Regulatory Domain Agent
 Name:          crda
-Version:       1.0.1
+Version:       1.1.1
 Release:       2
 License:       ISC
 Group:         Networking/Daemons
 Source0:       http://wireless.kernel.org/download/crda/%{name}-%{version}.tar.bz2
-# Source0-md5: 03554b71eef2626795befa17eb1d8b9e
-Source1:       http://wireless.kernel.org/download/wireless-regdb/wireless-regdb-2009.03.09.tar.bz2
+# Source0-md5: 5fc77af68b3e21736b8ef2f8b061c810
 BuildRequires: libgcrypt-devel
-BuildRequires: libnl-devel
+BuildRequires: libnl-devel >= 1:3.0
 BuildRequires: python
 BuildRequires: python-M2Crypto
 BuildRequires: wireless-regdb
@@ -24,11 +23,15 @@ communication from the kernel. The user should never have to run it
 manually except if debugging udev issues.
 
 %prep
-%setup -q -a1
+%setup -q
+
+sed -i -e 's#libnl-2#libnl-3#g' Makefile
 
 %build
 %{__make} \
-       CFLAGS="%{rpmcflags} %{rpmcppflags}" \
+       V=1 \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} %{rpmcppflags} -DCONFIG_LIBNL20=1" \
        REG_BIN=%{_datadir}/crda/regulatory.bin
 
 %install
This page took 0.099333 seconds and 4 git commands to generate.