[fedora-arm] [PATCH] etherbat: missing libnet.a from libnet-devel 1.1.3.1

Mahavir Jain mjain at marvell.com
Fri Jul 24 13:44:41 UTC 2009


Signed-off-by: Mahavir Jain <mjain at marvell.com>

--- b/libnet.spec	2009-07-24 19:09:21.000000000 +0530
+++ a/libnet.spec	2009-07-24 19:11:14.000000000 +0530
@@ -1,7 +1,7 @@
 Summary:	C library for portable packet creation and injection
 Name:		libnet
 Version:	1.1.3
-Release:	1%{?dist}
+Release:	2%{?dist}.fa1
 License:	BSD
 Group:		System Environment/Libraries
 URL:		http://www.sourceforge.net/projects/libnet-dev/
@@ -43,8 +43,8 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
 
-# Don't install any static .a and libtool .la files
-rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.{a,la}
+# Don't install any libtool .la files
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
 
 # Prepare samples directory and perform some fixes
 rm -rf __dist_sample/sample/win32
@@ -83,10 +83,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/%{name}-config
 %{_libdir}/%{name}.so
 %{_includedir}/libnet.h
+%{_libdir}/libnet.a
 %{_includedir}/%{name}/
 %{_mandir}/man3/%{name}*.3*
 
 %changelog
+* Fri Jul 24 2009 Mahavir Jain <mjain at marvell.com> 1.1.3-2
+- Provide libnet.a for other packages to build
+
 * Sat May 16 2009 Robert Scheck <robert at fedoraproject.org> 1.1.3-1
 - Upgrade to 1.1.3
 





More information about the arm mailing list