!49 strip for smtp qmgr

From: @eaglegai 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
This commit is contained in:
openeuler-ci-bot 2023-08-28 07:02:56 +00:00 committed by Gitee
commit 9120237c41
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -23,7 +23,7 @@
Name: postfix
Summary: Postfix Mail Transport Agent
Version: 3.8.1
Release: 1
Release: 2
Epoch: 2
URL: http://www.postfix.org
License: (IPL-1.0 and GPLv2+) or (EPL-2.0 and GPLv2+)
@ -312,6 +312,9 @@ chrpath -d %{buildroot}%{_sbindir}/postconf
chrpath -d %{buildroot}%{_sbindir}/postsuper
chrpath -d %{buildroot}%{_sbindir}/postmulti
strip -s %{buildroot}%{_libexecdir}/postfix/qmgr
strip -s %{buildroot}%{_libexecdir}/postfix/smtp
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{_libdir}/postfix" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
@ -556,6 +559,12 @@ fi
%{postfix_doc_dir}/README_FILES/*
%changelog
* Mon Aug 28 2023 gaihuiying <eaglegai@163.com> - 2:3.8.1-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:strip for smtp qmgr
* Tue Jul 25 2023 gaihuiying <eaglegai@163.com> - 2:3.8.1-1
- Type:requirements
- ID:NA