fix make install on Fedora

OBS-URL: https://build.opensuse.org/package/show/network:utilities/netsniff-ng?expand=0&rev=3
This commit is contained in:
Pascal Bleser 2009-12-31 12:14:59 +00:00 committed by Git OBS Bridge
parent 6077604162
commit a8a70c05cb

View File

@ -57,7 +57,8 @@ popd #src
%install %install
pushd src pushd src
%makeinstall \ # don't use the makeinstall macro as it's dumb on Fedora
%__make DESTDIR="%{buildroot}" install \
CC="%__cc" \ CC="%__cc" \
CFLAGS="-Wall %{optflags}" \ CFLAGS="-Wall %{optflags}" \
BINDIR="%{_sbindir}" \ BINDIR="%{_sbindir}" \