%global commit 4d469a3d37c21353fbd6bb306ce707dc4151fd1e %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: go-srpm-macros Version: 2 Release: 18%{?dist} Summary: RPM macros for building Golang packages for various architectures Group: Development/Libraries License: GPLv3+ Source0: https://github.com/gofed/go-macros/archive/%{commit}/go-macros-%{shortcommit}.tar.gz BuildArch: noarch # for install command BuildRequires: coreutils %description The package provides macros for building projects in Go on various architectures. %prep %setup -q -n go-macros-%{commit} %build # nothing to build, just for hooks %install install -m 644 -D rpm/macros.d/macros.go-srpm %{buildroot}%{_rpmconfigdir}/macros.d/macros.go-srpm %files %{_rpmconfigdir}/macros.d/macros.go-srpm %changelog * Fri Jul 13 2018 Fedora Release Engineering - 2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon May 28 2018 Jan Chaloupka - 2-17 - be more selective when cleaning up .git suffixes resolves: #1563188 * Mon Mar 05 2018 Jan Chaloupka - 2-16 - Switch to upstream tarball (2nd attempt) * Sun Mar 04 2018 Jan Chaloupka - 2-15 - Build the rawhide gometa completely on rawhide forgemeta * Tue Feb 27 2018 Robert-André Mauchin - 2-14 - Fix the Github download path * Fri Feb 23 2018 Jan Chaloupka - 2-13 - Update only the macros.go-srpm file, the upstream tarball can not be found * Fri Feb 23 2018 Jan Chaloupka - 2-12 - Install go-srpm macros from an upstream tarball * Wed Feb 07 2018 Fedora Release Engineering - 2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jul 12 2017 Jakub Čajka - 2-9 - Drop ppc64 from go arches - https://fedoraproject.org/wiki/Changes/golang1.9 * Fri Feb 10 2017 Fedora Release Engineering - 2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jul 20 2016 Jakub Čajka - 2-7 - move s390x to golang - Related: bz1357394 * Wed Feb 03 2016 Fedora Release Engineering - 2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 28 2016 Jakub Čajka - 2-5 - move {power64} to golang * Wed Dec 30 2015 Michal Toman - 2-4 - MIPS has gcc-go, mips macro since rpm-4.12.0.1-18 resolves: #1294875 * Thu Sep 10 2015 jchaloup - 2-3 - Remove compiler specific macros (moved to go-compiler package) - Define go-compiler macro to signal go-compiler packages is available * Sat Aug 29 2015 jchaloup - 2-2 - Add -ldflags $LDFLAGS to go build/test macro * Sun Aug 23 2015 Peter Robinson 2-1 - aarch64 now has golang * Tue Jul 07 2015 jchaloup - 1-1 - Initial commit resolves: #1241156