forked from pool/pam_dbus
boo#1190950
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_dbus?expand=0&rev=15
This commit is contained in:
parent
8e2c4358f6
commit
024d2762f5
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 12:58:00 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Use spec file macros for pam (boo#1190950)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 19 07:35:01 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -59,7 +59,7 @@ test -h %{name}-%{version} || ln -sf darcs-mirror-pam-dbus.debian-%{commit} %{na
|
||||
%setup -q -D
|
||||
%patch0
|
||||
%patch1
|
||||
sed -ri '/^PAM_MODDIR/{ s@/lib/@/%{_lib}/@p }' configure.ac
|
||||
sed -ri '/^PAM_MODDIR/{ s@/lib/@%{_pam_libdir}/@p }' configure.ac
|
||||
autoreconf -fis
|
||||
|
||||
%build
|
||||
@ -68,7 +68,7 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
rm -vf %{buildroot}/%{_lib}/security/*.la
|
||||
rm -vf %{buildroot}%{_pam_moduledir}/*.la
|
||||
install -d %{buildroot}%{_mandir}/man8
|
||||
install -m 0644 %{S:1} %{buildroot}%{_mandir}/man8
|
||||
|
||||
@ -77,7 +77,7 @@ install -m 0644 %{S:1} %{buildroot}%{_mandir}/man8
|
||||
%doc README LICENSE
|
||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/%{name}.conf
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/pam-dbus-notify.desktop
|
||||
%attr(0755, root, root) /%{_lib}/security/%{name}.so
|
||||
%attr(0755, root, root) %{_pam_moduledir}/%{name}.so
|
||||
%dir %{_datadir}/%{name}/
|
||||
%attr(0755, root, root) %{_datadir}/%{name}/pam-dbus-notify
|
||||
%{_mandir}/man8/%{name}.8*
|
||||
|
Loading…
Reference in New Issue
Block a user