View | Details | Raw Unified
Collapse All | Expand All

(-)pam-config.spec.orig (-6 / +5 lines)
 Lines 5-11    Link Here 
5
Summary: Systemwide PAM config files
5
Summary: Systemwide PAM config files
6
License: GPL
6
License: GPL
7
Group: System/Base
7
Group: System/Base
8
BuildArch: noarch
9
8
10
Source0: system-auth
9
Source0: system-auth
11
Source1: system-auth-use_first_pass
10
Source1: system-auth-use_first_pass
 Lines 16-22    Link Here 
16
# All pam dependencies now provided/required by subpackages.
15
# All pam dependencies now provided/required by subpackages.
17
AutoReqProv: no
16
AutoReqProv: no
18
17
19
Provides: %_pamdir, /etc/security, /lib/security
18
Provides: %_pamdir, /etc/security, /%_lib/security
20
Provides: pam-common = %version-%release
19
Provides: pam-common = %version-%release
21
Obsoletes: pam-common
20
Obsoletes: pam-common
22
21
 Lines 31-37    Link Here 
31
Group: System/Base
30
Group: System/Base
32
PreReq: %name = %version-%release
31
PreReq: %name = %version-%release
33
# This is quite low-level code; synced with rpm-build-4.0.4-alt26.
32
# This is quite low-level code; synced with rpm-build-4.0.4-alt26.
34
Requires: %(for f in %SOURCE0 %SOURCE1 %SOURCE2; do PAM_SO_SUFFIX= PAM_NAME_SUFFIX=0 RPM_BUILD_ROOT=%buildroot /usr/lib/rpm/pam.req $f; done |sort -u |xargs echo)
33
Requires: %(for f in %SOURCE0 %SOURCE1 %SOURCE2; do RPM_LIB=%_lib RPM_LIBDIR=%_libdir PAM_SO_SUFFIX= PAM_NAME_SUFFIX=0 RPM_BUILD_ROOT=%buildroot /usr/lib/rpm/pam.req $f; done |sort -u |xargs echo)
35
Provides: %(for f in %SOURCE0 %SOURCE1 %SOURCE2; do PAM_SO_SUFFIX= PAM_NAME_SUFFIX=0 RPM_BUILD_ROOT=%buildroot /usr/lib/rpm/pam.prov $f; done |sort -u |xargs echo)
34
Provides: %(for f in %SOURCE0 %SOURCE1 %SOURCE2; do PAM_SO_SUFFIX= PAM_NAME_SUFFIX=0 RPM_BUILD_ROOT=%buildroot /usr/lib/rpm/pam.prov $f; done |sort -u |xargs echo)
36
# Compatibility.
35
# Compatibility.
37
Provides: pam(system-auth), pam(system-auth-use_first_pass), pam(other)
36
Provides: pam(system-auth), pam(system-auth-use_first_pass), pam(other)
 Lines 42-48    Link Here 
42
Group: System/Base
41
Group: System/Base
43
PreReq: %name = %version-%release
42
PreReq: %name = %version-%release
44
# This is quite low-level code; synced with rpm-build-4.0.4-alt26.
43
# This is quite low-level code; synced with rpm-build-4.0.4-alt26.
45
Requires: %(for f in %SOURCE0 %SOURCE1 %SOURCE2; do PAM_SO_SUFFIX=.2 PAM_NAME_SUFFIX=2 RPM_BUILD_ROOT=%buildroot /usr/lib/rpm/pam.req $f; done |sort -u |xargs echo)
44
Requires: %(for f in %SOURCE0 %SOURCE1 %SOURCE2; do RPM_LIB=%_lib RPM_LIBDIR=%_libdir PAM_SO_SUFFIX=.2 PAM_NAME_SUFFIX=2 RPM_BUILD_ROOT=%buildroot /usr/lib/rpm/pam.req $f; done |sort -u |xargs echo)
46
Provides: %(for f in %SOURCE0 %SOURCE1 %SOURCE2; do PAM_SO_SUFFIX=.2 PAM_NAME_SUFFIX=2 RPM_BUILD_ROOT=%buildroot /usr/lib/rpm/pam.prov $f; done |sort -u |xargs echo)
45
Provides: %(for f in %SOURCE0 %SOURCE1 %SOURCE2; do PAM_SO_SUFFIX=.2 PAM_NAME_SUFFIX=2 RPM_BUILD_ROOT=%buildroot /usr/lib/rpm/pam.prov $f; done |sort -u |xargs echo)
47
46
48
%description
47
%description
 Lines 69-75    Link Here 
69
This package contains systemwide config files for OpenPAM.
68
This package contains systemwide config files for OpenPAM.
70
69
71
%install
70
%install
72
%__mkdir_p $RPM_BUILD_ROOT{%_pamdir,/etc/security,/lib/security}
71
%__mkdir_p $RPM_BUILD_ROOT{%_pamdir,/etc/security,/%_lib/security}
73
%__install -pm644 %SOURCE0 %SOURCE1 %SOURCE2 $RPM_BUILD_ROOT%_pamdir/
72
%__install -pm644 %SOURCE0 %SOURCE1 %SOURCE2 $RPM_BUILD_ROOT%_pamdir/
74
73
75
%post
74
%post
 Lines 98-104    Link Here 
98
%config %_pamdir/other
97
%config %_pamdir/other
99
%config(noreplace) %_pamdir/system-auth*
98
%config(noreplace) %_pamdir/system-auth*
100
/etc/security
99
/etc/security
101
/lib/security
100
/%_lib/security
102
101
103
%files -n pam0-config
102
%files -n pam0-config
104
%files -n pam2-config
103
%files -n pam2-config