https://bugzilla.redhat.com/show_bug.cgi?id=1877006
--- Comment #8 from Jordi Sanfeliu <jordi(a)fibranet.cat> ---
(In reply to Robert-André Mauchin 🐧 from comment #7)
No only if you choose to go with %make_build
OPTFLAGS="%{optflags}" like
this:
%make_build OPTFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
Do I really need to append it?
If I append the LDFLAGS="%{build_ldflags}" then I get a lot of errors and does
not build.
The Makefile of that tool comes with some LDFLAGS set for different systems for
portability reasons:
[...]
# Linux
LDFLAGS = -lmilter -lpthread -lspf2
# FreeBSD
#LDFLAGS = -lmilter -pthread -L/usr/local/lib -lspf2
# Solaris
#LDFLAGS = -lmilter -lpthread -lsocket -lnsl -lresolv -lspf2
[...]
- Find the latest .spec and SRPM versions here
Spec URL:
http://ftp.fibranet.cat/smf-spf/smf-spf.spec
SRPM URL:
http://ftp.fibranet.cat/smf-spf/smf-spf-2.5.1-1.fc32.src.rpm
- On the other hand, my PR <
https://github.com/jcbf/smf-spf/pull/87> was
finally accepted and merged,
so now it has the correct COPYING file.
I'm just waiting a new release of the upstream to create the final SRPM.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component