Fixed build failure caused by make install failing duo to make 4.4

This commit is contained in:
starlet-dx 2023-01-16 11:23:43 +08:00
parent 247625ac15
commit bc8f615400

View File

@ -1,6 +1,6 @@
Name: netsniff-ng
Version: 0.6.8
Release: 1
Release: 2
Summary: Packet sniffing beast
License: GPLv2
URL: http://netsniff-ng.org/
@ -22,7 +22,7 @@ make %{?_smp_mflags} ETCDIR=%{_sysconfdir} Q= STRIP=: \
CFLAGS="%{optflags} -fPIC -fcommon" LDFLAGS="%{?__global_ldflags}"
%install
make install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR="%{buildroot}"
make install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR="%{buildroot}" -j1
%files
%doc AUTHORS COPYING README
@ -32,5 +32,8 @@ make install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR="%{buildroot}"
%{_mandir}/man8/*
%changelog
* Mon Jan 16 2023 yaoxin <yaoxin30@h-partners.com> - 0.6.8-2
- Fixed build failure caused by make install failing duo to make 4.4
* Tue Sep 7 2021 zhengyaohui <zhengyaohui1@huawei.com> - 0.6.8-1
- package init