Used _prefix macro for more hardcoded /usr directories
This commit is contained in:
parent
e97ad4fb9e
commit
3872b0223a
@ -19,7 +19,7 @@
|
||||
Summary: A widely used Mail Transport Agent (MTA)
|
||||
Name: sendmail
|
||||
Version: 8.15.2
|
||||
Release: 34%{?dist}
|
||||
Release: 35%{?dist}
|
||||
License: Sendmail
|
||||
URL: http://www.sendmail.org/
|
||||
|
||||
@ -213,8 +213,8 @@ sed -i 's|/usr/local/bin/perl|%{_bindir}/perl|' contrib/*.pl
|
||||
cat > redhat.config.m4 << EOF
|
||||
define(\`confMAPDEF', \`-DNEWDB -DNIS -DMAP_REGEX -DSOCKETMAP -DNAMED_BIND=1')
|
||||
define(\`confOPTIMIZE', \`\`\`\`${RPM_OPT_FLAGS}'''')
|
||||
define(\`confENVDEF', \`-I%{_includedir}/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64')
|
||||
define(\`confLIBDIRS', \`-L/usr/kerberos/%{_lib}')
|
||||
define(\`confENVDEF', \`-I%{_includedir}/libdb -I%{_prefix}/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64')
|
||||
define(\`confLIBDIRS', \`-L%{_prefix}/kerberos/%{_lib}')
|
||||
define(\`confLIBS', \`-lnsl -lcrypt -ldb -lresolv')
|
||||
%{?_hardened_build:define(\`confLDOPTS', \`-Xlinker -z -Xlinker relro -Xlinker -z -Xlinker now')}
|
||||
define(\`confMANOWN', \`root')
|
||||
@ -704,6 +704,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 19 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-35
|
||||
- Used _prefix macro for more hardcoded /usr directories
|
||||
|
||||
* Mon Nov 19 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-34
|
||||
- Used _prefix macro for /usr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user