Used _prefix macro for /usr
This commit is contained in:
parent
5904581d87
commit
e97ad4fb9e
@ -19,7 +19,7 @@
|
||||
Summary: A widely used Mail Transport Agent (MTA)
|
||||
Name: sendmail
|
||||
Version: 8.15.2
|
||||
Release: 33%{?dist}
|
||||
Release: 34%{?dist}
|
||||
License: Sendmail
|
||||
URL: http://www.sendmail.org/
|
||||
|
||||
@ -306,8 +306,8 @@ done
|
||||
install -m 700 -d %{buildroot}%{spooldir}/mqueue
|
||||
|
||||
# create /usr/lib for 64 bit architectures
|
||||
%if "%{_libdir}" != "/usr/lib"
|
||||
install -m 755 -d %{buildroot}/usr/lib
|
||||
%if "%{_libdir}" != "%{_prefix}/lib"
|
||||
install -m 755 -d %{buildroot}%{_prefix}/lib
|
||||
%endif
|
||||
|
||||
nameuser=`id -nu`
|
||||
@ -347,7 +347,7 @@ for f in hoststat mailq newaliases purgestat ; do
|
||||
done
|
||||
|
||||
# use /usr/lib, even for 64 bit architectures
|
||||
ln -sf ../sbin/sendmail.sendmail %{buildroot}/usr/lib/sendmail.sendmail
|
||||
ln -sf ../sbin/sendmail.sendmail %{buildroot}%{_prefix}/lib/sendmail.sendmail
|
||||
|
||||
# install docs for sendmail
|
||||
install -p -m 644 FAQ %{buildroot}%{_docdir}/sendmail
|
||||
@ -463,7 +463,7 @@ mv %{buildroot}%{_mandir}/man8/makemap.8 %{buildroot}%{_mandir}/man8/makemap.sen
|
||||
touch %{buildroot}%{_mandir}/man8/makemap.8
|
||||
mv %{buildroot}%{_mandir}/man8/editmap.8 %{buildroot}%{_mandir}/man8/editmap.sendmail.8
|
||||
touch %{buildroot}%{_mandir}/man8/editmap.8
|
||||
touch %{buildroot}/usr/lib/sendmail
|
||||
touch %{buildroot}%{_prefix}/lib/sendmail
|
||||
touch %{buildroot}%{_sysconfdir}/pam.d/smtp
|
||||
|
||||
# create stub man pages
|
||||
@ -511,7 +511,7 @@ exit 0
|
||||
--slave %{_bindir}/mailq mta-mailq %{_bindir}/mailq.sendmail \
|
||||
--slave %{_bindir}/newaliases mta-newaliases %{_bindir}/newaliases.sendmail \
|
||||
--slave %{_bindir}/rmail mta-rmail %{_bindir}/rmail.sendmail \
|
||||
--slave /usr/lib/sendmail mta-sendmail /usr/lib/sendmail.sendmail \
|
||||
--slave %{_prefix}/lib/sendmail mta-sendmail %{_prefix}/lib/sendmail.sendmail \
|
||||
--slave %{_sysconfdir}/pam.d/smtp mta-pam %{_sysconfdir}/pam.d/smtp.sendmail \
|
||||
--slave %{_mandir}/man8/sendmail.8.gz mta-sendmailman %{_mandir}/man8/sendmail.sendmail.8.gz \
|
||||
--slave %{_mandir}/man1/mailq.1.gz mta-mailqman %{_mandir}/man1/mailq.sendmail.1.gz \
|
||||
@ -595,7 +595,7 @@ exit 0
|
||||
%{_bindir}/newaliases.sendmail
|
||||
%{_bindir}/mailq.sendmail
|
||||
%{_sbindir}/smrsh
|
||||
/usr/lib/sendmail.sendmail
|
||||
%{_prefix}/lib/sendmail.sendmail
|
||||
|
||||
%{_mandir}/man8/rmail.sendmail.8.gz
|
||||
%{_mandir}/man8/praliases.8.gz
|
||||
@ -617,7 +617,7 @@ exit 0
|
||||
%ghost %attr(0755,-,-) %{_bindir}/mailq
|
||||
%ghost %attr(0755,-,-) %{_bindir}/newaliases
|
||||
%ghost %attr(0755,-,-) %{_bindir}/rmail
|
||||
%ghost %attr(0755,-,-) /usr/lib/sendmail
|
||||
%ghost %attr(0755,-,-) %{_prefix}/lib/sendmail
|
||||
|
||||
%ghost %{_sysconfdir}/pam.d/smtp
|
||||
%ghost %{_mandir}/man8/sendmail.8.gz
|
||||
@ -704,6 +704,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 19 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-34
|
||||
- Used _prefix macro for /usr
|
||||
|
||||
* Mon Oct 29 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-33
|
||||
- Dropped hesiod support
|
||||
Resolves: rhbz#1643264
|
||||
|
Loading…
Reference in New Issue
Block a user