From f6d3deb3d8e29506ed54a89ae5bf92472ea175e7 Mon Sep 17 00:00:00 2001 From: John McBride Date: Mon, 26 Sep 2022 11:58:08 -0600 Subject: [PATCH] hotdog: update to v1.0.4 release Signed-off-by: John McBride --- packages/hotdog/Cargo.toml | 4 ++-- packages/hotdog/hotdog.spec | 13 +++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/packages/hotdog/Cargo.toml b/packages/hotdog/Cargo.toml index 534ab0a9a9e..884a683ec59 100644 --- a/packages/hotdog/Cargo.toml +++ b/packages/hotdog/Cargo.toml @@ -9,8 +9,8 @@ build = "build.rs" path = "pkg.rs" [[package.metadata.build-package.external-files]] -url = "https://github.com/bottlerocket-os/hotdog/archive/b85b75576adbbd7e133b54d71ebc11a28acf40db/hotdog-b85b755.tar.gz" -sha512 = "9b2d5cb0e25d774d11dd6eb577e07af85f36fcd6e816b9df88d7ca1da273695f15ce6831026d28e68355512a07d0ac673b5ce9771d969f1c5ca4f14bc631deb8" +url = "https://github.com/bottlerocket-os/hotdog/archive/v1.0.4/hotdog-1.0.4.tar.gz" +sha512 = "fa6ae90ca7306e2d77cf7320cde773e08f3616e29cc44b6eda9a70d1270b30f9190707c40890146d023a417c13028ccf601a313ed8eb255ddc13072128ad7250" bundle-modules = [ "go" ] [build-dependencies] diff --git a/packages/hotdog/hotdog.spec b/packages/hotdog/hotdog.spec index 681d0ff243b..7901713284f 100644 --- a/packages/hotdog/hotdog.spec +++ b/packages/hotdog/hotdog.spec @@ -7,17 +7,14 @@ %global gorepo hotdog %global goimport %{goproject}/%{gorepo} -%global gitrev b85b75576adbbd7e133b54d71ebc11a28acf40db -%global shortrev %(c=%{gitrev}; echo ${c:0:7}) - Name: %{_cross_os}hotdog -Version: 1.0.1 +Version: 1.0.4 Release: 1%{?dist} Summary: Tool with OCI hooks to run the Log4j Hot Patch in containers License: Apache-2.0 URL: https://github.com/bottlerocket-os/hotdog -Source0: %{gorepo}-%{shortrev}.tar.gz -Source1: bundled-%{gorepo}-%{shortrev}.tar.gz +Source0: %{gorepo}-%{version}.tar.gz +Source1: bundled-%{gorepo}-%{version}.tar.gz BuildRequires: %{_cross_os}glibc-devel Requires: %{_cross_os}log4j2-hotpatch @@ -25,8 +22,8 @@ Requires: %{_cross_os}log4j2-hotpatch %{summary}. %prep -%setup -n %{gorepo}-%{gitrev} -%setup -T -D -n %{gorepo}-%{gitrev} -b 1 +%setup -n %{gorepo}-%{version} +%setup -T -D -n %{gorepo}-%{version} -b 1 %build %set_cross_go_flags