packages: crda/crda.spec - rel 3; build with new libnl

arekm arekm at pld-linux.org
Sat Sep 17 09:32:19 CEST 2011


Author: arekm                        Date: Sat Sep 17 07:32:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; build with new libnl

---- Files affected:
packages/crda:
   crda.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/crda/crda.spec
diff -u packages/crda/crda.spec:1.6 packages/crda/crda.spec:1.7
--- packages/crda/crda.spec:1.6	Sat Sep 17 09:08:07 2011
+++ packages/crda/crda.spec	Sat Sep 17 09:32:14 2011
@@ -2,7 +2,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
@@ -26,13 +26,13 @@
 %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
@@ -58,6 +58,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2011/09/17 07:32:14  arekm
+- rel 3; build with new libnl
+
 Revision 1.6  2011/09/17 07:08:07  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crda/crda.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list