The package rpms/checkpointctl.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/checkpointctl.git/commit/?id=e916....
Change:
+ExclusiveArch: %{golang_arches_future}
Thanks.
Full change:
============
commit e916f55e75ab7623861d887ec0d06fe529383f42
Author: Radostin Stoyanov <radostin(a)redhat.com>
Date: Mon Jan 29 11:13:55 2024 +0000
Initial import (fedora#2259838).
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..abf562b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/checkpointctl-1.1.0.tar.gz
diff --git a/checkpointctl.spec b/checkpointctl.spec
new file mode 100644
index 0000000..b9b833a
--- /dev/null
+++ b/checkpointctl.spec
@@ -0,0 +1,97 @@
+%global with_debug 0
+
+%if 0%{?with_debug}
+%global _find_debuginfo_dwz_opts %{nil}
+%global _dwz_low_mem_die_limit 0
+%else
+%global debug_package %{nil}
+%endif
+
+%global provider github
+%global provider_tld com
+%global project checkpoint-restore
+%global repo checkpointctl
+#
https://github.com/checkpoint-restore/checkpointctl
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+%global git0
https://github.com/checkpoint-restore/checkpointctl
+
+%global built_tag v1.1.0
+%global built_tag_strip %(b=%{built_tag}; echo ${b:1})
+%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"})
+
+Name: %{repo}
+Epoch: 1
+Version: %{gen_version}
+Release: %autorelease
+Summary: A command-line tool for in-depth analysis of container checkpoints
+License: Apache-2.0
+URL: %{git0}
+Source0: %{git0}/archive/%{built_tag}/%{name}-%{version}.tar.gz
+ExclusiveArch: %{golang_arches_future}
+# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
+BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+BuildRequires: asciidoctor
+BuildRequires: make
+# vendored libraries
+Provides:
bundled(golang(github.com/checkpoint_restore/go_criu/v7)) = v7.0.0
+Provides:
bundled(golang(github.com/containers/storage)) = v1.51.0
+Provides:
bundled(golang(github.com/docker/go_units)) = v0.5.0
+Provides:
bundled(golang(github.com/inconshreveable/mousetrap)) = v1.1.0
+Provides:
bundled(golang(github.com/klauspost/compress)) = v1.17.2
+Provides:
bundled(golang(github.com/klauspost/pgzip)) = v1.2.6
+Provides:
bundled(golang(github.com/mattn/go_runewidth)) = v0.0.9
+Provides:
bundled(golang(github.com/moby/sys/mountinfo)) = v0.7.1
+Provides:
bundled(golang(github.com/olekukonko/tablewriter)) = v0.0.5
+Provides:
bundled(golang(github.com/opencontainers/runc)) = v1.1.10
+Provides:
bundled(golang(github.com/opencontainers/runtime_spec)) = v1.1.0
+Provides:
bundled(golang(github.com/sirupsen/logrus)) = v1.9.3
+Provides:
bundled(golang(github.com/spf13/cobra)) = v1.8.0
+Provides:
bundled(golang(github.com/spf13/pflag)) = v1.0.5
+Provides:
bundled(golang(github.com/syndtr/gocapability)) =
v0.0.0_20200815063812_42c35b437635
+Provides:
bundled(golang(github.com/ulikunitz/xz)) = v0.5.11
+Provides:
bundled(golang(github.com/xlab/treeprint)) = v1.2.0
+
+%description
+The checkpointctl command can be used for in-depth analysis of
+container checkpoints created with Podman and Kubernetes.
+
+%prep
+%autosetup -n %{name}-%{version}
+
+%build
+%set_build_flags
+export CGO_CFLAGS=$CFLAGS
+
+# These extra flags present in $CFLAGS have been skipped for now as they break the build
+CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-flto=auto//g')
+CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-Wp,D_GLIBCXX_ASSERTIONS//g')
+CGO_CFLAGS=$(echo $CGO_CFLAGS | sed
's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-annobin-cc1//g')
+
+make %{?_smp_mflags}
+
+# Generate bash completion script
+mkdir -p completions/bash/
+./%{name} completion bash | tee completions/bash/%{name}
+
+%install
+make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
+
+# install bash completion
+install -d -p %{buildroot}%{_datadir}/bash-completion/completions
+install -p -m 0644 completions/bash/%{name}
%{buildroot}%{_datadir}/bash-completion/completions
+
+# Strip the installed binary
+%if 0%{?with_debug} == 0
+/usr/bin/strip %{buildroot}%{_bindir}/%{name}
+%endif
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}*
+%{_datadir}/bash-completion/completions/%{name}
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..a1495ca
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (checkpointctl-1.1.0.tar.gz) =
fda95f91c2bdaf599bd6b3ddf700aa947003bdf7d0371fce8c6b7dd945525adda734c97112f79f2069405496b9f5b63503c25fb91f7cd28095fb824c15a2ff52