- Trim old specfile constructs.
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=65
This commit is contained in:
parent
aab0da078e
commit
c054c84c21
@ -2,6 +2,7 @@
|
||||
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>
|
||||
|
@ -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.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
%patch -P 3 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static --with-slibdir="/%_lib" \
|
||||
--includedir="%_includedir/libcryptmount" \
|
||||
%{?_with_selinux:--with-selinux}
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR="%buildroot";
|
||||
%make_install
|
||||
# Remove static and libtool version
|
||||
rm -f "%buildroot/%_lib/security"/*.{a,la} "%buildroot/%_libdir"/*.la
|
||||
#install the docs
|
||||
@ -146,12 +143,10 @@ then
|
||||
done
|
||||
fi
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%_docdir/%name
|
||||
/%_lib/security/pam_mount*.so
|
||||
/sbin/mount.crypt*
|
||||
@ -169,11 +164,9 @@ fi
|
||||
%endif
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libcryptmount.so.0*
|
||||
|
||||
%files -n libcryptmount-devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/libcryptmount/
|
||||
%_libdir/pkgconfig/*.pc
|
||||
%_libdir/libcryptmount.so
|
||||
|
Loading…
Reference in New Issue
Block a user