SHA256
1
0
forked from pool/pam_dbus
Dr. Werner Fink 2021-09-28 12:58:50 +00:00 committed by Git OBS Bridge
parent 8e2c4358f6
commit 024d2762f5
2 changed files with 8 additions and 3 deletions

View File

@ -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>

View File

@ -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*