Name: go-srpm-macros Version: 3 Release: 1%{?dist} Summary: RPM macros for building Golang packages for various architectures Group: Development/Libraries License: GPLv3+ Source0: macros.go-srpm Source1: macros.go-rpm Source10: go.attr Source11: go.prov Source12: go.req BuildArch: noarch # for install command BuildRequires: coreutils Requires: redhat-rpm-config >= 73 %description The package provides macros for building projects in Go on various architectures. %prep # nothing to prep, just for hooks %build # nothing to build, just for hooks %install install -m 0755 -vd %{buildroot}%{_rpmconfigdir}/{macros.d,fileattrs}/ install -m 0644 -vp %{SOURCE0} %{SOURCE1} \ %{buildroot}%{_rpmconfigdir}/macros.d/ install -m 0644 -vp %{SOURCE10} \ %{buildroot}%{_rpmconfigdir}/fileattrs/ install -m 0755 -vp %{SOURCE11} %{SOURCE12} \ %{buildroot}%{_rpmconfigdir}/ %files %{_rpmconfigdir}/macros.d/macros.* %{_rpmconfigdir}/fileattrs/go.attr %{_rpmconfigdir}/go.prov %{_rpmconfigdir}/go.req %changelog * Tue Jan 23 2018 Nicolas Mailhot - 3-1 - Add Go autodeps - https://fedoraproject.org/wiki/More_Go_packaging * 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