diff --git a/lsof.spec b/lsof.spec index 081f053..e5ce569 100644 --- a/lsof.spec +++ b/lsof.spec @@ -1,7 +1,7 @@ Summary: A utility which lists open files on a Linux/UNIX system Name: lsof Version: 4.90 -Release: 1%{?dist} +Release: 2%{?dist} # Sendmail .. lib/snpf.c # LGPLv2+ .. lib/regex.c, regex.h License: zlib and Sendmail and LGPLv2+ @@ -34,7 +34,7 @@ about files that are open by the processes running on a UNIX system. %build ./Configure -n linux -%make_build DEBUG="$RPM_OPT_FLAGS" +%make_build DEBUG="%{build_cflags}" CFGL="%{build_ldflags} -L./lib -llsof -lselinux" %install mkdir -p ${RPM_BUILD_ROOT}%{_bindir} @@ -48,6 +48,9 @@ install -p -m 0644 lsof.8 ${RPM_BUILD_ROOT}%{_mandir}/man1/lsof.1 %{_mandir}/man*/* %changelog +* Fri Apr 13 2018 Rafael dos Santos - 4.90-2 +- Use standard Fedora build flags (bug #1548552) + * Wed Feb 21 2018 Peter Schiffer - 4.90-1 - resolves: #1545963 updated to 4.90