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
|
pam_kwallet
|
||||||
requires "pam_kwallet = <version>"
|
requires "pam_kwallet = <version>"
|
||||||
supplements "packageand(pam_kwallet:pam-<targettype>)"
|
supplements "packageand(pam_kwallet:pam-<targettype>)"
|
||||||
|
post "%if 0%{?suse_version} >= 1330"
|
||||||
post "%{_sbindir}/pam-config -a --kwallet5 || :"
|
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
|
necessary for pam-config integration
|
||||||
- Add baselibs.conf for -32bit pkg
|
- Add baselibs.conf for -32bit pkg
|
||||||
- Register with pam-config automatically (boo#1029942)
|
- 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
|
Tue Jul 18 16:14:48 CEST 2017 - fabian@ritter-vogt.de
|
||||||
|
@ -32,7 +32,9 @@ BuildRequires: pam-devel
|
|||||||
BuildRequires: socat
|
BuildRequires: socat
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
Requires: %{name}-common = %{version}
|
Requires: %{name}-common = %{version}
|
||||||
|
%if 0%{?suse_version} >= 1330
|
||||||
Requires(postun): coreutils pam pam-config
|
Requires(postun): coreutils pam pam-config
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This PAM module allows you to automatically open your kwallet
|
This PAM module allows you to automatically open your kwallet
|
||||||
@ -58,6 +60,7 @@ module.
|
|||||||
%install
|
%install
|
||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1330
|
||||||
# Due to boo#728586 it is necessary to duplicate this in the 32bit variant.
|
# 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.
|
# So you need to edit baselibs.conf if you change this.
|
||||||
%post
|
%post
|
||||||
@ -67,6 +70,7 @@ module.
|
|||||||
if [ "$1" = "0" ]; then
|
if [ "$1" = "0" ]; then
|
||||||
%{_sbindir}/pam-config -d --kwallet5 || :
|
%{_sbindir}/pam-config -d --kwallet5 || :
|
||||||
fi
|
fi
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user