From 37aa4a6b524c292bda3e9571450837454582cc0679f15b0f36bd66c21e5dd456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 1 Mar 2017 10:13:10 +0000 Subject: [PATCH] - Do not put conditions about the provides for < 11.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/libpcap?expand=0&rev=54 --- libpcap.changes | 5 +++++ libpcap.spec | 10 +--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/libpcap.changes b/libpcap.changes index 0d40eef..1f85cc2 100644 --- a/libpcap.changes +++ b/libpcap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 1 10:12:45 UTC 2017 - tchvatal@suse.com + +- Do not put conditions about the provides for < 11.0 + ------------------------------------------------------------------- Wed Feb 15 10:03:07 UTC 2017 - pmonrealgonzalez@suse.com diff --git a/libpcap.spec b/libpcap.spec index b5e6c3d..ae0b9cd 100644 --- a/libpcap.spec +++ b/libpcap.spec @@ -50,11 +50,8 @@ program yourself. %package -n libpcap1 Summary: A Library for Network Sniffers Group: System/Libraries -# -%if 0%{?suse_version} > 1100 Provides: libpcap = %{version} Obsoletes: libpcap < %{version} -%endif %description -n libpcap1 libpcap is a library used by packet sniffer programs. It provides an @@ -93,13 +90,8 @@ libpcap static libraries %patch5 -p1 %build -%ifarch %{sparc} -pic="PIC" -%else -pic="pic" -%endif autoreconf -fiv -export CFLAGS="%{optflags} -f$pic" CXXFLAGS="%{optflags} -f$pic" +export CFLAGS="%{optflags} -fpic" CXXFLAGS="%{optflags} -f$pic" %configure \ --enable-bluetooth=yes \ --enable-ipv6