Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go-rpm-macros: update to 3.6.0 #11160

Open
wants to merge 1 commit into
base: 3.0-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"go-rpm-macros-3.0.9.tar.gz": "b0e32647be12fc78e2dbcc209332b2f2421a9c3e3dcab9b807797aac5a6b6e33"
"go-rpm-macros-3.6.0.tar.gz": "890a1f4fc53fd13083ec95c94b05f8d8e299b27bcb9085e3e9b4b0446c87ef0c"
}
}
16 changes: 9 additions & 7 deletions SPECS-EXTENDED/go-rpm-macros/go-rpm-macros.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Vendor: Microsoft Corporation
Distribution: Azure Linux
%global forgeurl https://pagure.io/go-rpm-macros
Version: 3.0.9
Version: 3.6.0
%forgemeta

#https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/51
Expand All @@ -22,14 +22,14 @@ Version: 3.0.9
ExclusiveArch: %{golang_arches} %{gccgo_arches}

Name: go-rpm-macros
Release: 3%{?dist}
Release: 1%{?dist}
Summary: Build-stage rpm automation for Go packages

License: GPLv3+
URL: %{forgeurl}
# Source: https://pagure.io/go-rpm-macros/archive/3.0.9/go-rpm-macros-3.0.9.tar.gz
# Source: https://pagure.io/go-rpm-macros/archive/3.6.0/go-rpm-macros-3.6.0.tar.gz
Source: %{forgesource}
Patch0: fixing_ldflags_for_azl.patch
#Patch0: fixing_ldflags_for_azl.patch

Requires: go-srpm-macros = %{version}-%{release}
Requires: go-filesystem = %{version}-%{release}
Expand Down Expand Up @@ -90,9 +90,7 @@ This package contains documented rpm spec templates showcasing how to use the
macros provided by go-rpm-macros to create Go packages.

%prep
%forgesetup
%patch 0 -p1

%forgeautosetup -p1
%writevars -f rpm/macros.d/macros.go-srpm golang_arches gccgo_arches gopath
for template in templates/rpm/*\.spec ; do
target=$(echo "${template}" | sed "s|^\(.*\)\.spec$|\1-bare.spec|g")
Expand Down Expand Up @@ -170,6 +168,10 @@ install -m 0644 -vp rpm/macros.d/macros.go-compilers-gcc \
%{_spectemplatedir}/*.spec

%changelog
* Wed Nov 20 2024 Durga Jagadeesh Palli <[email protected]> - 3.6.0-1
- Update to 3.6.0.


* Tue Mar 01 2022 Pawel Winogrodzki <[email protected]> - 3.0.9-3
- Fixing Go's linker flags.
- License verified.
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4570,8 +4570,8 @@
"type": "other",
"other": {
"name": "go-rpm-macros",
"version": "3.0.9",
"downloadUrl": "https://pagure.io/go-rpm-macros/archive/3.0.9/go-rpm-macros-3.0.9.tar.gz"
"version": "3.6.0",
"downloadUrl": "https://pagure.io/go-rpm-macros/archive/3.6.0/go-rpm-macros-3.6.0.tar.gz"
}
}
},
Expand Down