%go_arches %{ix86} %{x8664} %{armv5} %{armv6} %{armv7} aarch64 mips mipsel mips64 mips64le ppc64 ppc64le riscv64 s390x
+%go_cachedir %{?buildsubdir:%{_builddir}/%{buildsubdir}/}.go-cache
%__go \\\
%ifarch aarch64 \
%ifarch mips mips64 ppc64 ppc64le riscv64 s390x \
GOARCH=${GOARCH-%{_arch}} \\\
%endif \
+ %{?go_cachedir:GOCACHE="%{go_cachedir}"} \\\
+ %{?__jobs:GOMAXPROCS=%{__jobs}} \\\
GOOS=${GOOS-linux} \\\
/usr/bin/go
%systemd_service_reload() %{nil}
%systemd_trigger() %{nil}
%systemd_post() %{nil}
+%systemd_user_post %{nil}
%systemd_preun() %{nil}
+%systemd_user_preun %{nil}
+%systemd_postun() %{nil}
+%systemd_user_postun() %{nil}
# Keep paths for systemd related files
%systemdunitdir /lib/systemd/system
Summary(pl.UTF-8): Makra RPM dla Linuksa TLD
Name: rpm-tld-macros
Version: %{rpm_macros_rev}
-Release: 6
+Release: 7
License: GPL v2+
Group: Development/Building
Source0: macros.tld