Accepting request 836187 from Linux-PAM
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/836187 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam_mount?expand=0&rev=68
This commit is contained in:
commit
76da824899
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 15 23:39:22 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Demote Recommends to Suggests.
|
||||||
|
- Trim old specfile constructs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 25 08:24:18 UTC 2019 - Josef Möllers <josef.moellers@suse.com>
|
Mon Nov 25 08:24:18 UTC 2019 - Josef Möllers <josef.moellers@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pam_mount
|
# spec file for package pam_mount
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -23,7 +23,7 @@ License: LGPL-2.1-or-later AND GPL-2.0-or-later
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Version: 2.16
|
Version: 2.16
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://pam-mount.sf.net/
|
URL: http://pam-mount.sf.net/
|
||||||
|
|
||||||
Source: http://downloads.sf.net/pam-mount/%name-%version.tar.xz
|
Source: http://downloads.sf.net/pam-mount/%name-%version.tar.xz
|
||||||
Source9: http://downloads.sf.net/pam-mount/%name-%version.tar.asc
|
Source9: http://downloads.sf.net/pam-mount/%name-%version.tar.asc
|
||||||
@ -62,7 +62,7 @@ Requires: fd0ssh
|
|||||||
Requires: ofl
|
Requires: ofl
|
||||||
# for mount(8) and mount.cifs:
|
# for mount(8) and mount.cifs:
|
||||||
Requires: util-linux >= 2.20
|
Requires: util-linux >= 2.20
|
||||||
Recommends: cifs-mount
|
Suggests: cifs-mount
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module is aimed at environments with central file servers that a
|
This module is aimed at environments with central file servers that a
|
||||||
@ -99,19 +99,16 @@ setup. It supports pam_mount style plain EHD2/OpenSSL images and LUKS
|
|||||||
and transparent use of the OS's crypto layer.
|
and transparent use of the OS's crypto layer.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch -P 1 -p1
|
|
||||||
%patch -P 2 -p1
|
|
||||||
%patch -P 3 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --with-slibdir="/%_lib" \
|
%configure --disable-static --with-slibdir="/%_lib" \
|
||||||
--includedir="%_includedir/libcryptmount" \
|
--includedir="%_includedir/libcryptmount" \
|
||||||
%{?_with_selinux:--with-selinux}
|
%{?_with_selinux:--with-selinux}
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot";
|
%make_install
|
||||||
# Remove static and libtool version
|
# Remove static and libtool version
|
||||||
rm -f "%buildroot/%_lib/security"/*.{a,la} "%buildroot/%_libdir"/*.la
|
rm -f "%buildroot/%_lib/security"/*.{a,la} "%buildroot/%_libdir"/*.la
|
||||||
#install the docs
|
#install the docs
|
||||||
@ -146,12 +143,10 @@ then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
|
||||||
%_docdir/%name
|
%_docdir/%name
|
||||||
/%_lib/security/pam_mount*.so
|
/%_lib/security/pam_mount*.so
|
||||||
/sbin/mount.crypt*
|
/sbin/mount.crypt*
|
||||||
@ -169,11 +164,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
|
||||||
%_libdir/libcryptmount.so.0*
|
%_libdir/libcryptmount.so.0*
|
||||||
|
|
||||||
%files -n libcryptmount-devel
|
%files -n libcryptmount-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_includedir/libcryptmount/
|
%_includedir/libcryptmount/
|
||||||
%_libdir/pkgconfig/*.pc
|
%_libdir/pkgconfig/*.pc
|
||||||
%_libdir/libcryptmount.so
|
%_libdir/libcryptmount.so
|
||||||
|
Loading…
Reference in New Issue
Block a user