-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dj_palli
committed
Nov 20, 2024
1 parent
2a82335
commit 1f3f83e
Showing
3 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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} | ||
|
@@ -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") | ||
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters