Update to 1.0.0 upstream release

Upstream tag: v1.0.0
Upstream commit: ddcc1b24

Resolves: RHEL-129926

CVE(s) :
1. RHEL-149653
2. RHEL-147094
3. RHEL-146876

Commit authored by Packit automation (https://packit.dev/)

Signed-off-by: Sarita Mahajan <sarmahaj@redhat.com>
This commit is contained in:
Sarita Mahajan 2026-02-19 15:21:12 +00:00
parent 1783739dd4
commit a46539348f
No known key found for this signature in database
GPG Key ID: 1258F2CA1387B357
6 changed files with 173 additions and 3 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
/go-fdo-client-0.0.2.tar.gz
/go-fdo-client-0.0.3-vendor.tar.bz2
/go-fdo-client-0.0.3.tar.gz
/go-fdo-client-1.0.0.tar.gz
/go-fdo-client-1.0.0-vendor.tar.bz2

165
.packit.yaml Normal file
View File

@ -0,0 +1,165 @@
---
# https://packit.dev/docs/configuration/
# We want to generate packages with the original commit sha
# https://packit.dev/docs/configuration#merge_pr_in_ci
merge_pr_in_ci: false
files_to_sync:
- src:
- ".packit.yaml"
- "build/package/rpm/go-fdo-client.spec"
- "build/package/rpm/go-fdo-client-*-vendor.tar.bz2"
dest: .
issue_repository: https://github.com/fido-device-onboard/go-fdo-client
upstream_package_name: go-fdo-client
downstream_package_name: go-fdo-client
upstream_tag_template: v{version}
copy_upstream_release_description: true
srpm_build_deps:
- git
- golang
- go-vendor-tools
- python3-tomlkit
- askalono-cli
- rpmdevtools
packages:
go-fdo-client-fedora:
downstream_package_name: go-fdo-client
upstream_package_name: go-fdo-client
specfile_path: build/package/rpm/go-fdo-client.spec
go-fdo-client-centos:
downstream_package_name: go-fdo-client
upstream_package_name: go-fdo-client
specfile_path: build/package/rpm/go-fdo-client.spec
pkg_tool: centpkg
actions:
post-modifications:
# https://fedora.gitlab.io/sigs/go/go-vendor-tools/scenarios/#manual-update
- |
bash -xc '
#! /bin/bash
export GOTOOLCHAIN=auto
export BASE_DIR=${PACKIT_UPSTREAM_REPO}/build/package/rpm
export GO_VENDOR_TOOLS_CONFIG=${BASE_DIR}/go-vendor-tools.toml
export SPEC_FILE=${BASE_DIR}/go-fdo-client.spec
# Download the source tarball (Source0) needed by go_vendor_archive
spectool -g -C ${BASE_DIR} ${SPEC_FILE}
go_vendor_archive create --config ${GO_VENDOR_TOOLS_CONFIG} ${SPEC_FILE}
go_vendor_license \
--config ${GO_VENDOR_TOOLS_CONFIG} \
--path ${SPEC_FILE} \
report \
--verify-spec
if [ -n "${PACKIT_DOWNSTREAM_REPO}" ]; then
cp "${BASE_DIR}/go-fdo-client-${PACKIT_PROJECT_VERSION}-vendor.tar.bz2" "${PACKIT_DOWNSTREAM_REPO}"
fi
'
jobs:
# Fedora jobs
# We build and test Fedora 43 ('latest-stable'), Fedora 44 ('latest' when branched) and Fedora Rawhide
# because they are the only ones officially released with golang >= 1.25.0
- &copr_fedora
job: copr_build
packages: [go-fdo-client-fedora]
trigger: pull_request
targets: &copr_fedora_targets
- "fedora-latest-stable-x86_64"
- "fedora-latest-stable-aarch64"
- "fedora-latest-x86_64"
- "fedora-latest-aarch64"
- "fedora-rawhide-x86_64"
- "fedora-rawhide-aarch64"
# Build all versions in '@fedora-iot/copr' copr because it's possible to add golang >= 1.25.0
# see: https://copr.fedorainfracloud.org/coprs/g/fedora-iot/fedora-iot/edit_chroot/fedora-42-x86_64/
- <<: *copr_fedora
trigger: commit
branch: main
owner: "@fedora-iot"
project: fedora-iot
targets:
- "fedora-stable-x86_64"
- "fedora-stable-aarch64"
- "fedora-development-x86_64"
- "fedora-development-aarch64"
- "fedora-eln-x86_64"
- "fedora-eln-aarch64"
# Only Fedora >= 43 have golang >= 1.25.0
- job: propose_downstream
trigger: release
packages: [go-fdo-client-fedora]
dist_git_branches: ["fedora-development", "fedora-latest-stable"]
- job: koji_build
trigger: commit
allowed_pr_authors:
- packit
- all_committers
dist_git_branches: &fedora_dist_git_branches
- "fedora-latest-stable"
- "fedora-latest"
- "fedora-rawhide"
- job: bodhi_update
trigger: commit
allowed_builders:
- packit
- all_committers
dist_git_branches: *fedora_dist_git_branches
# Fedora E2E Testing jobs
# We build and test Fedora 43 ('latest-stable'), Fedora 44 ('latest' when branched) and Fedora Rawhide
# because they are the only ones officially released with golang >= 1.25.0
- job: tests
trigger: pull_request
identifier: e2e-fedora
tmt_plan: test/fmf/plans/e2e
packages: [go-fdo-client-fedora]
targets: *copr_fedora_targets
# CentOS jobs
- &copr_centos
job: copr_build
packages: [go-fdo-client-centos]
trigger: pull_request
targets: &copr_centos_targets
- "centos-stream-9-x86_64"
- "centos-stream-9-aarch64"
- "centos-stream-10-x86_64"
- "centos-stream-10-aarch64"
# Build also for epel-9 and epel-10 in '@fedora-iot/fedora-iot' copr
- <<: *copr_centos
trigger: commit
branch: main
owner: "@fedora-iot"
project: fedora-iot
targets:
- "centos-stream-9-x86_64"
- "centos-stream-9-aarch64"
- "centos-stream-10-x86_64"
- "centos-stream-10-aarch64"
- "epel-9-x86"
- "epel-9-aarch64"
- "epel-10-x86"
- "epel-10-aarch64"
# CentOS E2E Testing jobs
#
- job: tests
trigger: pull_request
identifier: e2e-centos
tmt_plan: test/fmf/plans/e2e
packages: [go-fdo-client-centos]
targets: *copr_centos_targets

3
README.packit Normal file
View File

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.13.0.

Binary file not shown.

View File

@ -12,7 +12,7 @@
%global debug_package %{nil}
%endif
Version: 0.0.3
Version: 1.0.0
%gometa -L -f
Name: go-fdo-client

View File

@ -1,2 +1,2 @@
SHA512 (go-fdo-client-0.0.3-vendor.tar.bz2) = 646823100ac311c3bd0b71106a28467befe1a6f33fc39c083205d3144918f6e6e98b2be655661dc4da9b0e002fe37c45179851a66bdac029514c75f25f3f0ad7
SHA512 (go-fdo-client-0.0.3.tar.gz) = a3cf2b992f30210137e6edb36d90ad990dafab42ebd57da893b7704ef515eeebb0ffa15af62295889cffa52e9db838604fd077a6917a60ffd40787f80b3a421d
SHA512 (go-fdo-client-1.0.0.tar.gz) = bc62a31608121b7bec4cb919a4adc551b4d71c4f6483e287ab544bd77ec20d288620c190c6bd9764310d79a4cb3bdd0184e51c1a8d9b40e74091fd32b621622b
SHA512 (go-fdo-client-1.0.0-vendor.tar.bz2) = acc95f2d39e0b66ea52385712f5b725e4e093d9a472d87db5bdfa97dc24bc8eb1ae8f4108e5c26aebd47d588ce7132225b6d5f4e6e2a6a90f0c09252d9a1bb5d