!51 Fix ldconfig search path
From: @ultra_planet Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
bec5006584
11
dovecot.spec
11
dovecot.spec
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: dovecot
|
Name: dovecot
|
||||||
Version: 2.3.15
|
Version: 2.3.15
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Dovecot Secure imap server
|
Summary: Dovecot Secure imap server
|
||||||
License: MIT and LGPLv2.1
|
License: MIT and LGPLv2.1
|
||||||
URL: http://www.dovecot.org/
|
URL: http://www.dovecot.org/
|
||||||
@ -156,8 +156,8 @@ do
|
|||||||
done
|
done
|
||||||
cd -
|
cd -
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
||||||
echo "%{_bindir}/%{name}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
echo "%{_libdir}/%{name}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
echo "%{_libdir}/%{name}" >> $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
echo "%{_libdir}/%{name}/old-stats" >> $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group dovecot >/dev/null || groupadd -r --gid 97 dovecot
|
getent group dovecot >/dev/null || groupadd -r --gid 97 dovecot
|
||||||
@ -287,7 +287,7 @@ make check
|
|||||||
|
|
||||||
%exclude %{_sysconfdir}/dovecot/README
|
%exclude %{_sysconfdir}/dovecot/README
|
||||||
|
|
||||||
%config(noreplace) /etc/ld.so.conf.d/*
|
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/dovecot
|
%{_includedir}/dovecot
|
||||||
@ -304,6 +304,9 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 02 2021 lingsheng <lingsheng@huawei.com> - 2.3.15-3
|
||||||
|
- Fix ldconfig search path
|
||||||
|
|
||||||
* Wed Sep 08 2021 chenchen <chen_aka_jan@163.com> - 2.3.15-2
|
* Wed Sep 08 2021 chenchen <chen_aka_jan@163.com> - 2.3.15-2
|
||||||
- del rpath from some binaries and bin
|
- del rpath from some binaries and bin
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user