From 01cca2d897d0914b2813660ddfb509096bca4ce1 Mon Sep 17 00:00:00 2001 From: John Lee Date: Wed, 18 Sep 2024 10:19:54 -0400 Subject: [PATCH 1/2] Remove stripping which makes for cross-platform package issues --- installer/rpm/algorand-devtools/algorand-devtools.spec | 1 + installer/rpm/algorand/algorand.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/installer/rpm/algorand-devtools/algorand-devtools.spec b/installer/rpm/algorand-devtools/algorand-devtools.spec index ad5b5a1cd5..8f9d8a148d 100644 --- a/installer/rpm/algorand-devtools/algorand-devtools.spec +++ b/installer/rpm/algorand-devtools/algorand-devtools.spec @@ -8,6 +8,7 @@ Requires: @REQUIRED_ALGORAND_PKG@ >= @VER@ %define SRCDIR go-algorand-rpmbuild %define _buildshell /bin/bash +%define __os_install_post %{nil} %description This package provides development tools for the Algorand blockchain. diff --git a/installer/rpm/algorand/algorand.spec b/installer/rpm/algorand/algorand.spec index ef58c0db1a..51971aed09 100644 --- a/installer/rpm/algorand/algorand.spec +++ b/installer/rpm/algorand/algorand.spec @@ -11,6 +11,7 @@ Requires(pre): shadow-utils %define SRCDIR go-algorand-rpmbuild %define _buildshell /bin/bash +%define __os_install_post %{nil} %description This package provides an implementation of the Algorand protocol. From 054c6b1d54c958b9f90c96b028f425efd13666b7 Mon Sep 17 00:00:00 2001 From: John Lee Date: Wed, 18 Sep 2024 11:35:15 -0400 Subject: [PATCH 2/2] Restore brp-cpomress to os install post macro --- installer/rpm/algorand-devtools/algorand-devtools.spec | 2 +- installer/rpm/algorand/algorand.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/rpm/algorand-devtools/algorand-devtools.spec b/installer/rpm/algorand-devtools/algorand-devtools.spec index 8f9d8a148d..5c2490653c 100644 --- a/installer/rpm/algorand-devtools/algorand-devtools.spec +++ b/installer/rpm/algorand-devtools/algorand-devtools.spec @@ -8,7 +8,7 @@ Requires: @REQUIRED_ALGORAND_PKG@ >= @VER@ %define SRCDIR go-algorand-rpmbuild %define _buildshell /bin/bash -%define __os_install_post %{nil} +%define __os_install_post %{?__brp-compress} %description This package provides development tools for the Algorand blockchain. diff --git a/installer/rpm/algorand/algorand.spec b/installer/rpm/algorand/algorand.spec index 51971aed09..02e0909a78 100644 --- a/installer/rpm/algorand/algorand.spec +++ b/installer/rpm/algorand/algorand.spec @@ -11,7 +11,7 @@ Requires(pre): shadow-utils %define SRCDIR go-algorand-rpmbuild %define _buildshell /bin/bash -%define __os_install_post %{nil} +%define __os_install_post %{?__brp-compress} %description This package provides an implementation of the Algorand protocol.