diff --git a/cross-aarch64-gcc.spec b/cross-aarch64-gcc.spec index 7eb8681..15e7f85 100644 --- a/cross-aarch64-gcc.spec +++ b/cross-aarch64-gcc.spec @@ -237,29 +237,6 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} -%if !%{crossbuild} -%if %{build_go} -# Avoid stripping these libraries and binaries. -%global __os_install_post \ -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%__os_install_post \ -chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 755 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 755 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%{nil} -%endif -%endif - %description The gcc package contains the GNU Compiler Collection version 4.9. You'll need this package in order to compile C code. @@ -1213,16 +1190,6 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.0.* %if %{build_liblsan} chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.* %endif -%if %{build_go} -# Avoid stripping these libraries and binaries. -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet -%endif %if %{build_objc} chmod 755 %{buildroot}%{_prefix}/%{_lib}/libobjc.so.4.* %endif diff --git a/cross-armv7hl-gcc.spec b/cross-armv7hl-gcc.spec index 95e7963..7027171 100644 --- a/cross-armv7hl-gcc.spec +++ b/cross-armv7hl-gcc.spec @@ -237,29 +237,6 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} -%if !%{crossbuild} -%if %{build_go} -# Avoid stripping these libraries and binaries. -%global __os_install_post \ -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%__os_install_post \ -chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 755 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 755 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%{nil} -%endif -%endif - %description The gcc package contains the GNU Compiler Collection version 4.9. You'll need this package in order to compile C code. @@ -1213,16 +1190,6 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.0.* %if %{build_liblsan} chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.* %endif -%if %{build_go} -# Avoid stripping these libraries and binaries. -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet -%endif %if %{build_objc} chmod 755 %{buildroot}%{_prefix}/%{_lib}/libobjc.so.4.* %endif diff --git a/cross-i486-gcc.spec b/cross-i486-gcc.spec index e780881..25aaf4f 100644 --- a/cross-i486-gcc.spec +++ b/cross-i486-gcc.spec @@ -237,29 +237,6 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} -%if !%{crossbuild} -%if %{build_go} -# Avoid stripping these libraries and binaries. -%global __os_install_post \ -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%__os_install_post \ -chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 755 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 755 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%{nil} -%endif -%endif - %description The gcc package contains the GNU Compiler Collection version 4.9. You'll need this package in order to compile C code. @@ -1213,16 +1190,6 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.0.* %if %{build_liblsan} chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.* %endif -%if %{build_go} -# Avoid stripping these libraries and binaries. -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet -%endif %if %{build_objc} chmod 755 %{buildroot}%{_prefix}/%{_lib}/libobjc.so.4.* %endif diff --git a/cross-x86_64-gcc.spec b/cross-x86_64-gcc.spec index b4c799f..64498a5 100644 --- a/cross-x86_64-gcc.spec +++ b/cross-x86_64-gcc.spec @@ -237,29 +237,6 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} -%if !%{crossbuild} -%if %{build_go} -# Avoid stripping these libraries and binaries. -%global __os_install_post \ -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%__os_install_post \ -chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 755 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 755 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%{nil} -%endif -%endif - %description The gcc package contains the GNU Compiler Collection version 4.9. You'll need this package in order to compile C code. @@ -1213,16 +1190,6 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.0.* %if %{build_liblsan} chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.* %endif -%if %{build_go} -# Avoid stripping these libraries and binaries. -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet -%endif %if %{build_objc} chmod 755 %{buildroot}%{_prefix}/%{_lib}/libobjc.so.4.* %endif diff --git a/gcc.spec b/gcc.spec index fe099fb..0c743b1 100644 --- a/gcc.spec +++ b/gcc.spec @@ -236,29 +236,6 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} -%if !%{crossbuild} -%if %{build_go} -# Avoid stripping these libraries and binaries. -%global __os_install_post \ -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%__os_install_post \ -chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \ -chmod 755 %{buildroot}%{_prefix}/bin/go.gcc \ -chmod 755 %{buildroot}%{_prefix}/bin/gofmt.gcc \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json \ -chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ -%{nil} -%endif -%endif - %description The gcc package contains the GNU Compiler Collection version 4.9. You'll need this package in order to compile C code. @@ -1212,16 +1189,6 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.0.* %if %{build_liblsan} chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.* %endif -%if %{build_go} -# Avoid stripping these libraries and binaries. -chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* -chmod 644 %{buildroot}%{_prefix}/bin/go.gcc -chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cgo -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/buildid -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/test2json -chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet -%endif %if %{build_objc} chmod 755 %{buildroot}%{_prefix}/%{_lib}/libobjc.so.4.* %endif