Accepting request 592619 from home:mnhauke
- Fix build for Leap15 and Tumbleweed OBS-URL: https://build.opensuse.org/request/show/592619 OBS-URL: https://build.opensuse.org/package/show/network:utilities/horst?expand=0&rev=3
This commit is contained in:
parent
dff2ac92d5
commit
ad48eef0f7
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 11:33:59 UTC 2018 - mardnh@gmx.de
|
||||
|
||||
- Fix build for Leap15 and Tumbleweed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 5 15:06:50 UTC 2018 - astieger@suse.com
|
||||
|
||||
|
@ -25,11 +25,15 @@ License: GPL-2.0
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
URL: http://br1.einfach.org/tech/horst/
|
||||
Source: https://github.com/br101/horst/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libnl-3.0)
|
||||
BuildRequires: pkgconfig(libnl-genl-3.0)
|
||||
Recommends: iw
|
||||
%if 0%{?suse_version} < 1500
|
||||
BuildRequires: ncurses-devel
|
||||
%else
|
||||
BuildRequires: ncurses5-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
horst is a small, lightweight IEEE802.11 WLAN analyzer with a text interface.
|
||||
@ -51,7 +55,8 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" *.c
|
||||
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" *.c
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
export CFLAGS="%{optflags} `ncursesw5-config --cflags`"
|
||||
export LDFLAGS="`ncursesw5-config --libs`"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user