Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pesign for openSUSE:Factory checked in at 2021-11-25 23:05:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pesign (Old) and /work/SRC/openSUSE:Factory/.pesign.new.1895 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pesign" Thu Nov 25 23:05:26 2021 rev:40 rq:932763 version:113 Changes: -------- --- /work/SRC/openSUSE:Factory/pesign/pesign.changes 2021-11-03 17:25:10.193301257 +0100 +++ /work/SRC/openSUSE:Factory/.pesign.new.1895/pesign.changes 2021-11-25 23:05:27.265338158 +0100 @@ -1,0 +2,10 @@ +Sun Nov 11 10:54:08 UTC 2021 - Andreas Schwab <sch...@suse.de> + +- Enable build on riscv64 + +------------------------------------------------------------------- +Tue Nov 9 15:01:59 UTC 2021 - Callum Farmer <gm...@opensuse.org> + +- Change to systemd-sysusers + +------------------------------------------------------------------- New: ---- pesign.sysusers ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pesign.spec ++++++ --- /var/tmp/diff_new_pack.1pM0vg/_old 2021-11-25 23:05:28.249334764 +0100 +++ /var/tmp/diff_new_pack.1pM0vg/_new 2021-11-25 23:05:28.253334750 +0100 @@ -24,6 +24,7 @@ Group: Productivity/Security URL: https://github.com/rhinstaller/pesign Source: https://github.com/rhinstaller/pesign/releases/download/%{version}/%{name}-%{version}.tar.bz2 +Source1: pesign.sysusers # PATCH-FIX-SUSE pesign-suse-build.patch g...@suse.com -- Adjust Makefile for the build service Patch1: pesign-suse-build.patch # PATCH-FIX-UPSTREAM pesign-privkey_unneeded.diff g...@suse.com -- Don't check the private key when importing the raw signature @@ -46,10 +47,11 @@ BuildRequires: mozilla-nss-devel BuildRequires: pkg-config BuildRequires: popt-devel +BuildRequires: sysuser-tools BuildRequires: pkgconfig(systemd) -Requires(pre): shadow +%sysusers_requires %{?systemd_requires} -ExclusiveArch: ia64 %ix86 x86_64 aarch64 %arm +ExclusiveArch: ia64 %ix86 x86_64 aarch64 %arm riscv64 %description Signing tool for PE-COFF binaries. It is vaguely compliant @@ -68,6 +70,7 @@ %patch9 -p1 %build +%sysusers_generate_pre %{SOURCE1} %{name} %{name}.conf make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="${LDFLAGS} -pie" %install @@ -86,9 +89,9 @@ rm -rf %{buildroot}/boot %{buildroot}%{_prefix}/include rm -rf %{buildroot}%{_libdir}/libdpe* -%pre -getent group pesign >/dev/null || groupadd -r pesign -getent passwd pesign >/dev/null || useradd -r -g pesign -d %{_localstatedir}/lib/pesign -s /bin/false -c "PE-COFF signing daemon" pesign +install -Dm0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf + +%pre -f %{name}.pre %service_add_pre pesign.service %preun @@ -120,6 +123,7 @@ %{_mandir}/man?/* %{_localstatedir}/lib/pesign %{_unitdir}/pesign.service +%{_sysusersdir}/pesign.conf %{_tmpfilesdir}/pesign.conf %dir %{_libexecdir}/pesign %{_libexecdir}/pesign/pesign-authorize ++++++ pesign.sysusers ++++++ #Type Name ID GECOS Home directory Shell u pesign - "PE-COFF signing daemon" /var/lib/pesign -