Accepting request 929141 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/929141 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam_mount?expand=0&rev=73
This commit is contained in:
commit
cba3f4a85b
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 3 10:06:25 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
||||||
|
|
||||||
|
- Make symlinks between /sbin and /usr/sbin conditional as they
|
||||||
|
are not applicable under UsrMerge.
|
||||||
|
[pam_mount.spec]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 4 12:12:40 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Mon Jan 4 12:12:40 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -114,11 +114,13 @@ mkdir -p "$b/%_docdir/%name/examples"
|
|||||||
cp -a doc/bugs.txt doc/news.txt LICENSE* doc/faq.txt doc/todo.txt doc/options.txt "$b/%_docdir/%name/"
|
cp -a doc/bugs.txt doc/news.txt LICENSE* doc/faq.txt doc/todo.txt doc/options.txt "$b/%_docdir/%name/"
|
||||||
install -m 755 %SOURCE1 "$b/%_docdir/%name/examples/"
|
install -m 755 %SOURCE1 "$b/%_docdir/%name/examples/"
|
||||||
install -m 755 %SOURCE2 "$b/%_docdir/%name/examples/"
|
install -m 755 %SOURCE2 "$b/%_docdir/%name/examples/"
|
||||||
|
%if !0%{?usrmerged}
|
||||||
mkdir -p "$b/sbin"
|
mkdir -p "$b/sbin"
|
||||||
ln -s /usr/sbin/mount.crypt "$b/sbin"
|
ln -s /usr/sbin/mount.crypt "$b/sbin"
|
||||||
ln -s /usr/sbin/umount.crypt "$b/sbin"
|
ln -s /usr/sbin/umount.crypt "$b/sbin"
|
||||||
ln -s /usr/sbin/mount.crypt_LUKS "$b/sbin"
|
ln -s /usr/sbin/mount.crypt_LUKS "$b/sbin"
|
||||||
ln -s /usr/sbin/umount.crypt_LUKS "$b/sbin"
|
ln -s /usr/sbin/umount.crypt_LUKS "$b/sbin"
|
||||||
|
%endif
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -149,7 +151,9 @@ fi
|
|||||||
%_sbindir/umount.*
|
%_sbindir/umount.*
|
||||||
%_sbindir/pmvarrun
|
%_sbindir/pmvarrun
|
||||||
%_sbindir/pmt-ehd
|
%_sbindir/pmt-ehd
|
||||||
|
%if !0%{?usrmerged}
|
||||||
/sbin/*mount*
|
/sbin/*mount*
|
||||||
|
%endif
|
||||||
%config(noreplace) %_sysconfdir/security/pam_mount.conf.xml
|
%config(noreplace) %_sysconfdir/security/pam_mount.conf.xml
|
||||||
%doc %_mandir/man5/pam_mount.conf.5.gz
|
%doc %_mandir/man5/pam_mount.conf.5.gz
|
||||||
%doc %_mandir/man8/*.8.gz
|
%doc %_mandir/man8/*.8.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user