Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pcsc-lite for openSUSE:Factory checked in at 2021-12-01 20:46:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcsc-lite (Old) and /work/SRC/openSUSE:Factory/.pcsc-lite.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcsc-lite" Wed Dec 1 20:46:19 2021 rev:91 rq:934676 version:1.9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/pcsc-lite/pcsc-lite.changes 2021-10-30 23:14:35.999097150 +0200 +++ /work/SRC/openSUSE:Factory/.pcsc-lite.new.31177/pcsc-lite.changes 2021-12-02 02:19:42.785767423 +0100 @@ -1,0 +2,5 @@ +Sat Nov 13 13:20:53 UTC 2021 - Callum Farmer <gm...@opensuse.org> + +- Change to systemd-sysusers + +------------------------------------------------------------------- New: ---- pcsc-lite.sysusers ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcsc-lite.spec ++++++ --- /var/tmp/diff_new_pack.S5am09/_old 2021-12-02 02:19:43.285765679 +0100 +++ /var/tmp/diff_new_pack.S5am09/_new 2021-12-02 02:19:43.289765665 +0100 @@ -39,21 +39,23 @@ Source6: pcsc-lite-reader-conf Source7: https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2.asc Source8: %{name}.keyring +Source9: %{name}.sysusers Patch0: systemd-service.patch Patch1: harden_pcscd.service.patch BuildRequires: gcc BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: pkgconfig(libsystemd) +BuildRequires: sysuser-tools Requires: libpcsclite1 = %{version} Requires(post): %fillup_prereq -Requires(pre): shadow BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: polkit-devel BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(libudev) %{?systemd_requires} +%sysusers_requires %description PC/SC Lite provides a Windows SCard interface in a small form factor @@ -113,6 +115,7 @@ %patch1 -p1 %build +%sysusers_generate_pre %{SOURCE9} %{PKG_USER} %{PKG_USER}.conf %configure \ --disable-silent-rules \ --docdir=%{_docdir}/%{name} \ @@ -135,10 +138,9 @@ cp -a AUTHORS ChangeLog COPYING HELP NEWS README README.SUSE SECURITY TODO %{buildroot}%{_docdir}/%{name} # Remove useless la files find %{buildroot} -type f -name "*.la" -delete -print +install -Dm0644 %{SOURCE9} %{buildroot}%{_sysusersdir}/%{PKG_USER}.conf -%pre -getent group %{PKG_GROUP} >/dev/null || groupadd -r %{PKG_GROUP} -getent passwd %{PKG_USER} >/dev/null || useradd -r -g %{PKG_GROUP} -s %{_sbindir}/nologin -c "Smart Card Reader" -d /run/pcscd %{PKG_USER} +%pre -f %{PKG_USER}.pre %service_add_pre pcscd.service pcscd.socket %post @@ -178,6 +180,7 @@ %config(noreplace) %{_sysconfdir}/reader.conf.d/reader.conf %{ifddir} %{_unitdir}/* +%{_sysusersdir}/%{PKG_USER}.conf %{_fillupdir}/sysconfig.pcscd # libpcsclite.so should stay in the main package (#732911). Third party packages may need it for dlopen(). %{_libdir}/libpcsclite.so ++++++ pcsc-lite.sysusers ++++++ #Type Name ID GECOS Home directory Shell u scard - "Smart Card Reader" /run/pcscd -