- 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
This commit is contained in:
Tomáš Chvátal 2017-03-01 10:13:10 +00:00 committed by Git OBS Bridge
parent 4448b34e2e
commit 37aa4a6b52
2 changed files with 6 additions and 9 deletions

View File

@ -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

View File

@ -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