diff --git a/rpm/cross-aarch64-gcc.spec b/rpm/cross-aarch64-gcc.spec index cbd9ae4..330627a 100644 --- a/rpm/cross-aarch64-gcc.spec +++ b/rpm/cross-aarch64-gcc.spec @@ -1395,26 +1395,6 @@ if posix.access ("/sbin/ldconfig", "x") then end end -%post go -pushd %{_bindir} -if [ ! -f go ] ; then - ln -s go.gcc go -fi -if [ ! -f gofmt ] ; then - ln -s gofmt.gcc gofmt -fi -popd - -%preun go -pushd %{_bindir} -if [ -L go ]; then - rm go -fi -if [ -L gofmt ]; then - rm gofmt -fi -popd - %post -n libstdc++ -p /sbin/ldconfig %postun -n libstdc++ -p /sbin/ldconfig @@ -2021,10 +2001,8 @@ popd %if %{build_go} %files go -%ghost %{_prefix}/bin/go %attr(755,root,root) %{_prefix}/bin/go.gcc %{_prefix}/bin/gccgo -%ghost %{_prefix}/bin/gofmt %attr(755,root,root) %{_prefix}/bin/gofmt.gcc %{_mandir}/man1/gccgo.1* %{_mandir}/man1/go.1* diff --git a/rpm/cross-armv7hl-gcc.spec b/rpm/cross-armv7hl-gcc.spec index 693684c..2027b23 100644 --- a/rpm/cross-armv7hl-gcc.spec +++ b/rpm/cross-armv7hl-gcc.spec @@ -1395,26 +1395,6 @@ if posix.access ("/sbin/ldconfig", "x") then end end -%post go -pushd %{_bindir} -if [ ! -f go ] ; then - ln -s go.gcc go -fi -if [ ! -f gofmt ] ; then - ln -s gofmt.gcc gofmt -fi -popd - -%preun go -pushd %{_bindir} -if [ -L go ]; then - rm go -fi -if [ -L gofmt ]; then - rm gofmt -fi -popd - %post -n libstdc++ -p /sbin/ldconfig %postun -n libstdc++ -p /sbin/ldconfig @@ -2021,10 +2001,8 @@ popd %if %{build_go} %files go -%ghost %{_prefix}/bin/go %attr(755,root,root) %{_prefix}/bin/go.gcc %{_prefix}/bin/gccgo -%ghost %{_prefix}/bin/gofmt %attr(755,root,root) %{_prefix}/bin/gofmt.gcc %{_mandir}/man1/gccgo.1* %{_mandir}/man1/go.1* diff --git a/rpm/cross-i486-gcc.spec b/rpm/cross-i486-gcc.spec index de0239e..51ea516 100644 --- a/rpm/cross-i486-gcc.spec +++ b/rpm/cross-i486-gcc.spec @@ -1395,26 +1395,6 @@ if posix.access ("/sbin/ldconfig", "x") then end end -%post go -pushd %{_bindir} -if [ ! -f go ] ; then - ln -s go.gcc go -fi -if [ ! -f gofmt ] ; then - ln -s gofmt.gcc gofmt -fi -popd - -%preun go -pushd %{_bindir} -if [ -L go ]; then - rm go -fi -if [ -L gofmt ]; then - rm gofmt -fi -popd - %post -n libstdc++ -p /sbin/ldconfig %postun -n libstdc++ -p /sbin/ldconfig @@ -2021,10 +2001,8 @@ popd %if %{build_go} %files go -%ghost %{_prefix}/bin/go %attr(755,root,root) %{_prefix}/bin/go.gcc %{_prefix}/bin/gccgo -%ghost %{_prefix}/bin/gofmt %attr(755,root,root) %{_prefix}/bin/gofmt.gcc %{_mandir}/man1/gccgo.1* %{_mandir}/man1/go.1* diff --git a/rpm/cross-x86_64-gcc.spec b/rpm/cross-x86_64-gcc.spec index cb535a0..be82af3 100644 --- a/rpm/cross-x86_64-gcc.spec +++ b/rpm/cross-x86_64-gcc.spec @@ -1395,26 +1395,6 @@ if posix.access ("/sbin/ldconfig", "x") then end end -%post go -pushd %{_bindir} -if [ ! -f go ] ; then - ln -s go.gcc go -fi -if [ ! -f gofmt ] ; then - ln -s gofmt.gcc gofmt -fi -popd - -%preun go -pushd %{_bindir} -if [ -L go ]; then - rm go -fi -if [ -L gofmt ]; then - rm gofmt -fi -popd - %post -n libstdc++ -p /sbin/ldconfig %postun -n libstdc++ -p /sbin/ldconfig @@ -2021,10 +2001,8 @@ popd %if %{build_go} %files go -%ghost %{_prefix}/bin/go %attr(755,root,root) %{_prefix}/bin/go.gcc %{_prefix}/bin/gccgo -%ghost %{_prefix}/bin/gofmt %attr(755,root,root) %{_prefix}/bin/gofmt.gcc %{_mandir}/man1/gccgo.1* %{_mandir}/man1/go.1* diff --git a/rpm/gcc.spec b/rpm/gcc.spec index 07970a3..3aec84b 100644 --- a/rpm/gcc.spec +++ b/rpm/gcc.spec @@ -1394,26 +1394,6 @@ if posix.access ("/sbin/ldconfig", "x") then end end -%post go -pushd %{_bindir} -if [ ! -f go ] ; then - ln -s go.gcc go -fi -if [ ! -f gofmt ] ; then - ln -s gofmt.gcc gofmt -fi -popd - -%preun go -pushd %{_bindir} -if [ -L go ]; then - rm go -fi -if [ -L gofmt ]; then - rm gofmt -fi -popd - %post -n libstdc++ -p /sbin/ldconfig %postun -n libstdc++ -p /sbin/ldconfig @@ -2020,10 +2000,8 @@ popd %if %{build_go} %files go -%ghost %{_prefix}/bin/go %attr(755,root,root) %{_prefix}/bin/go.gcc %{_prefix}/bin/gccgo -%ghost %{_prefix}/bin/gofmt %attr(755,root,root) %{_prefix}/bin/gofmt.gcc %{_mandir}/man1/gccgo.1* %{_mandir}/man1/go.1*