From 2d324fecbdf2bc6edc98dfe0ed2a108987d4b7b9 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sun, 17 Sep 2023 19:08:44 +1000 Subject: [PATCH 01/15] release v0.11.0 - build fix Signed-off-by: Navid Yaghoobi --- podman-tui.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/podman-tui.spec b/podman-tui.spec index 711f05b..219a26c 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -8,6 +8,10 @@ %global debug_package %{nil} %endif +%if %{defined rhel} && !%{defined eln} +%define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "-linkmode=external -compressdwarf=false ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**}; +%endif + %global goipath github.com/containers/podman-tui Version: 0.11.0 %global tag v0.11.0 @@ -185,6 +189,9 @@ popd %build export BUILDTAGS="exclude_graphdriver_devicemapper exclude_graphdriver_btrfs btrfs_noversion containers_image_openpgp remote" +export GO111MODULE=off +export GOPATH=$GOPATH:%{gobuilddir}:%{gobuilddir}/_build + %gobuild -o %{gobuilddir}/bin/%{goname} %{goipath}/ %install From 26f600eacf13e3384eb1e6d740dadedd3974f29f Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sat, 11 Nov 2023 23:51:09 +1100 Subject: [PATCH 02/15] release v0.12.0 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 + bundle_go_deps_for_rpm.sh | 116 ++++++++++++++ podman-tui.spec | 314 ++++++++++++++++++++------------------ sources | 3 +- 4 files changed, 287 insertions(+), 148 deletions(-) create mode 100644 bundle_go_deps_for_rpm.sh diff --git a/.gitignore b/.gitignore index a0c35bd..c2d3466 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ /podman-tui-0.9.0.tar.gz /podman-tui-0.9.1.tar.gz /podman-tui-0.11.0.tar.gz +/podman-tui-0.12.0.tar.gz +/vendor-0.12.0.tar.gz diff --git a/bundle_go_deps_for_rpm.sh b/bundle_go_deps_for_rpm.sh new file mode 100644 index 0000000..358556d --- /dev/null +++ b/bundle_go_deps_for_rpm.sh @@ -0,0 +1,116 @@ +#!/bin/bash + +# Description: +# This script creates an archive with vendored dependencies from a Go SPEC file. + +# License: +# MIT License +# +# Copyright (c) 2023 Robert-André Mauchin +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +# Check if the RPM SPEC file is given as an argument +if [[ $# -ne 1 ]]; then + echo "Usage: $0 " + exit 1 +fi + +RPM_SPEC_FILE=$1 + +# Extract the directory from the RPM SPEC file path +SPEC_DIR=$(dirname $(realpath "$RPM_SPEC_FILE")) + +# Extract the URL, commit, tag, and version from the RPM SPEC file +FORGEURL=$(awk '/^%global forgeurl/ {print $NF}' "$RPM_SPEC_FILE") +GOIPATH=$(awk '/^%global goipath/ {print $NF}' "$RPM_SPEC_FILE") +COMMIT=$(awk '/^%global commit/ {print $NF}' "$RPM_SPEC_FILE") +TAG=$(awk '/^%global tag/ {print $NF}' "$RPM_SPEC_FILE") +VERSION=$(awk '/^Version:/ {print $NF}' "$RPM_SPEC_FILE") + +# Decide which URL to use +if [[ -n "$FORGEURL" ]]; then + REPO_URL="$FORGEURL" +elif [[ -n "$GOIPATH" ]]; then + REPO_URL="https://$GOIPATH" +else + echo "No repository URL found in the RPM SPEC file." + exit 2 +fi + +# Create a temporary directory and clone the repository +TMP_DIR=$(mktemp -d) +trap "rm -rf $TMP_DIR" EXIT +git clone "$REPO_URL" "$TMP_DIR" +if [[ $? -ne 0 ]]; then + echo "Failed to clone repository." + exit 3 +fi + +# Change to the directory +pushd "$TMP_DIR" > /dev/null + +# Checkout based on priority: commit > tag > Version +CHECKOUT_SUCCESS=0 +if [[ -n "$COMMIT" ]]; then + CHECKOUT_IDENTIFIER="$COMMIT" + git checkout "$CHECKOUT_IDENTIFIER" && CHECKOUT_SUCCESS=1 +elif [[ -n "$TAG" ]]; then + CHECKOUT_IDENTIFIER="$TAG" + git checkout "$CHECKOUT_IDENTIFIER" && CHECKOUT_SUCCESS=1 +elif [[ -n "$VERSION" ]]; then + CHECKOUT_IDENTIFIER="$VERSION" + git checkout "$VERSION" || git checkout "v$VERSION" + if [ $? -eq 0 ]; then + CHECKOUT_SUCCESS=1 + fi +else + echo "No commit, tag, or version found in the RPM SPEC file." + exit 4 +fi + +if [ $CHECKOUT_SUCCESS -eq 0 ]; then + echo "Failed to checkout using commit, tag, or version." + exit 5 +fi + +# Run go mod vendor +go mod vendor +if [[ $? -ne 0 ]]; then + echo "Failed to run 'go mod vendor'." + exit 6s +fi + +# Create a tar.gz of the vendor directory +tar czf "vendor-$CHECKOUT_IDENTIFIER.tar.gz" vendor/ +if [[ $? -ne 0 ]]; then + echo "Failed to create tar.gz of the vendor directory." + exit 7 +fi + +# Move the tar.gz to the SPEC directory +mv "vendor-$CHECKOUT_IDENTIFIER.tar.gz" "$SPEC_DIR/" + +# Go back to the original directory +popd > /dev/null + +# Clean up +rm -rf "$TMP_DIR" + +echo "Created vendor-$CHECKOUT_IDENTIFIER.tar.gz successfully." diff --git a/podman-tui.spec b/podman-tui.spec index 219a26c..00ea9b7 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -1,20 +1,20 @@ -%global with_check 0 -%global with_debug 1 - -%if 0%{?with_debug} -%global _find_debuginfo_dwz_opts %{nil} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} +%bcond_without check +%bcond_without bundled +%if 0%{?rhel} +%bcond_without bundled %endif %if %{defined rhel} && !%{defined eln} %define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "-linkmode=external -compressdwarf=false ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**}; %endif +%if %{with bundled} +%global gomodulesmode GO111MODULE=on +%endif + +# https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 0.11.0 -%global tag v0.11.0 +Version: 0.12.0 %gometa %global goname podman-tui @@ -35,12 +35,151 @@ Requires: %{name} = %{version}-%{release} Name: %{goname} Release: %autorelease Summary: Podman Terminal User Interface + +# License for dario.cat/mergo: BSD 3-Clause License +# License for github.com/Azure/go-ansiterm: MIT License +# License for github.com/Microsoft/go-winio: MIT License +# License for github.com/Microsoft/hcsshim: MIT License +# License for github.com/VividCortex/ewma: MIT License +# License for github.com/acarl005/stripansi: MIT License +# License for github.com/asaskevich/govalidator: MIT License +# License for github.com/blang/semver/v4: MIT License +# License for github.com/chzyer/readline: MIT License +# License for github.com/container-orchestrated-devices/container-device-interface: Apache License 2.0 +# License for github.com/containerd/cgroups/v3: Apache License 2.0 +# License for github.com/containerd/containerd: Apache License 2.0 +# License for github.com/containerd/stargz-snapshotter/estargz: Apache License 2.0 +# License for github.com/containers/buildah: Apache License 2.0 +# License for github.com/containers/common: Apache License 2.0 +# License for github.com/containers/image/v5: Apache License 2.0 +# License for github.com/containers/libtrust: Apache License 2.0 +# License for github.com/containers/ocicrypt: Apache License 2.0 +# License for github.com/containers/podman/v4: Apache License 2.0 +# License for github.com/containers/psgo: Apache License 2.0 +# License for github.com/containers/storage: Apache License 2.0 +# License for github.com/coreos/go-systemd/v22: Apache License 2.0 +# License for github.com/cyberphone/json-canonicalization: Apache License 2.0 +# License for github.com/cyphar/filepath-securejoin: BSD 3-Clause License +# License for github.com/disiqueira/gotree/v3: MIT License +# License for github.com/distribution/reference: Apache License 2.0 +# License for github.com/docker/distribution: Apache License 2.0 +# License for github.com/docker/docker-credential-helpers: MIT License +# License for github.com/docker/docker: Apache License 2.0 +# License for github.com/docker/go-connections: Apache License 2.0 +# License for github.com/docker/go-units: Apache License 2.0 +# License for github.com/fsnotify/fsnotify: BSD 3-Clause License +# License for github.com/gdamore/encoding: Apache License 2.0 +# License for github.com/gdamore/tcell/v2: Apache License 2.0 +# License for github.com/go-jose/go-jose/v3: Apache License 2.0 +# License for github.com/go-jose/go-jose/v3/json: BSD 3-Clause License +# License for github.com/go-logr/logr: Apache License 2.0 +# License for github.com/go-openapi/analysis: Apache License 2.0 +# License for github.com/go-openapi/errors: Apache License 2.0 +# License for github.com/go-openapi/jsonpointer: Apache License 2.0 +# License for github.com/go-openapi/jsonreference: Apache License 2.0 +# License for github.com/go-openapi/loads: Apache License 2.0 +# License for github.com/go-openapi/runtime: Apache License 2.0 +# License for github.com/go-openapi/spec: Apache License 2.0 +# License for github.com/go-openapi/strfmt: Apache License 2.0 +# License for github.com/go-openapi/swag: Apache License 2.0 +# License for github.com/go-openapi/validate: Apache License 2.0 +# License for github.com/godbus/dbus/v5: BSD 2-Clause License +# License for github.com/gogo/protobuf: BSD 3-Clause License +# License for github.com/golang/groupcache: Apache License 2.0 +# License for github.com/golang/protobuf: BSD 3-Clause License +# License for github.com/google/go-cmp: BSD 3-Clause License +# License for github.com/google/go-containerregistry: Apache License 2.0 +# License for github.com/google/go-intervals: Apache License 2.0 +# License for github.com/google/pprof: Apache License 2.0 +# License for github.com/google/uuid: BSD 3-Clause License +# License for github.com/gorilla/mux: BSD 3-Clause License +# License for github.com/gorilla/schema: BSD 3-Clause License +# License for github.com/hashicorp/errwrap: Mozilla Public License 2.0 +# License for github.com/hashicorp/go-multierror: Mozilla Public License 2.0 +# License for github.com/hinshun/vt10x: UNKNOWN +# License for github.com/inconshreveable/mousetrap: Apache License 2.0 +# License for github.com/json-iterator/go: MIT License +# License for github.com/klauspost/compress: Apache License 2.0 and/or BSD 3-Clause License +# License for github.com/klauspost/compress/internal/snapref: BSD 3-Clause License +# License for github.com/klauspost/pgzip/GO_LICENSE: BSD 3-Clause License +# License for github.com/klauspost/pgzip: MIT License +# License for github.com/kr/fs: BSD 3-Clause License +# License for github.com/lucasb-eyer/go-colorful: MIT License +# License for github.com/mailru/easyjson: MIT License +# License for github.com/manifoldco/promptui/LICENSE.md: BSD 3-Clause License +# License for github.com/mattn/go-colorable: MIT License +# License for github.com/mattn/go-isatty: MIT License +# License for github.com/mattn/go-runewidth: MIT License +# License for github.com/mattn/go-shellwords: MIT License +# License for github.com/mattn/go-sqlite3: MIT License +# License for github.com/miekg/pkcs11: BSD 3-Clause License +# License for github.com/mistifyio/go-zfs/v3: Apache License 2.0 +# License for github.com/mitchellh/mapstructure: MIT License +# License for github.com/moby/sys/mountinfo: Apache License 2.0 +# License for github.com/moby/term: Apache License 2.0 +# License for github.com/modern-go/concurrent: Apache License 2.0 +# License for github.com/modern-go/reflect2: Apache License 2.0 +# License for github.com/navidys/tvxwidgets: MIT License +# License for github.com/nxadm/tail: MIT License +# License for github.com/oklog/ulid: Apache License 2.0 +# License for github.com/onsi/ginkgo/v2: MIT License +# License for github.com/onsi/gomega: MIT License +# License for github.com/opencontainers/go-digest: Apache License 2.0 +# License for github.com/opencontainers/image-spec: Apache License 2.0 +# License for github.com/opencontainers/runc: Apache License 2.0 +# License for github.com/opencontainers/runtime-spec: Apache License 2.0 +# License for github.com/opencontainers/runtime-tools: Apache License 2.0 +# License for github.com/opencontainers/selinux: Apache License 2.0 +# License for github.com/ostreedev/ostree-go: ISC License +# License for github.com/pkg/errors: BSD 2-Clause License +# License for github.com/pkg/sftp: BSD 2-Clause License +# License for github.com/proglottis/gpgme: BSD 3-Clause License +# License for github.com/rs/zerolog: MIT License +# License for github.com/secure-systems-lab/go-securesystemslib: MIT License +# License for github.com/sigstore/fulcio: Apache License 2.0 +# License for github.com/sigstore/rekor: Apache License 2.0 +# License for github.com/sigstore/sigstore: Apache License 2.0 +# License for github.com/sirupsen/logrus: MIT License +# License for github.com/spf13/pflag: BSD 3-Clause License +# License for github.com/stefanberger/go-pkcs11uri: Apache License 2.0 +# License for github.com/sylabs/sif/v2/LICENSE.md: BSD 3-Clause License +# License for github.com/syndtr/gocapability: BSD 2-Clause License +# License for github.com/tchap/go-patricia/v2: MIT License +# License for github.com/theupdateframework/go-tuf: BSD 3-Clause License +# License for github.com/titanous/rocacheck: MIT License +# License for github.com/ulikunitz/xz: UNKNOWN +# License for github.com/vbatts/tar-split: BSD 3-Clause License +# License for github.com/vbauerster/mpb/v8/UNLICENSE: The Unlicense +# License for go.mongodb.org/mongo-driver: Apache License 2.0 +# License for go.mozilla.org/pkcs7: MIT License +# License for go.opencensus.io: Apache License 2.0 +# License for golang.org/x/crypto: BSD 3-Clause License +# License for golang.org/x/exp: BSD 3-Clause License +# License for golang.org/x/mod: BSD 3-Clause License +# License for golang.org/x/net: BSD 3-Clause License +# License for golang.org/x/sync: BSD 3-Clause License +# License for golang.org/x/sys: BSD 3-Clause License +# License for golang.org/x/term: BSD 3-Clause License +# License for golang.org/x/text: BSD 3-Clause License +# License for golang.org/x/tools: BSD 3-Clause License +# License for google.golang.org/genproto/googleapis/rpc: Apache License 2.0 +# License for google.golang.org/grpc: Apache License 2.0 +# License for google.golang.org/protobuf: BSD 3-Clause License +# License for gopkg.in/go-jose/go-jose.v2: Apache License 2.0 +# License for gopkg.in/go-jose/go-jose.v2/json: BSD 3-Clause License +# License for gopkg.in/tomb.v1: BSD 3-Clause License +# License for gopkg.in/yaml.v2: Apache License 2.0 +# License for gopkg.in/yaml.v3: Apache License 2.0 and/or MIT License +# License for sigs.k8s.io/yaml: BSD 3-Clause License and/or MIT License + License: ASL 2.0 and BSD and ISC and MIT and MPLv2.0 URL: %{gourl} -Source0: %{gosource} +Source: %{gosource} +Source: vendor-%{version}.tar.gz +Source: bundle_go_deps_for_rpm.sh BuildRequires: gcc -BuildRequires: golang >= 1.18.2 +BuildRequires: golang BuildRequires: glib2-devel BuildRequires: glibc-devel BuildRequires: glibc-static @@ -52,155 +191,36 @@ BuildRequires: make BuildRequires: shadow-utils-subid-devel %endif -# vendored libraries -# awk '{print "Provides: bundled(golang("$1")) = "$2}' go.mod | sort | uniq | sed -e 's/-/_/g' -e '/bundled(golang())/d' -e '/bundled(golang(go\|module\|replace\|require))/d' -Provides: bundled(golang(dario.cat/mergo)) = v1.0.0 -Provides: bundled(golang(github.com/acarl005/stripansi)) = v0.0.0_20180116102854_5a71ef0e047d -Provides: bundled(golang(github.com/asaskevich/govalidator)) = v0.0.0_20230301143203_a9d515a09cc2 -Provides: bundled(golang(github.com/Azure/go_ansiterm)) = v0.0.0_20230124172434_306776ec8161 -Provides: bundled(golang(github.com/blang/semver/v4)) = v4.0.0 -Provides: bundled(golang(github.com/BurntSushi/toml)) = v1.3.2 -Provides: bundled(golang(github.com/chzyer/readline)) = v1.5.1 -Provides: bundled(golang(github.com/containerd/cgroups)) = v1.1.0 -Provides: bundled(golang(github.com/containerd/containerd)) = v1.7.2 -Provides: bundled(golang(github.com/containerd/stargz_snapshotter/estargz)) = v0.14.3 -Provides: bundled(golang(github.com/container_orchestrated_devices/container_device_interface)) = v0.5.4 -Provides: bundled(golang(github.com/containers/buildah)) = v1.31.2 -Provides: bundled(golang(github.com/containers/common)) = v0.55.3 -Provides: bundled(golang(github.com/containers/image/v5)) = v5.26.1 -Provides: bundled(golang(github.com/containers/libtrust)) = v0.0.0_20230121012942_c1716e8a8d01 -Provides: bundled(golang(github.com/containers/ocicrypt)) = v1.1.7 -Provides: bundled(golang(github.com/containers/podman/v4)) = v4.6.1 -Provides: bundled(golang(github.com/containers/psgo)) = v1.8.0 -Provides: bundled(golang(github.com/containers/storage)) = v1.48.0 -Provides: bundled(golang(github.com/coreos/go_systemd/v22)) = v22.5.0 -Provides: bundled(golang(github.com/cyberphone/json_canonicalization)) = v0.0.0_20230514072755_504adb8a8af1 -Provides: bundled(golang(github.com/cyphar/filepath_securejoin)) = v0.2.3 -Provides: bundled(golang(github.com/disiqueira/gotree/v3)) = v3.0.2 -Provides: bundled(golang(github.com/docker/distribution)) = v2.8.2+incompatible -Provides: bundled(golang(github.com/docker/docker_credential_helpers)) = v0.7.0 -Provides: bundled(golang(github.com/docker/docker)) = v24.0.5+incompatible -Provides: bundled(golang(github.com/docker/go_connections)) = v0.4.1_0.20210727194412_58542c764a11 -Provides: bundled(golang(github.com/docker/go_units)) = v0.5.0 -Provides: bundled(golang(github.com/fsnotify/fsnotify)) = v1.6.0 -Provides: bundled(golang(github.com/gdamore/encoding)) = v1.0.0 -Provides: bundled(golang(github.com/gdamore/tcell/v2)) = v2.6.0 -Provides: bundled(golang(github.com/godbus/dbus/v5)) = v5.1.1_0.20230522191255_76236955d466 -Provides: bundled(golang(github.com/gogo/protobuf)) = v1.3.2 -Provides: bundled(golang(github.com/golang/groupcache)) = v0.0.0_20210331224755_41bb18bfe9da -Provides: bundled(golang(github.com/golang/protobuf)) = v1.5.3 -Provides: bundled(golang(github.com/go_logr/logr)) = v1.2.4 -Provides: bundled(golang(github.com/google/go_cmp)) = v0.5.9 -Provides: bundled(golang(github.com/google/go_containerregistry)) = v0.15.2 -Provides: bundled(golang(github.com/google/go_intervals)) = v0.0.2 -Provides: bundled(golang(github.com/google/pprof)) = v0.0.0_20230323073829_e72429f035bd -Provides: bundled(golang(github.com/google/uuid)) = v1.3.0 -Provides: bundled(golang(github.com/go_openapi/analysis)) = v0.21.4 -Provides: bundled(golang(github.com/go_openapi/errors)) = v0.20.3 -Provides: bundled(golang(github.com/go_openapi/jsonpointer)) = v0.19.5 -Provides: bundled(golang(github.com/go_openapi/jsonreference)) = v0.20.0 -Provides: bundled(golang(github.com/go_openapi/loads)) = v0.21.2 -Provides: bundled(golang(github.com/go_openapi/runtime)) = v0.26.0 -Provides: bundled(golang(github.com/go_openapi/spec)) = v0.20.9 -Provides: bundled(golang(github.com/go_openapi/strfmt)) = v0.21.7 -Provides: bundled(golang(github.com/go_openapi/swag)) = v0.22.4 -Provides: bundled(golang(github.com/go_openapi/validate)) = v0.22.1 -Provides: bundled(golang(github.com/gorilla/mux)) = v1.8.0 -Provides: bundled(golang(github.com/gorilla/schema)) = v1.2.0 -Provides: bundled(golang(github.com/go_task/slim_sprig)) = v0.0.0_20230315185526_52ccab3ef572 -Provides: bundled(golang(github.com/hashicorp/errwrap)) = v1.1.0 -Provides: bundled(golang(github.com/hashicorp/go_multierror)) = v1.1.1 -Provides: bundled(golang(github.com/hinshun/vt10x)) = v0.0.0_20220301184237_5011da428d02 -Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = v1.1.0 -Provides: bundled(golang(github.com/jinzhu/copier)) = v0.3.5 -Provides: bundled(golang(github.com/josharian/intern)) = v1.0.0 -Provides: bundled(golang(github.com/json_iterator/go)) = v1.1.12 -Provides: bundled(golang(github.com/klauspost/compress)) = v1.16.6 -Provides: bundled(golang(github.com/klauspost/pgzip)) = v1.2.6 -Provides: bundled(golang(github.com/kr/fs)) = v0.1.0 -Provides: bundled(golang(github.com/letsencrypt/boulder)) = v0.0.0_20230213213521_fdfea0d469b6 -Provides: bundled(golang(github.com/lucasb_eyer/go_colorful)) = v1.2.0 -Provides: bundled(golang(github.com/mailru/easyjson)) = v0.7.7 -Provides: bundled(golang(github.com/manifoldco/promptui)) = v0.9.0 -Provides: bundled(golang(github.com/mattn/go_colorable)) = v0.1.13 -Provides: bundled(golang(github.com/mattn/go_isatty)) = v0.0.16 -Provides: bundled(golang(github.com/mattn/go_runewidth)) = v0.0.14 -Provides: bundled(golang(github.com/mattn/go_shellwords)) = v1.0.12 -Provides: bundled(golang(github.com/Microsoft/go_winio)) = v0.6.1 -Provides: bundled(golang(github.com/Microsoft/hcsshim)) = v0.10.0_rc.8 -Provides: bundled(golang(github.com/miekg/pkcs11)) = v1.1.1 -Provides: bundled(golang(github.com/mistifyio/go_zfs/v3)) = v3.0.1 -Provides: bundled(golang(github.com/mitchellh/mapstructure)) = v1.5.0 -Provides: bundled(golang(github.com/moby/sys/mountinfo)) = v0.6.2 -Provides: bundled(golang(github.com/moby/term)) = v0.5.0 -Provides: bundled(golang(github.com/modern_go/concurrent)) = v0.0.0_20180306012644_bacd9c7ef1dd -Provides: bundled(golang(github.com/modern_go/reflect2)) = v1.0.2 -Provides: bundled(golang(github.com/navidys/tvxwidgets)) = v0.3.0 -Provides: bundled(golang(github.com/nxadm/tail)) = v1.4.8 -Provides: bundled(golang(github.com/oklog/ulid)) = v1.3.1 -Provides: bundled(golang(github.com/onsi/ginkgo/v2)) = v2.11.0 -Provides: bundled(golang(github.com/onsi/gomega)) = v1.27.8 -Provides: bundled(golang(github.com/opencontainers/go_digest)) = v1.0.0 -Provides: bundled(golang(github.com/opencontainers/image_spec)) = v1.1.0_rc3 -Provides: bundled(golang(github.com/opencontainers/runc)) = v1.1.7 -Provides: bundled(golang(github.com/opencontainers/runtime_spec)) = v1.1.0_rc.3 -Provides: bundled(golang(github.com/opencontainers/runtime_tools)) = v0.9.1_0.20230317050512_e931285f4b69 -Provides: bundled(golang(github.com/opencontainers/selinux)) = v1.11.0 -Provides: bundled(golang(github.com/ostreedev/ostree_go)) = v0.0.0_20210805093236_719684c64e4f -Provides: bundled(golang(github.com/pkg/errors)) = v0.9.1 -Provides: bundled(golang(github.com/pkg/sftp)) = v1.13.5 -Provides: bundled(golang(github.com/proglottis/gpgme)) = v0.1.3 -Provides: bundled(golang(github.com/rivo/tview)) = v0.0.0_20220307222120_9994674d60a8 -Provides: bundled(golang(github.com/rivo/uniseg)) = v0.4.4 -Provides: bundled(golang(github.com/rs/zerolog)) = v1.30.0 -Provides: bundled(golang(github.com/sigstore/fulcio)) = v1.3.1 -Provides: bundled(golang(github.com/sigstore/rekor)) = v1.2.2_0.20230601122533_4c81ff246d12 -Provides: bundled(golang(github.com/sigstore/sigstore)) = v1.7.1 -Provides: bundled(golang(github.com/sirupsen/logrus)) = v1.9.3 -Provides: bundled(golang(github.com/spf13/cobra)) = v1.7.0 -Provides: bundled(golang(github.com/spf13/pflag)) = v1.0.5 -Provides: bundled(golang(github.com/stefanberger/go_pkcs11uri)) = v0.0.0_20201008174630_78d3cae3a980 -Provides: bundled(golang(github.com/sylabs/sif/v2)) = v2.11.5 -Provides: bundled(golang(github.com/syndtr/gocapability)) = v0.0.0_20200815063812_42c35b437635 -Provides: bundled(golang(github.com/tchap/go_patricia/v2)) = v2.3.1 -Provides: bundled(golang(github.com/theupdateframework/go_tuf)) = v0.5.2 -Provides: bundled(golang(github.com/titanous/rocacheck)) = v0.0.0_20171023193734_afe73141d399 -Provides: bundled(golang(github.com/ulikunitz/xz)) = v0.5.11 -Provides: bundled(golang(github.com/vbatts/tar_split)) = v0.11.3 -Provides: bundled(golang(github.com/vbauerster/mpb/v8)) = v8.4.0 -Provides: bundled(golang(github.com/VividCortex/ewma)) = v1.2.0 -Provides: bundled(golang(sigs.k8s.io/yaml)) = v1.3.0 - %description %{common_description} %prep -%goprep +%goprep %{?with_bundledc:-k} +%if %{with bundled} +%setup -q -T -D -a 1 -n %{name}-%{version} +%endif +%autopatch -p1 -mkdir _depbundle -pushd _depbundle -/usr/bin/gzip -dc %{SOURCE0} | /usr/bin/tar -xof - -/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . -%{__install} -m 0755 -vd %{gobuilddir}/src/ -# copy required bundled libraries -%{__cp} -rp %{goname}-%{version}/vendor/* %{gobuilddir}/src/ -popd -%{_bindir}/rm -rf _depbundle +%if %{without bundled} +%generate_buildrequires +%go_generate_buildrequires +%endif %build -export BUILDTAGS="exclude_graphdriver_devicemapper exclude_graphdriver_btrfs btrfs_noversion containers_image_openpgp remote" -export GO111MODULE=off -export GOPATH=$GOPATH:%{gobuilddir}:%{gobuilddir}/_build +%if %{with bundled} +export GOFLAGS="-mod=vendor" +%endif -%gobuild -o %{gobuilddir}/bin/%{goname} %{goipath}/ +export BUILDTAGS="exclude_graphdriver_devicemapper exclude_graphdriver_btrfs btrfs_noversion containers_image_openpgp remote" + +%gobuild -o %{gobuilddir}/bin/%{goname} %{goipath} %install %{__install} -m 0755 -vd %{buildroot}%{_bindir} %{__install} -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ -%if 0%{?with_check} +%if %{with check} %check -%gocheck %endif %files diff --git a/sources b/sources index 205fb15..dede215 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (podman-tui-0.11.0.tar.gz) = 1b5ce216829a0f2ef345920ea908a5f721ee704bf3c7efe121e42c413edb84fb247eb32964fcd7928c734df93efd85a3c1fb5a92b0e6f3c1de3b4906fbc77fe2 +SHA512 (podman-tui-0.12.0.tar.gz) = 753932fef58746c80752c142aae17ef61b4632af51f8d9bd5aee29246ffc8179f98f4e38c7607a82efd25d0b809e9065a5b537b1a3a823eabae23a87b5b6dd74 +SHA512 (vendor-0.12.0.tar.gz) = e6a139a21437b46ba51757ff3d5fdccc70282def47a1b449f3fe046a2ab82759c8d6328ce0b065d494d10bb58b7fa22936edfecd7045c5554ca034ba50c49f68 From 794099ae19941d1d5046448b271eca9ec3262639 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sun, 4 Feb 2024 17:06:05 +1100 Subject: [PATCH 03/15] release v0.17.0 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 2 +- sources | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 672d37b..4ef526d 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ /vendor-0.15.0.tar.gz /podman-tui-0.16.0.tar.gz /vendor-0.16.0.tar.gz +/podman-tui-0.17.0.tar.gz +/vendor-0.17.0.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index 22d6924..af239ed 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 0.16.0 +Version: 0.17.0 %gometa %global goname podman-tui diff --git a/sources b/sources index 71c6004..be732a9 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-0.16.0.tar.gz) = fc6931720d1f28ac85fb52ca55b290fbcc03240aa5f4e34da08b85e5ed3e358ca8de5618ff4f1cee0a3637075ea1ba24f068fb092976b24a09efbc29e56e0b7b -SHA512 (vendor-0.16.0.tar.gz) = 9bb4c2a038782dcb987783bf98613393f9922821fa5d4e588073fa768e25337c1f8c9debd1c007b811d6485c4314f2369d52a9ad3fffa3acf11b67c813e630dd +SHA512 (podman-tui-0.17.0.tar.gz) = 137740737e4fe5138198923fb5db6dc6ca901ed7739af09c19bcb0a60fdfe0db79d7c2ac83157675ec478ab8e9dc9b1348cd8aa9f0e5298f8d20ff6cf0284afc +SHA512 (vendor-0.17.0.tar.gz) = 1d3cf595464f57f8e14305ff6c2369aa8499efe51ff832ca6fd77da43613e84551144662e4e4b042a551dd33d4938151fd84f21edff292bacd84c71339c1d9cc From 30c74039c593ad92bc5946f5183b683ef2eea4b6 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sat, 16 Mar 2024 21:37:00 +1100 Subject: [PATCH 04/15] release v0.18.0 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 2 +- sources | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4ef526d..6018775 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ /vendor-0.16.0.tar.gz /podman-tui-0.17.0.tar.gz /vendor-0.17.0.tar.gz +/podman-tui-0.18.0.tar.gz +/vendor-0.18.0.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index af239ed..6f0e843 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 0.17.0 +Version: 0.18.0 %gometa %global goname podman-tui diff --git a/sources b/sources index be732a9..aad3151 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-0.17.0.tar.gz) = 137740737e4fe5138198923fb5db6dc6ca901ed7739af09c19bcb0a60fdfe0db79d7c2ac83157675ec478ab8e9dc9b1348cd8aa9f0e5298f8d20ff6cf0284afc -SHA512 (vendor-0.17.0.tar.gz) = 1d3cf595464f57f8e14305ff6c2369aa8499efe51ff832ca6fd77da43613e84551144662e4e4b042a551dd33d4938151fd84f21edff292bacd84c71339c1d9cc +SHA512 (podman-tui-0.18.0.tar.gz) = 77107a9e64b12fd5065698b7065909d5aa45ca49d749056cfb0f76aa2fd0f269708d3d75ecb4cab7939c30571510cdacebcdaac67549979873e3656e1af4db9f +SHA512 (vendor-0.18.0.tar.gz) = a62a667bd8937c2717379a5890e2b90b5793dffae7d0e5be54b291c125bd0a09a257e3901f6cabc2c40586a7671468480c93d7fefd84acc28e4558b45d0c9f26 From a7d9f155dc40d31d3a3eb0c8dffc099ac2020d45 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Thu, 21 Mar 2024 20:24:52 +1100 Subject: [PATCH 05/15] release v1.0.0 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 + podman-tui.spec | 138 +----------------------------------------------- sources | 4 +- 3 files changed, 5 insertions(+), 139 deletions(-) diff --git a/.gitignore b/.gitignore index 6018775..227b9e3 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ /vendor-0.17.0.tar.gz /podman-tui-0.18.0.tar.gz /vendor-0.18.0.tar.gz +/podman-tui-1.0.0.tar.gz +/vendor-1.0.0.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index 6f0e843..c1c1dd1 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 0.18.0 +Version: 1.0.0 %gometa %global goname podman-tui @@ -36,142 +36,6 @@ Name: %{goname} Release: %autorelease Summary: Podman Terminal User Interface -# License for dario.cat/mergo: BSD 3-Clause License -# License for github.com/Azure/go-ansiterm: MIT License -# License for github.com/Microsoft/go-winio: MIT License -# License for github.com/Microsoft/hcsshim: MIT License -# License for github.com/VividCortex/ewma: MIT License -# License for github.com/acarl005/stripansi: MIT License -# License for github.com/asaskevich/govalidator: MIT License -# License for github.com/blang/semver/v4: MIT License -# License for github.com/chzyer/readline: MIT License -# License for github.com/container-orchestrated-devices/container-device-interface: Apache License 2.0 -# License for github.com/containerd/cgroups/v3: Apache License 2.0 -# License for github.com/containerd/containerd: Apache License 2.0 -# License for github.com/containerd/stargz-snapshotter/estargz: Apache License 2.0 -# License for github.com/containers/buildah: Apache License 2.0 -# License for github.com/containers/common: Apache License 2.0 -# License for github.com/containers/image/v5: Apache License 2.0 -# License for github.com/containers/libtrust: Apache License 2.0 -# License for github.com/containers/ocicrypt: Apache License 2.0 -# License for github.com/containers/podman/v4: Apache License 2.0 -# License for github.com/containers/psgo: Apache License 2.0 -# License for github.com/containers/storage: Apache License 2.0 -# License for github.com/coreos/go-systemd/v22: Apache License 2.0 -# License for github.com/cyberphone/json-canonicalization: Apache License 2.0 -# License for github.com/cyphar/filepath-securejoin: BSD 3-Clause License -# License for github.com/disiqueira/gotree/v3: MIT License -# License for github.com/distribution/reference: Apache License 2.0 -# License for github.com/docker/distribution: Apache License 2.0 -# License for github.com/docker/docker-credential-helpers: MIT License -# License for github.com/docker/docker: Apache License 2.0 -# License for github.com/docker/go-connections: Apache License 2.0 -# License for github.com/docker/go-units: Apache License 2.0 -# License for github.com/fsnotify/fsnotify: BSD 3-Clause License -# License for github.com/gdamore/encoding: Apache License 2.0 -# License for github.com/gdamore/tcell/v2: Apache License 2.0 -# License for github.com/go-jose/go-jose/v3: Apache License 2.0 -# License for github.com/go-jose/go-jose/v3/json: BSD 3-Clause License -# License for github.com/go-logr/logr: Apache License 2.0 -# License for github.com/go-openapi/analysis: Apache License 2.0 -# License for github.com/go-openapi/errors: Apache License 2.0 -# License for github.com/go-openapi/jsonpointer: Apache License 2.0 -# License for github.com/go-openapi/jsonreference: Apache License 2.0 -# License for github.com/go-openapi/loads: Apache License 2.0 -# License for github.com/go-openapi/runtime: Apache License 2.0 -# License for github.com/go-openapi/spec: Apache License 2.0 -# License for github.com/go-openapi/strfmt: Apache License 2.0 -# License for github.com/go-openapi/swag: Apache License 2.0 -# License for github.com/go-openapi/validate: Apache License 2.0 -# License for github.com/godbus/dbus/v5: BSD 2-Clause License -# License for github.com/gogo/protobuf: BSD 3-Clause License -# License for github.com/golang/groupcache: Apache License 2.0 -# License for github.com/golang/protobuf: BSD 3-Clause License -# License for github.com/google/go-cmp: BSD 3-Clause License -# License for github.com/google/go-containerregistry: Apache License 2.0 -# License for github.com/google/go-intervals: Apache License 2.0 -# License for github.com/google/pprof: Apache License 2.0 -# License for github.com/google/uuid: BSD 3-Clause License -# License for github.com/gorilla/mux: BSD 3-Clause License -# License for github.com/gorilla/schema: BSD 3-Clause License -# License for github.com/hashicorp/errwrap: Mozilla Public License 2.0 -# License for github.com/hashicorp/go-multierror: Mozilla Public License 2.0 -# License for github.com/hinshun/vt10x: UNKNOWN -# License for github.com/inconshreveable/mousetrap: Apache License 2.0 -# License for github.com/json-iterator/go: MIT License -# License for github.com/klauspost/compress: Apache License 2.0 and/or BSD 3-Clause License -# License for github.com/klauspost/compress/internal/snapref: BSD 3-Clause License -# License for github.com/klauspost/pgzip/GO_LICENSE: BSD 3-Clause License -# License for github.com/klauspost/pgzip: MIT License -# License for github.com/kr/fs: BSD 3-Clause License -# License for github.com/lucasb-eyer/go-colorful: MIT License -# License for github.com/mailru/easyjson: MIT License -# License for github.com/manifoldco/promptui/LICENSE.md: BSD 3-Clause License -# License for github.com/mattn/go-colorable: MIT License -# License for github.com/mattn/go-isatty: MIT License -# License for github.com/mattn/go-runewidth: MIT License -# License for github.com/mattn/go-shellwords: MIT License -# License for github.com/mattn/go-sqlite3: MIT License -# License for github.com/miekg/pkcs11: BSD 3-Clause License -# License for github.com/mistifyio/go-zfs/v3: Apache License 2.0 -# License for github.com/mitchellh/mapstructure: MIT License -# License for github.com/moby/sys/mountinfo: Apache License 2.0 -# License for github.com/moby/term: Apache License 2.0 -# License for github.com/modern-go/concurrent: Apache License 2.0 -# License for github.com/modern-go/reflect2: Apache License 2.0 -# License for github.com/navidys/tvxwidgets: MIT License -# License for github.com/nxadm/tail: MIT License -# License for github.com/oklog/ulid: Apache License 2.0 -# License for github.com/onsi/ginkgo/v2: MIT License -# License for github.com/onsi/gomega: MIT License -# License for github.com/opencontainers/go-digest: Apache License 2.0 -# License for github.com/opencontainers/image-spec: Apache License 2.0 -# License for github.com/opencontainers/runc: Apache License 2.0 -# License for github.com/opencontainers/runtime-spec: Apache License 2.0 -# License for github.com/opencontainers/runtime-tools: Apache License 2.0 -# License for github.com/opencontainers/selinux: Apache License 2.0 -# License for github.com/ostreedev/ostree-go: ISC License -# License for github.com/pkg/errors: BSD 2-Clause License -# License for github.com/pkg/sftp: BSD 2-Clause License -# License for github.com/proglottis/gpgme: BSD 3-Clause License -# License for github.com/rs/zerolog: MIT License -# License for github.com/secure-systems-lab/go-securesystemslib: MIT License -# License for github.com/sigstore/fulcio: Apache License 2.0 -# License for github.com/sigstore/rekor: Apache License 2.0 -# License for github.com/sigstore/sigstore: Apache License 2.0 -# License for github.com/sirupsen/logrus: MIT License -# License for github.com/spf13/pflag: BSD 3-Clause License -# License for github.com/stefanberger/go-pkcs11uri: Apache License 2.0 -# License for github.com/sylabs/sif/v2/LICENSE.md: BSD 3-Clause License -# License for github.com/syndtr/gocapability: BSD 2-Clause License -# License for github.com/tchap/go-patricia/v2: MIT License -# License for github.com/theupdateframework/go-tuf: BSD 3-Clause License -# License for github.com/titanous/rocacheck: MIT License -# License for github.com/ulikunitz/xz: UNKNOWN -# License for github.com/vbatts/tar-split: BSD 3-Clause License -# License for github.com/vbauerster/mpb/v8/UNLICENSE: The Unlicense -# License for go.mongodb.org/mongo-driver: Apache License 2.0 -# License for go.mozilla.org/pkcs7: MIT License -# License for go.opencensus.io: Apache License 2.0 -# License for golang.org/x/crypto: BSD 3-Clause License -# License for golang.org/x/exp: BSD 3-Clause License -# License for golang.org/x/mod: BSD 3-Clause License -# License for golang.org/x/net: BSD 3-Clause License -# License for golang.org/x/sync: BSD 3-Clause License -# License for golang.org/x/sys: BSD 3-Clause License -# License for golang.org/x/term: BSD 3-Clause License -# License for golang.org/x/text: BSD 3-Clause License -# License for golang.org/x/tools: BSD 3-Clause License -# License for google.golang.org/genproto/googleapis/rpc: Apache License 2.0 -# License for google.golang.org/grpc: Apache License 2.0 -# License for google.golang.org/protobuf: BSD 3-Clause License -# License for gopkg.in/go-jose/go-jose.v2: Apache License 2.0 -# License for gopkg.in/go-jose/go-jose.v2/json: BSD 3-Clause License -# License for gopkg.in/tomb.v1: BSD 3-Clause License -# License for gopkg.in/yaml.v2: Apache License 2.0 -# License for gopkg.in/yaml.v3: Apache License 2.0 and/or MIT License -# License for sigs.k8s.io/yaml: BSD 3-Clause License and/or MIT License - License: ASL 2.0 and BSD and ISC and MIT and MPLv2.0 URL: %{gourl} Source: %{gosource} diff --git a/sources b/sources index aad3151..997eefd 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-0.18.0.tar.gz) = 77107a9e64b12fd5065698b7065909d5aa45ca49d749056cfb0f76aa2fd0f269708d3d75ecb4cab7939c30571510cdacebcdaac67549979873e3656e1af4db9f -SHA512 (vendor-0.18.0.tar.gz) = a62a667bd8937c2717379a5890e2b90b5793dffae7d0e5be54b291c125bd0a09a257e3901f6cabc2c40586a7671468480c93d7fefd84acc28e4558b45d0c9f26 +SHA512 (podman-tui-1.0.0.tar.gz) = 918b3efb823a543a439ae0f56c59ee2689961ac6e39a40054a7971ddf02056ca50c7c681ca03c45590e9fdfce1822f406bbf90f9b25563a0ef9ae75b88235a8c +SHA512 (vendor-1.0.0.tar.gz) = 40898abdf3452fe486ef5333e0d02bac54b81d98eeb283fd89655612e79d2507bb5991a8e49e9e4f5cedcfe24ac2a45a2c19d4d6233606bcda7195dc0d98ff37 From 9f9e9020703737a34410289c11fbf2d00c4680c4 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sat, 11 May 2024 21:56:35 +1000 Subject: [PATCH 06/15] release v1.0.1 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 2 +- sources | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 227b9e3..99ddd92 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,5 @@ /vendor-0.18.0.tar.gz /podman-tui-1.0.0.tar.gz /vendor-1.0.0.tar.gz +/podman-tui-1.0.1.tar.gz +/vendor-1.0.1.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index c1c1dd1..e8851dc 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 1.0.0 +Version: 1.0.1 %gometa %global goname podman-tui diff --git a/sources b/sources index 997eefd..59e1172 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-1.0.0.tar.gz) = 918b3efb823a543a439ae0f56c59ee2689961ac6e39a40054a7971ddf02056ca50c7c681ca03c45590e9fdfce1822f406bbf90f9b25563a0ef9ae75b88235a8c -SHA512 (vendor-1.0.0.tar.gz) = 40898abdf3452fe486ef5333e0d02bac54b81d98eeb283fd89655612e79d2507bb5991a8e49e9e4f5cedcfe24ac2a45a2c19d4d6233606bcda7195dc0d98ff37 +SHA512 (podman-tui-1.0.1.tar.gz) = 3c5ff5a77e885a0518a16e8d7fd0581a80b16650b546d2c736c50503c250797be1b8cb1a2da68ee1eed5a7a1dcdbcfa8344f37d0c6724c341470d05446a0591e +SHA512 (vendor-1.0.1.tar.gz) = 3c817bf12dc670ed03f89ee2a1a12d56ccc744a15e019408e02a6ed8257f418358f47b16a57be5ae3561334091651661ca41657aba5173ec6909d5bc4654a47e From ed608e5fb32c8a6d9a0650958bb1d636a59acc5a Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sun, 2 Jun 2024 18:29:25 +1000 Subject: [PATCH 07/15] release v1.1.0 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 4 ++-- sources | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 99ddd92..87f5cbe 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,5 @@ /vendor-1.0.0.tar.gz /podman-tui-1.0.1.tar.gz /vendor-1.0.1.tar.gz +/podman-tui-1.1.0.tar.gz +/vendor-1.1.0.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index e8851dc..79bd319 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,13 +14,13 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 1.0.1 +Version: 1.1.0 %gometa %global goname podman-tui %global common_description %{expand: -%{goname} is a terminal user interface for Podman v4. +%{goname} is a terminal user interface for Podman v4 and v5. %{goname} is using podman.socket service to communicate with podman environment and SSH to connect to remote podman machines. } diff --git a/sources b/sources index 59e1172..de0c426 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-1.0.1.tar.gz) = 3c5ff5a77e885a0518a16e8d7fd0581a80b16650b546d2c736c50503c250797be1b8cb1a2da68ee1eed5a7a1dcdbcfa8344f37d0c6724c341470d05446a0591e -SHA512 (vendor-1.0.1.tar.gz) = 3c817bf12dc670ed03f89ee2a1a12d56ccc744a15e019408e02a6ed8257f418358f47b16a57be5ae3561334091651661ca41657aba5173ec6909d5bc4654a47e +SHA512 (podman-tui-1.1.0.tar.gz) = d8e4710f489ac124ad11930c5051d9fc279166316bb85d952847e6a924f70b5cc64487f8c161878a21e8f88784c47c2f9f36b5b332c0736f48f3dd0ada92584a +SHA512 (vendor-1.1.0.tar.gz) = 9341f3cbe543c6bf724f79743cf9bf35988e40c4ea9f7b1ce055486df0b3d76f07577611dca3215200ed9a87f7284f186a583556e79c5f0bb26609fef78c5881 From 1d4c97d32a159794f254ac4a3e51f5581e1f6975 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sat, 3 Aug 2024 17:31:01 +1000 Subject: [PATCH 08/15] release v1.2.0 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 9 ++++++--- sources | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 87f5cbe..f7f9872 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ /vendor-1.0.1.tar.gz /podman-tui-1.1.0.tar.gz /vendor-1.1.0.tar.gz +/podman-tui-1.2.0.tar.gz +/vendor-1.2.0.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index 79bd319..aa840a9 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -4,8 +4,8 @@ %bcond_without bundled %endif -%if %{defined rhel} && !%{defined eln} -%define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "-linkmode=external -compressdwarf=false ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**}; +%if %{defined rhel} && 0%{?rhel} < 10 +%define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "-linkmode=external -compressdwarf=false ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**}; %endif %if %{with bundled} @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 1.1.0 +Version: 1.2.0 %gometa %global goname podman-tui @@ -76,6 +76,9 @@ export GOFLAGS="-mod=vendor" %endif export BUILDTAGS="exclude_graphdriver_devicemapper exclude_graphdriver_btrfs btrfs_noversion containers_image_openpgp remote" +%if 0%{?rhel} +export BUILDTAGS="$BUILDTAGS libtrust_openssl" +%endif %gobuild -o %{gobuilddir}/bin/%{goname} %{goipath} diff --git a/sources b/sources index de0c426..7e2159d 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-1.1.0.tar.gz) = d8e4710f489ac124ad11930c5051d9fc279166316bb85d952847e6a924f70b5cc64487f8c161878a21e8f88784c47c2f9f36b5b332c0736f48f3dd0ada92584a -SHA512 (vendor-1.1.0.tar.gz) = 9341f3cbe543c6bf724f79743cf9bf35988e40c4ea9f7b1ce055486df0b3d76f07577611dca3215200ed9a87f7284f186a583556e79c5f0bb26609fef78c5881 +SHA512 (podman-tui-1.2.0.tar.gz) = 54675aa83225df1f1964f68786f84bc039658b229e1902d7c0302d202b0011a396bf2028ac021ffd7f0bcad16f7d51d9b55b3d930b1b88907be6ff66bf3f8654 +SHA512 (vendor-1.2.0.tar.gz) = 34d9615d9f26292767feaa410bf195f35697a9ba161925141179dce0807d3733e6ddedab7762694469a228edffe9abef84358d486b8a70e0b1e59d1f630cd6fd From c663187693bc277e790accfe2f07d38b900561b6 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sat, 24 Aug 2024 10:02:13 +1000 Subject: [PATCH 09/15] release v1.2.1 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 2 +- sources | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f7f9872..e5f9475 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,5 @@ /vendor-1.1.0.tar.gz /podman-tui-1.2.0.tar.gz /vendor-1.2.0.tar.gz +/podman-tui-1.2.1.tar.gz +/vendor-1.2.1.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index aa840a9..148d4a4 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 1.2.0 +Version: 1.2.1 %gometa %global goname podman-tui diff --git a/sources b/sources index 7e2159d..db08617 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-1.2.0.tar.gz) = 54675aa83225df1f1964f68786f84bc039658b229e1902d7c0302d202b0011a396bf2028ac021ffd7f0bcad16f7d51d9b55b3d930b1b88907be6ff66bf3f8654 -SHA512 (vendor-1.2.0.tar.gz) = 34d9615d9f26292767feaa410bf195f35697a9ba161925141179dce0807d3733e6ddedab7762694469a228edffe9abef84358d486b8a70e0b1e59d1f630cd6fd +SHA512 (podman-tui-1.2.1.tar.gz) = 01014fb37b217b8ac99ea849d79417dcafd77f31ffce829ab536caac06b125612b2cbf750c719215f24551a007081df3af4056bd860ec96c42463c1b5e14ead7 +SHA512 (vendor-1.2.1.tar.gz) = 91fc17eae760d87f88493792aa93bebe7ecbc708e62edd040e5db65cce37538aa22671ba5e463efe4ad262341c408eff6075f68405d3de6a9b9030a566811e91 From 7be9ecbcbe964fec3c70ab64f850cbf5dc8ca803 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Fri, 27 Sep 2024 20:34:00 +1000 Subject: [PATCH 10/15] release v1.2.2 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 4 ++-- sources | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e5f9475..c2dc9af 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,5 @@ /vendor-1.2.0.tar.gz /podman-tui-1.2.1.tar.gz /vendor-1.2.1.tar.gz +/podman-tui-1.2.2.tar.gz +/vendor-1.2.2.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index 148d4a4..152ad95 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 1.2.1 +Version: 1.2.2 %gometa %global goname podman-tui @@ -36,7 +36,7 @@ Name: %{goname} Release: %autorelease Summary: Podman Terminal User Interface -License: ASL 2.0 and BSD and ISC and MIT and MPLv2.0 +License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 URL: %{gourl} Source: %{gosource} Source: vendor-%{version}.tar.gz diff --git a/sources b/sources index db08617..5104b4c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-1.2.1.tar.gz) = 01014fb37b217b8ac99ea849d79417dcafd77f31ffce829ab536caac06b125612b2cbf750c719215f24551a007081df3af4056bd860ec96c42463c1b5e14ead7 -SHA512 (vendor-1.2.1.tar.gz) = 91fc17eae760d87f88493792aa93bebe7ecbc708e62edd040e5db65cce37538aa22671ba5e463efe4ad262341c408eff6075f68405d3de6a9b9030a566811e91 +SHA512 (podman-tui-1.2.2.tar.gz) = dbe8d32511a93ab1fa40ea1120d7e43dfac36d2f671ee63194265e27525449c6ebd5fcb48c1afd6cd2e89cc501cd8026d981624235bbb0ab0db06e2fe6a24045 +SHA512 (vendor-1.2.2.tar.gz) = 06a58174af6a38eeff02558bbe035e50bb73452604103d5574a39f04ff55d0ad1ebb9522022c278baba2c28a1237c88104e84a2334b41620be17a73cc07af2af From 838c6a53e6aae189e011a910f60324bfd5376f9a Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sat, 19 Oct 2024 12:33:41 +1100 Subject: [PATCH 11/15] release v1.2.3 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 2 +- sources | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c2dc9af..322fb65 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,5 @@ /vendor-1.2.1.tar.gz /podman-tui-1.2.2.tar.gz /vendor-1.2.2.tar.gz +/podman-tui-1.2.3.tar.gz +/vendor-1.2.3.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index 152ad95..f2394de 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 1.2.2 +Version: 1.2.3 %gometa %global goname podman-tui diff --git a/sources b/sources index 5104b4c..eeede3d 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-1.2.2.tar.gz) = dbe8d32511a93ab1fa40ea1120d7e43dfac36d2f671ee63194265e27525449c6ebd5fcb48c1afd6cd2e89cc501cd8026d981624235bbb0ab0db06e2fe6a24045 -SHA512 (vendor-1.2.2.tar.gz) = 06a58174af6a38eeff02558bbe035e50bb73452604103d5574a39f04ff55d0ad1ebb9522022c278baba2c28a1237c88104e84a2334b41620be17a73cc07af2af +SHA512 (podman-tui-1.2.3.tar.gz) = a514eb7aba0b08bbfd01b23a427930e90c71ca1f31dc174ed738d8155d3c06b51b8f91c94a438761b248ecf6295e6cb9fc0dcbdda92b1a458cfe4debf5356ad9 +SHA512 (vendor-1.2.3.tar.gz) = 97d72a6ac305e91328088272bfb23f3f5d4a57ac6853fc1cfce7f7ca002866149e3e66c3fc72f95219b36f623e27e478d15ea5c7e190c7da1f779b366b38b36e From 3933f51e59415462991814f6222798560a42f396 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sun, 1 Dec 2024 18:21:09 +1100 Subject: [PATCH 12/15] release v1.3.0 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 8 +++++++- sources | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 322fb65..62ba6a7 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,5 @@ /vendor-1.2.2.tar.gz /podman-tui-1.2.3.tar.gz /vendor-1.2.3.tar.gz +/podman-tui-1.3.0.tar.gz +/vendor-1.3.0.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index f2394de..cee63c9 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 1.2.3 +Version: 1.3.0 %gometa %global goname podman-tui @@ -63,7 +63,13 @@ BuildRequires: shadow-utils-subid-devel %if %{with bundled} %setup -q -T -D -a 1 -n %{name}-%{version} %endif +%if 0%{?rhel} %autopatch -p1 +%endif + +%if 0%{?fedora} +%autopatch -p1 -q +%endif %if %{without bundled} %generate_buildrequires diff --git a/sources b/sources index eeede3d..59b32f7 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-1.2.3.tar.gz) = a514eb7aba0b08bbfd01b23a427930e90c71ca1f31dc174ed738d8155d3c06b51b8f91c94a438761b248ecf6295e6cb9fc0dcbdda92b1a458cfe4debf5356ad9 -SHA512 (vendor-1.2.3.tar.gz) = 97d72a6ac305e91328088272bfb23f3f5d4a57ac6853fc1cfce7f7ca002866149e3e66c3fc72f95219b36f623e27e478d15ea5c7e190c7da1f779b366b38b36e +SHA512 (podman-tui-1.3.0.tar.gz) = fc824b44691b3dc7ff866110849fa628b748d5e23315c31e2db3871162778f9e3458e1d93e526e1b2866585406d21ba3229a83ea70b8f56b7e72d73b1265e710 +SHA512 (vendor-1.3.0.tar.gz) = 086e6d76e6e039932835724b6dd9c49c47356a48ff8fbeaaa81d0e8144881b7bf22e8ca22246b831c243ab56c696436658cca8c574464c39a2dcad9eb0cc9a53 From 88fb68bd1f364f0ededbb69e08afd3313c1ef5f1 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Mon, 2 Dec 2024 20:40:18 +1100 Subject: [PATCH 13/15] fix build isse Signed-off-by: Navid Yaghoobi --- podman-tui.spec | 7 ------- sources | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/podman-tui.spec b/podman-tui.spec index cee63c9..a43751b 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -63,13 +63,6 @@ BuildRequires: shadow-utils-subid-devel %if %{with bundled} %setup -q -T -D -a 1 -n %{name}-%{version} %endif -%if 0%{?rhel} -%autopatch -p1 -%endif - -%if 0%{?fedora} -%autopatch -p1 -q -%endif %if %{without bundled} %generate_buildrequires diff --git a/sources b/sources index 59b32f7..d0b080b 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (podman-tui-1.3.0.tar.gz) = fc824b44691b3dc7ff866110849fa628b748d5e23315c31e2db3871162778f9e3458e1d93e526e1b2866585406d21ba3229a83ea70b8f56b7e72d73b1265e710 -SHA512 (vendor-1.3.0.tar.gz) = 086e6d76e6e039932835724b6dd9c49c47356a48ff8fbeaaa81d0e8144881b7bf22e8ca22246b831c243ab56c696436658cca8c574464c39a2dcad9eb0cc9a53 +SHA512 (vendor-1.3.0.tar.gz) = 4050afb738cca49b352ae1f2842c63f54aba79672bdc8f49daac0588acbcb1767b1f59b111266738efec2fe815dd3bba482c56a969fb78e4d4a2f753f91e698a From bd5d87e9d9d84fe41d49766fb2ebd5eec00209a8 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sun, 26 Jan 2025 21:33:41 +1100 Subject: [PATCH 14/15] release v1.3.1 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 2 +- sources | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 62ba6a7..b74ff3b 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,5 @@ /vendor-1.2.3.tar.gz /podman-tui-1.3.0.tar.gz /vendor-1.3.0.tar.gz +/podman-tui-1.3.1.tar.gz +/vendor-1.3.1.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index a43751b..de3d900 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 1.3.0 +Version: 1.3.1 %gometa %global goname podman-tui diff --git a/sources b/sources index d0b080b..390d774 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-1.3.0.tar.gz) = fc824b44691b3dc7ff866110849fa628b748d5e23315c31e2db3871162778f9e3458e1d93e526e1b2866585406d21ba3229a83ea70b8f56b7e72d73b1265e710 -SHA512 (vendor-1.3.0.tar.gz) = 4050afb738cca49b352ae1f2842c63f54aba79672bdc8f49daac0588acbcb1767b1f59b111266738efec2fe815dd3bba482c56a969fb78e4d4a2f753f91e698a +SHA512 (podman-tui-1.3.1.tar.gz) = 7187ee089e675471d838f7c6ce9c85510b6f34869d1bde12ccbb4660aa703d1493b5c63beb869a6a771eaf2183a3af852c5275dc43f420b844abab8e76614333 +SHA512 (vendor-1.3.1.tar.gz) = 30a43ae439d87e527a926f00646df9ed87eebac8c5288933219d03d8d6f6db2284c2805b5b221d64cf64dafd897e533f18a1d29a677ecb2356c92feb1e60ae6a From 17ff6fa58644bac6dd477b7cf2eb7ea740668b15 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Sat, 1 Mar 2025 17:50:52 +1100 Subject: [PATCH 15/15] release v1.4.0 Signed-off-by: Navid Yaghoobi --- .gitignore | 2 ++ podman-tui.spec | 2 +- sources | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b74ff3b..4573707 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,5 @@ /vendor-1.3.0.tar.gz /podman-tui-1.3.1.tar.gz /vendor-1.3.1.tar.gz +/podman-tui-1.4.0.tar.gz +/vendor-1.4.0.tar.gz diff --git a/podman-tui.spec b/podman-tui.spec index de3d900..312bd4a 100644 --- a/podman-tui.spec +++ b/podman-tui.spec @@ -14,7 +14,7 @@ # https://github.com/containers/podman-tui %global goipath github.com/containers/podman-tui -Version: 1.3.1 +Version: 1.4.0 %gometa %global goname podman-tui diff --git a/sources b/sources index 390d774..44dc371 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (podman-tui-1.3.1.tar.gz) = 7187ee089e675471d838f7c6ce9c85510b6f34869d1bde12ccbb4660aa703d1493b5c63beb869a6a771eaf2183a3af852c5275dc43f420b844abab8e76614333 -SHA512 (vendor-1.3.1.tar.gz) = 30a43ae439d87e527a926f00646df9ed87eebac8c5288933219d03d8d6f6db2284c2805b5b221d64cf64dafd897e533f18a1d29a677ecb2356c92feb1e60ae6a +SHA512 (podman-tui-1.4.0.tar.gz) = 5a8e69a5c94d746e0d08fa99157cbb35fbd9b2ecb92990083de52b2628607fefc90d24f132fda307f16c946748e8b671f73ab7052488f41e42cf0cb1edc084e1 +SHA512 (vendor-1.4.0.tar.gz) = feeb842d6c1d61463e7727bc4f44f2239cfd0f2da74b41bd7bd06c6636e4a3af329a50ef70daf46615218e179f561cc5211dd81439e9c9f513c02c09f2d53921