- rel 3; build with new libnl auto/th/crda-1_1_1-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 17 Sep 2011 07:32:14 +0000 (07:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crda.spec -> 1.7

crda.spec

index 67484e6..2878acd 100644 (file)
--- a/crda.spec
+++ b/crda.spec
@@ -1,7 +1,7 @@
 Summary:       udev helper: Central Regulatory Domain Agent
 Name:          crda
 Version:       1.1.1
-Release:       2
+Release:       3
 License:       ISC
 Group:         Networking/Daemons
 Source0:       http://wireless.kernel.org/download/crda/%{name}-%{version}.tar.bz2
@@ -25,13 +25,13 @@ manually except if debugging udev issues.
 %prep
 %setup -q
 
-sed -i -e 's#libnl-2#libnl-3#g' Makefile
+sed -i -e 's#libnl-2#libnl-3#g' -e 's#-lnl-genl#-lnl-genl-3#g' Makefile
 
 %build
 %{__make} \
        V=1 \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} %{rpmcppflags} -DCONFIG_LIBNL20=1" \
+       CFLAGS="%{rpmcflags} %{rpmcppflags} -DCONFIG_LIBNL20=1 `pkg-config --cflags libnl-3.0`" \
        REG_BIN=%{_datadir}/crda/regulatory.bin
 
 %install
This page took 0.036507 seconds and 4 git commands to generate.