rpms/libpcap/devel libpcap.spec,1.13,1.14
Dennis Gilmore
ausil at fedoraproject.org
Sat Oct 17 15:02:17 UTC 2009
Author: ausil
Update of /cvs/pkgs/rpms/libpcap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2529
Modified Files:
libpcap.spec
Log Message:
build on sparc arches with -fPIC
Index: libpcap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libpcap/devel/libpcap.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- libpcap.spec 23 Sep 2009 16:14:15 -0000 1.13
+++ libpcap.spec 17 Oct 2009 15:02:17 -0000 1.14
@@ -1,7 +1,7 @@
Name: libpcap
Epoch: 14
Version: 1.0.0
-Release: 3.20090922gite154e2%{?dist}
+Release: 4.20090922gite154e2%{?dist}
Summary: A system-independent interface for user-level packet capture
Group: Development/Libraries
License: BSD with advertising
@@ -54,6 +54,11 @@ echo '1.0.0' > VERSION
%patch3 -p1 -b .s390
%patch4 -p0 -b .ppp
+#sparc needs -fPIC
+%ifarch %{sparc}
+sed -i -e 's|-fpic|-fPIC|g' configure
+%endif
+
%build
export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)"
%configure --enable-ipv6 --enable-bluetooth
@@ -89,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man5/pcap*.5*
%changelog
+* Sat Oct 17 2009 Dennis Gilmore <dennis at ausil.us> 14:1.0.0-4.20090922gite154e2
+- use -fPIC on sparc arches
+
* Wed Sep 23 2009 Miroslav Lichvar <mlichvar at redhat.com> 14:1.0.0-3.20090922gite154e2
- update to snapshot 20090922gite154e2
- drop old soname
More information about the fedora-extras-commits
mailing list