Stop installing duplicate go-compilers macros
This commit is contained in:
parent
94eb8c3c37
commit
8b2cbc54e0
@ -116,7 +116,7 @@ install -m 0644 -vp templates/rpm/*spec \
|
|||||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||||
install -m 0755 bin/* %{buildroot}%{_bindir}
|
install -m 0755 bin/* %{buildroot}%{_bindir}
|
||||||
|
|
||||||
install -m 0644 -vp rpm/macros.d/macros.go-* \
|
install -m 0644 -vp rpm/macros.d/macros.go-*rpm* \
|
||||||
%{buildroot}%{rpmmacrodir}
|
%{buildroot}%{rpmmacrodir}
|
||||||
install -m 0755 -vd %{buildroot}%{_rpmluadir}/fedora/rpm
|
install -m 0755 -vd %{buildroot}%{_rpmluadir}/fedora/rpm
|
||||||
install -m 0644 -vp rpm/lua/rpm/*lua \
|
install -m 0644 -vp rpm/lua/rpm/*lua \
|
||||||
@ -132,13 +132,13 @@ install -m 0644 -vp rpm/macros.d/macros.go-srpm \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{golang_arches}
|
%ifarch %{golang_arches}
|
||||||
install -m 0644 -vp rpm/macros.d/macros.go-compilers-golang \
|
install -m 0644 -vp rpm/macros.d/macros.go-compilers-golang{,-pie} \
|
||||||
%{buildroot}%{_rpmconfigdir}/macros.d/macros.go-compiler-golang
|
%{buildroot}%{_rpmconfigdir}/macros.d/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{gccgo_arches}
|
%ifarch %{gccgo_arches}
|
||||||
install -m 0644 -vp rpm/macros.d/macros.go-compilers-gcc \
|
install -m 0644 -vp rpm/macros.d/macros.go-compilers-gcc \
|
||||||
%{buildroot}%{_rpmconfigdir}/macros.d/macros.go-compiler-gcc
|
%{buildroot}%{_rpmconfigdir}/macros.d/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{golang_arches} %{gccgo_arches}
|
%ifarch %{golang_arches} %{gccgo_arches}
|
||||||
|
Loading…
Reference in New Issue
Block a user