Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package container-suseconnect for openSUSE:Factory checked in at 2023-10-05 20:05:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/container-suseconnect (Old) and /work/SRC/openSUSE:Factory/.container-suseconnect.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "container-suseconnect" Thu Oct 5 20:05:17 2023 rev:2 rq:1115828 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/container-suseconnect/container-suseconnect.changes 2022-12-06 17:01:24.706687430 +0100 +++ /work/SRC/openSUSE:Factory/.container-suseconnect.new.28202/container-suseconnect.changes 2023-10-05 20:06:43.614459584 +0200 @@ -1,0 +2,5 @@ +Thu Oct 5 12:52:42 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- spec file cleanups + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ container-suseconnect.spec ++++++ --- /var/tmp/diff_new_pack.pLSkeX/_old 2023-10-05 20:06:44.902506117 +0200 +++ /var/tmp/diff_new_pack.pLSkeX/_new 2023-10-05 20:06:44.906506261 +0200 @@ -1,7 +1,7 @@ # -# spec file for package container-suseconnect +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,11 +32,10 @@ Source1: vendor.tar.zst Source2: container-suseconnect-rpmlintrc BuildRequires: golang-packaging -BuildRequires: zstd BuildRequires: libzypp > 9.34 +BuildRequires: zstd +BuildRequires: golang(API) = 1.21 Requires: libzypp > 9.34 -%{go_provides} -%{go_exclusivearch} %description container-suseconnect gives access to package repositories inside containers @@ -46,18 +45,16 @@ %setup -q -n %{project}-%{version} -a1 %build -%{goprep} %{import_path} -%{gobuild} cmd/container-suseconnect +go build -o %{project} -mod=vendor -buildmode=pie -trimpath -ldflags="-s -w" ./cmd/container-suseconnect %install -%{goinstall} -%{gofilelist} +install -D -m 755 %{project} %{buildroot}/%{_bindir}/%{project} mkdir -p %{buildroot}/%{zypp_services} mkdir -p %{buildroot}/%{zypp_urlresolver} ln -s %{_bindir}/%{project} %{buildroot}/%{zypp_services}/%{project}-zypp ln -s %{_bindir}/%{project} %{buildroot}/%{zypp_urlresolver}/susecloud -%files -f file.lst +%files %doc README.md %license LICENSE %{_bindir}/%{project}