From: Arkadiusz Miƛkiewicz Date: Sat, 17 Sep 2011 07:32:14 +0000 (+0000) Subject: - rel 3; build with new libnl X-Git-Tag: auto/th/crda-1_1_1-3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcrda.git;a=commitdiff_plain;h=ebff1660b2f6d91d549ebd7d793c6e098e79d071;hp=e67127a308ad2249afae0c85087e4f7722c24901 - rel 3; build with new libnl Changed files: crda.spec -> 1.7 --- diff --git a/crda.spec b/crda.spec index 67484e6..2878acd 100644 --- 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