Accepting request 851168 from Linux-PAM
- Restore symlinks while util-linux is pending OBS-URL: https://build.opensuse.org/request/show/851168 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam_mount?expand=0&rev=70
This commit is contained in:
commit
11b2578f59
@ -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>
|
||||
|
||||
|
@ -106,13 +106,17 @@ and transparent use of the OS's crypto layer.
|
||||
|
||||
%install
|
||||
%make_install
|
||||
b="%buildroot"
|
||||
# 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
|
||||
mkdir -p %buildroot/%_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/
|
||||
install -m 755 %SOURCE1 %buildroot/%_docdir/%name/examples/
|
||||
install -m 755 %SOURCE2 %buildroot/%_docdir/%name/examples/
|
||||
mkdir -p "$b/%_docdir/%name/examples"
|
||||
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 "$b/%_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
|
||||
|
||||
%post
|
||||
@ -143,6 +147,7 @@ fi
|
||||
%_sbindir/umount.*
|
||||
%_sbindir/pmvarrun
|
||||
%_sbindir/pmt-ehd
|
||||
/sbin/*mount*
|
||||
%config(noreplace) %_sysconfdir/security/pam_mount.conf.xml
|
||||
%doc %_mandir/man5/pam_mount.conf.5.gz
|
||||
%doc %_mandir/man8/*.8.gz
|
||||
|
Loading…
Reference in New Issue
Block a user