Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package artifacthub-cli for openSUSE:Factory
checked in at 2025-02-20 22:35:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/artifacthub-cli (Old)
and /work/SRC/openSUSE:Factory/.artifacthub-cli.new.1873 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "artifacthub-cli"
Thu Feb 20 22:35:06 2025 rev:1 rq:1247487 version:1.20.0
Changes:
--------
New Changes file:
--- /dev/null 2025-02-20 10:39:52.952000000 +0100
+++
/work/SRC/openSUSE:Factory/.artifacthub-cli.new.1873/artifacthub-cli.changes
2025-02-20 22:35:10.191132232 +0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Fri Feb 14 11:40:47 UTC 2025 - Johannes Kastl
<[email protected]>
+
+- new package artifacthub-cli: check that your packages are ready
+ to be listed on AH by using the lint subcommand
New:
----
_service
_servicedata
artifacthub-cli-1.20.0.obscpio
artifacthub-cli.changes
artifacthub-cli.obsinfo
artifacthub-cli.spec
vendor.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ artifacthub-cli.spec ++++++
#
# spec file for package artifacthub-cli
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define executable_name ah
Name: artifacthub-cli
Version: 1.20.0
Release: 0
Summary: CLI for Artifact Hub
License: Apache-2.0
URL: https://github.com/artifacthub/hub
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: bash-completion
BuildRequires: fish
BuildRequires: go >= 1.23
BuildRequires: zsh
Provides: ah = %{version}
%description
Artifact Hub includes a command line interface tool named ah. You can check
that your packages are ready to be listed on AH by using the lint subcommand.
Integrating the linter into your CI workflow may help catching errors early.
%prep
%autosetup -p 1 -a 1
%build
COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo)"
go build \
-mod=vendor \
-buildmode=pie \
-ldflags=" \
-X main.version=v%{version} \
-X main.gitCommit=${COMMIT_HASH}" \
-o bin/%{executable_name} ./cmd/%{executable_name}
%install
# Install the binary.
install -D -m 0755 bin/%{executable_name}
%{buildroot}/%{_bindir}/%{executable_name}
%check
%{buildroot}/%{_bindir}/%{executable_name} version | grep v%{version}
%files
%doc README.md
%license LICENSE
%{_bindir}/%{executable_name}
%changelog
++++++ _service ++++++
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/artifacthub/hub</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v1.20.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
<param name="filename">artifacthub-cli</param>
</service>
<service name="set_version" mode="manual">
</service>
<service name="go_modules" mode="manual">
</service>
<!-- services below are running at buildtime -->
<service name="tar" mode="buildtime">
</service>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/artifacthub/hub</param>
<param
name="changesrevision">0f6086559de04810e338ed0e786720a594564db7</param></service></servicedata>
(No newline at EOF)
++++++ artifacthub-cli.obsinfo ++++++
name: artifacthub-cli
version: 1.20.0
mtime: 1728637142
commit: 0f6086559de04810e338ed0e786720a594564db7