Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package go-containerregistry for
openSUSE:Factory checked in at 2022-12-15 19:25:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go-containerregistry (Old)
and /work/SRC/openSUSE:Factory/.go-containerregistry.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go-containerregistry"
Thu Dec 15 19:25:50 2022 rev:2 rq:1043106 version:0.12.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/go-containerregistry/go-containerregistry.changes
2022-10-21 16:20:07.058237016 +0200
+++
/work/SRC/openSUSE:Factory/.go-containerregistry.new.1835/go-containerregistry.changes
2022-12-15 19:26:16.900423785 +0100
@@ -1,0 +2,5 @@
+Tue Dec 13 11:01:42 UTC 2022 - Dirk Müller <[email protected]>
+
+- avoid file conflict on SLE15 and other older distributions
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ go-containerregistry.spec ++++++
--- /var/tmp/diff_new_pack.3wS965/_old 2022-12-15 19:26:17.344426311 +0100
+++ /var/tmp/diff_new_pack.3wS965/_new 2022-12-15 19:26:17.348426334 +0100
@@ -27,8 +27,8 @@
URL: https://github.com/google/go-containerregistry
Source:
https://github.com/google/go-containerregistry/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.gz
-BuildRequires: golang(API) = 1.17
BuildRequires: golang-packaging
+BuildRequires: golang(API) = 1.17
Conflicts: distribution-registry
%description
@@ -79,12 +79,18 @@
%install
%{goinstall}
+# "only one tool per thing" SLE15 policy conflicts
+%if 0%{?suse_version} && %{?suse_version} < 1550
+rm -v %{buildroot}/%{_bindir}/{registry,help}
+%endif
+%if %{?suse_version} > 1500
%files
%license LICENSE
%doc README.md
%{_bindir}/registry
%exclude %{_bindir}/help
+%endif
%files -n crane
%license LICENSE