Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pam_dbus for openSUSE:Factory 
checked in at 2021-09-28 19:16:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam_dbus (Old)
 and      /work/SRC/openSUSE:Factory/.pam_dbus.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pam_dbus"

Tue Sep 28 19:16:46 2021 rev:6 rq:922003 version:0.2.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/pam_dbus/pam_dbus.changes        2021-08-20 
16:57:47.438881215 +0200
+++ /work/SRC/openSUSE:Factory/.pam_dbus.new.1899/pam_dbus.changes      
2021-09-28 19:17:45.708270819 +0200
@@ -1,0 +2,5 @@
+Tue Sep 28 12:58:00 UTC 2021 - Dr. Werner Fink <wer...@suse.de>
+
+- Use spec file macros for pam (boo#1190950) 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pam_dbus.spec ++++++
--- /var/tmp/diff_new_pack.eGsTTc/_old  2021-09-28 19:17:46.148271325 +0200
+++ /var/tmp/diff_new_pack.eGsTTc/_new  2021-09-28 19:17:46.152271331 +0200
@@ -48,6 +48,12 @@
 Requires:       python3-base
 Requires:       python3-notify2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if ! %{defined _pam_moduledir}
+%define _pam_moduledir /%{_lib}/security
+%endif
+%if ! %{defined _pam_libdir}
+%define _pam_libdir /%{_lib}
+%endif
 
 %description
 This PAM module will, when being used to authenticate a
@@ -59,7 +65,7 @@
 %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,16 +74,21 @@
 
 %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
 
 %files
 %defattr(-,root,root)
+%if %{defined license}
+%license LICENSE
+%doc README
+%else
 %doc README LICENSE
+%endif
 %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*

Reply via email to