- Restore symlinks while util-linux is pending
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=69
This commit is contained in:
parent
311f440a6b
commit
32258ee073
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 20:18:51 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Restore symlinks while util-linux is pending
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 20 10:42:59 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
Fri Nov 20 10:42:59 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -106,13 +106,17 @@ and transparent use of the OS's crypto layer.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
b="%buildroot"
|
||||||
# Remove static and libtool version
|
# Remove static and libtool version
|
||||||
rm -f "%buildroot/%_lib/security"/*.{a,la} "%buildroot/%_libdir"/*.la
|
rm -f "$b/%_lib/security"/*.{a,la} "$b/%_libdir"/*.la
|
||||||
#install the docs
|
#install the docs
|
||||||
mkdir -p %buildroot/%_docdir/%name/examples
|
mkdir -p "$b/%_docdir/%name/examples"
|
||||||
cp doc/bugs.txt doc/news.txt LICENSE* doc/faq.txt doc/todo.txt doc/options.txt doc/pam_mount.txt %buildroot/%_docdir/%name/
|
cp -a doc/bugs.txt doc/news.txt LICENSE* doc/faq.txt doc/todo.txt doc/options.txt doc/pam_mount.txt "$b/%_docdir/%name/"
|
||||||
install -m 755 %SOURCE1 %buildroot/%_docdir/%name/examples/
|
install -m 755 %SOURCE1 "$b/%_docdir/%name/examples/"
|
||||||
install -m 755 %SOURCE2 %buildroot/%_docdir/%name/examples/
|
install -m 755 %SOURCE2 "$b/%_docdir/%name/examples/"
|
||||||
|
mkdir -p "$b/sbin"
|
||||||
|
ln -s /usr/sbin/mount.crypt "$b/sbin"
|
||||||
|
ln -s /usr/sbin/umount.crypt "$b/sbin"
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -143,6 +147,7 @@ fi
|
|||||||
%_sbindir/umount.*
|
%_sbindir/umount.*
|
||||||
%_sbindir/pmvarrun
|
%_sbindir/pmvarrun
|
||||||
%_sbindir/pmt-ehd
|
%_sbindir/pmt-ehd
|
||||||
|
/sbin/*mount*
|
||||||
%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