Accepting request 1001406 from home:lnussel:branches:server:mail

- own /var/spool/mail (boo#1179574)

- own /var/spool/mail (boo#1179574)

OBS-URL: https://build.opensuse.org/request/show/1001406
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=447
This commit is contained in:
Dirk Mueller 2022-09-12 07:27:24 +00:00 committed by Git OBS Bridge
parent 0988bf1191
commit 36307d9eda
4 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 6 09:17:20 UTC 2022 - Ludwig Nussel <lnussel@suse.de>
- own /var/spool/mail (boo#1179574)
-------------------------------------------------------------------
Thu Aug 4 19:09:34 UTC 2022 - chris@computersalat.de

View File

@ -274,6 +274,8 @@ mkdir -p %{buildroot}/%{pf_sample_directory}
mkdir -p %{buildroot}/%{pf_html_directory}
mkdir -p %{buildroot}%{_includedir}/postfix
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
mkdir -p %{buildroot}/var/spool/mail
ln -s spool/mail %{buildroot}/var/mail
install -m 644 postfix-SUSE/smtp %{buildroot}%{_sysconfdir}/pam.d/smtp
mkdir -p %{buildroot}%{_fillupdir}
sed -e 's;@lib@;%{_lib};g' postfix-SUSE/sysconfig.postfix > %{buildroot}%{_fillupdir}/sysconfig.postfix
@ -551,6 +553,8 @@ fi
%if 0%{?suse_version} >= 1330
%{_sysusersdir}/postfix-user.conf
%endif
%dir %attr(1777,root,root) /var/spool/mail
/var/mail
%if %{with lmdb}
%files lmdb

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 6 09:17:20 UTC 2022 - Ludwig Nussel <lnussel@suse.de>
- own /var/spool/mail (boo#1179574)
-------------------------------------------------------------------
Thu Aug 4 19:09:34 UTC 2022 - chris@computersalat.de

View File

@ -289,6 +289,8 @@ mkdir -p %{buildroot}/%{pf_sample_directory}
mkdir -p %{buildroot}/%{pf_html_directory}
mkdir -p %{buildroot}%{_includedir}/%{name}
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
mkdir -p %{buildroot}/var/spool/mail
ln -s spool/mail %{buildroot}/var/mail
install -pm 0644 %{name}-SUSE/smtp %{buildroot}%{_sysconfdir}/pam.d/smtp
mkdir -p %{buildroot}%{_fillupdir}
sed -e 's;@lib@;%{_lib};g' %{name}-SUSE/sysconfig.%{name} > %{buildroot}%{_fillupdir}/sysconfig.%{name}
@ -587,6 +589,8 @@ fi
%dir %attr(0730,%{name},maildrop) /%{pf_queue_directory}/maildrop
%dir %attr(0710,%{name},maildrop) /%{pf_queue_directory}/public
%{_sysusersdir}/postfix-user.conf
%dir %attr(1777,root,root) /var/spool/mail
/var/mail
%files devel
%{_includedir}/%{name}/