Use standard Fedora build flags

- Resolves #1548552

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
This commit is contained in:
Rafael dos Santos 2018-04-13 22:01:39 +02:00
parent f0789f5c04
commit 4c02d877e4

View File

@ -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 <rdossant@redhat.com> - 4.90-2
- Use standard Fedora build flags (bug #1548552)
* Wed Feb 21 2018 Peter Schiffer <pschiffe@redhat.com> - 4.90-1
- resolves: #1545963
updated to 4.90