diff --git a/.gitignore b/.gitignore index 43f0758..b2efa11 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /runtime-0.19.20.tar.gz /runtime-0.19.24.tar.gz /runtime-0.19.31.tar.gz +/runtime-0.28.0.tar.gz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..7f2d5d1 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,28 @@ +specfile_path: golang-github-openapi-runtime.spec + +files_to_sync: + - golang-github-openapi-runtime.spec + - .packit.yaml + +upstream_package_name: runtime +upstream_project_url: https://github.com/go-openapi/runtime +downstream_package_name: golang-github-openapi-runtime + +upstream_tag_template: v{version} + +jobs: + +- job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-rawhide + +- job: koji_build + trigger: commit + dist_git_branches: + - fedora-rawhide + +- job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-branched diff --git a/golang-github-openapi-runtime.spec b/golang-github-openapi-runtime.spec index e87e0a3..690ded6 100644 --- a/golang-github-openapi-runtime.spec +++ b/golang-github-openapi-runtime.spec @@ -1,12 +1,12 @@ -# Generated by go2rpm +# Generated by go2rpm 1.11.1 %bcond_without check %bcond_with bootstrap # https://github.com/go-openapi/runtime %global goipath github.com/go-openapi/runtime -Version: 0.19.31 +Version: 0.28.0 -%gometa +%gometa -L %global goipaths0 github.com/go-openapi/runtime %global goipathsex0 github.com/go-openapi/runtime/middleware @@ -16,19 +16,18 @@ Version: 0.19.31 %endif %global common_description %{expand: -The runtime component for use in codegeneration or as untyped usage.} +Openapi runtime interfaces.} %global golicenses LICENSE %global godocs CODE_OF_CONDUCT.md README.md -Name: %{goname} +Name: golang-github-openapi-runtime Release: %autorelease Summary: Openapi runtime interfaces -# Upstream license specification: MIT and Apache-2.0 -License: MIT and ASL 2.0 +License: MIT AND Apache-2.0 URL: %{gourl} -Source0: %{gosource} +Source: %{gosource} BuildRequires: golang(github.com/docker/go-units) BuildRequires: golang(github.com/go-openapi/analysis) @@ -37,26 +36,39 @@ BuildRequires: golang(github.com/go-openapi/loads) BuildRequires: golang(github.com/go-openapi/spec) BuildRequires: golang(github.com/go-openapi/strfmt) BuildRequires: golang(github.com/go-openapi/swag) -BuildRequires: golang(github.com/opentracing/opentracing-go/log) %if %{without bootstrap} BuildRequires: golang(github.com/go-openapi/validate) %endif -BuildRequires: golang(github.com/stretchr/testify/assert) -BuildRequires: golang(gopkg.in/yaml.v2) +BuildRequires: golang(github.com/opentracing/opentracing-go) +BuildRequires: golang(github.com/opentracing/opentracing-go/ext) +BuildRequires: golang(github.com/opentracing/opentracing-go/log) +BuildRequires: golang(github.com/stretchr/testify/require) +BuildRequires: golang(go.opentelemetry.io/otel) +BuildRequires: golang(go.opentelemetry.io/otel/attribute) +BuildRequires: golang(go.opentelemetry.io/otel/codes) +BuildRequires: golang(go.opentelemetry.io/otel/propagation) +BuildRequires: golang(go.opentelemetry.io/otel/semconv/v1.17.0) +BuildRequires: golang(go.opentelemetry.io/otel/semconv/v1.17.0/httpconv) +BuildRequires: golang(go.opentelemetry.io/otel/trace) +BuildRequires: golang(golang.org/x/sync/errgroup) +BuildRequires: golang(gopkg.in/yaml.v3) %if %{with check} # Tests BuildRequires: golang(github.com/go-openapi/loads/fmts) -BuildRequires: golang(github.com/stretchr/testify/require) +BuildRequires: golang(github.com/opentracing/opentracing-go/mocktracer) +BuildRequires: golang(github.com/stretchr/testify/assert) +BuildRequires: golang(go.opentelemetry.io/otel/sdk/trace) +BuildRequires: golang(go.opentelemetry.io/otel/sdk/trace/tracetest) %endif -%description -%{common_description} +%description %{common_description} %gopkg %prep -%goprep +%goprep -A +%autopatch -p1 %install %gopkginstall diff --git a/sources b/sources index b7566d6..1771bd2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (runtime-0.19.31.tar.gz) = e2e504a9a23de6ca5336db146deeb3754ea7e560eb6be0a7f25e0948bfbda6dfe10878a6dc0ac06c0ea917f0c286cae9e8b44b7f446824ec0c8e7e1da3a98b8c +SHA512 (runtime-0.28.0.tar.gz) = ca92426d6e28143813cf99cba8d90ae30abf2428862a6ef63a270c379f9dbad7b239c2380ee75e106f7a1f40f418d52a3cbbddf195c43d89a03e526b20960ad8