Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cryptctl for openSUSE:Factory 
checked in at 2021-07-22 22:43:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cryptctl (Old)
 and      /work/SRC/openSUSE:Factory/.cryptctl.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cryptctl"

Thu Jul 22 22:43:32 2021 rev:11 rq:907695 version:2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/cryptctl/cryptctl.changes        2020-08-20 
22:35:44.900175377 +0200
+++ /work/SRC/openSUSE:Factory/.cryptctl.new.1899/cryptctl.changes      
2021-07-22 22:44:20.583122963 +0200
@@ -1,0 +2,7 @@
+Wed Jul 21 16:02:08 UTC 2021 - Paolo Perego <[email protected]>
+
+- Fixed build errors adding a "go mod init"
+- Binaries are now compiled with PIE support
+- Also client service is symlinked so to avoid warnings
+
+-------------------------------------------------------------------
@@ -156 +162,0 @@
-

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

Other differences:
------------------
++++++ cryptctl.spec ++++++
--- /var/tmp/diff_new_pack.M5R8pt/_old  2021-07-22 22:44:21.003122416 +0200
+++ /var/tmp/diff_new_pack.M5R8pt/_new  2021-07-22 22:44:21.007122410 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cryptctl
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -58,7 +58,8 @@
 export GOPATH=$(pwd)
 cd %{SRCDIR}
 gzip ospackage/man/cryptctl.8
-go build
+go mod init
+go build -buildmode=pie
 
 %install
 cd %{SRCDIR}
@@ -81,6 +82,7 @@
 install -D -m 0644 ospackage/svc/cryptctl-server.service 
%{buildroot}/%{_unitdir}/cryptctl-server.service
 install -D -m 0644 ospackage/svc/cryptctl-client.service 
%{buildroot}/%{_unitdir}/cryptctl-client.service
 ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rccryptctl-server
+ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rccryptctl-client
 
 # One udev rule
 install -D -m 0644 ospackage/udev/99-cryptctl-auto-unlock.rules 
%{buildroot}/%{_udevrulesdir}/99-cryptctl-auto-unlock.rules
@@ -111,6 +113,7 @@
 %dir %{_sysconfdir}/%{name}/servertls
 %{_sbindir}/%{name}
 %{_sbindir}/rccryptctl-server
+%{_sbindir}/rccryptctl-client
 %{_mandir}/man8/*
 %{_unitdir}/cryptctl-server.service
 %{_unitdir}/cryptctl-client.service

Reply via email to