commit openCryptoki for openSUSE:Factory
Hello community, here is the log from the commit of package openCryptoki for openSUSE:Factory checked in at 2018-11-30 16:32:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openCryptoki (Old) and /work/SRC/openSUSE:Factory/.openCryptoki.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "openCryptoki" Fri Nov 30 16:32:50 2018 rev:49 rq:652748 version:3.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/openCryptoki/openCryptoki.changes 2018-11-20 22:42:36.910279040 +0100 +++ /work/SRC/openSUSE:Factory/.openCryptoki.new.19453/openCryptoki.changes 2018-11-30 16:32:50.629327137 +0100 @@ -1,0 +2,11 @@ +Thu Nov 29 22:45:36 UTC 2018 - mpost@suse.com + +- Don't hide error messages from the groupadd command. To eliminate + a potentially common one, check to see if the pkcs11 group is + already defined before trying to add it. +- Update the summary for the -devel package. +- Changed several PreReq entries to Requires(pre) as a result of + the output from spec-cleaner. Removed a couple of obsolete lines. +- Removed obsolete check for whether systemd is in use or not. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openCryptoki.spec ++++++ --- /var/tmp/diff_new_pack.1onQJ1/_old 2018-11-30 16:32:51.429326088 +0100 +++ /var/tmp/diff_new_pack.1onQJ1/_new 2018-11-30 16:32:51.437326078 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,12 +25,6 @@ %define pkcs11_group_id 64 %define oc_cvs_tag opencryptoki -%if 0%{?suse_version} > 1220 -%define uses_systemd 1 -%else -%define uses_systemd 0 -%endif - Name: openCryptoki Version: 3.11.0 Release: 0 @@ -57,10 +51,10 @@ BuildRequires: pwdutils BuildRequires: trousers-devel BuildRequires: pkgconfig(systemd) -PreReq: %{_bindir}/id -PreReq: %{_sbindir}/groupadd -PreReq: %{_sbindir}/usermod -PreReq: /bin/sed +Requires(pre): %{_bindir}/getent +Requires(pre): %{_sbindir}/groupadd +Requires(pre): %{_sbindir}/usermod + # IBM maintains openCryptoki on these architectures: ExclusiveArch: %{openCryptoki_32bit_arch} %{openCryptoki_64bit_arch} %{?systemd_requires} @@ -76,7 +70,7 @@ Cryptographic Accelerator (FC 4960 on pSeries). %package devel -Summary: An Implementation of PKCS#11 (Cryptoki) v2.01 for IBM Cryptographic Hardware +Summary: Development files for openCryptoki, a PKCS#11 implementation for IBM hardware Group: Development/Languages/C and C++ Requires: glibc-devel Requires: libopenssl-devel @@ -166,7 +160,7 @@ %{service_add_pre pkcsslotd.service} # autobuild:/work/cd/lib/misc/group # openCryptoki pkcs11:x:64: -%{_sbindir}/groupadd -g %{pkcs11_group_id} -r pkcs11 2>/dev/null || true +%{_bindir}/getent group %{pkcs11_group_id} >/dev/null || %{_sbindir}/groupadd -g %{pkcs11_group_id} -r pkcs11 || true %{_sbindir}/usermod -a -G pkcs11 root %preun
participants (1)
-
root