forked from pool/pam_kwallet
- Only use pam-config on TW, where it will be available soon
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/pam_kwallet?expand=0&rev=36
This commit is contained in:
parent
2442481fd3
commit
76487bf872
@ -1,4 +1,7 @@
|
||||
pam_kwallet
|
||||
requires "pam_kwallet = <version>"
|
||||
supplements "packageand(pam_kwallet:pam-<targettype>)"
|
||||
post "%if 0%{?suse_version} >= 1330"
|
||||
post "%{_sbindir}/pam-config -a --kwallet5 || :"
|
||||
post "%endif"
|
||||
post ":"
|
||||
|
@ -5,6 +5,7 @@ Wed Aug 2 08:48:28 UTC 2017 - fabian@ritter-vogt.de
|
||||
necessary for pam-config integration
|
||||
- Add baselibs.conf for -32bit pkg
|
||||
- Register with pam-config automatically (boo#1029942)
|
||||
- Only use pam-config on TW, where it will be available soon
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 18 16:14:48 CEST 2017 - fabian@ritter-vogt.de
|
||||
|
@ -32,7 +32,9 @@ BuildRequires: pam-devel
|
||||
BuildRequires: socat
|
||||
BuildRequires: xz
|
||||
Requires: %{name}-common = %{version}
|
||||
%if 0%{?suse_version} >= 1330
|
||||
Requires(postun): coreutils pam pam-config
|
||||
%endif
|
||||
|
||||
%description
|
||||
This PAM module allows you to automatically open your kwallet
|
||||
@ -58,6 +60,7 @@ module.
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%if 0%{?suse_version} >= 1330
|
||||
# Due to boo#728586 it is necessary to duplicate this in the 32bit variant.
|
||||
# So you need to edit baselibs.conf if you change this.
|
||||
%post
|
||||
@ -67,6 +70,7 @@ module.
|
||||
if [ "$1" = "0" ]; then
|
||||
%{_sbindir}/pam-config -d --kwallet5 || :
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user