The package rpms/golang-github-apache-arrow.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/golang-github-apache-arrow.git/commi... https://src.fedoraproject.org/cgit/rpms/golang-github-apache-arrow.git/commi... https://src.fedoraproject.org/cgit/rpms/golang-github-apache-arrow.git/commi....
Change: -ExcludeArch: i686 ppc64le s390x +ExcludeArch: i686 ppc64le s390x +ExcludeArch: i686
Thanks.
Full change: ============
commit 4cbfa3274c05d42d94c2119861a68d8828507541 Author: W. Michael Petullo mike@flyn.org Date: Wed Nov 8 12:21:12 2023 -0600
Bump release and update changelog
Signed-off-by: W. Michael Petullo mike@flyn.org
diff --git a/golang-github-apache-arrow.spec b/golang-github-apache-arrow.spec index 3ac82a4..e230770 100644 --- a/golang-github-apache-arrow.spec +++ b/golang-github-apache-arrow.spec @@ -32,7 +32,7 @@ in-memory processing.} go/parquet/cmd/parquet_reader/README.md
Name: %{goname} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Cross-language development platform for in-memory data
License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause BSD-3-Clause-Clear and BSL-1.0 @@ -74,6 +74,9 @@ done %gopkgfiles
%changelog +* Wed Nov 08 2023 W. Michael Petullo mike@flyn.org - 12.0.1-4 +- Follow lead of golang-github-aead-chacha20 to handle arch-specific deps + * Wed Nov 08 2023 W. Michael Petullo mike@flyn.org - 12.0.1-3 - Revise list of skipped checks
commit 57299056bffd9ab0d251649fda9077e054503742 Author: W. Michael Petullo mike@flyn.org Date: Wed Nov 8 12:19:20 2023 -0600
Follow lead of golang-github-aead-chacha20 to handle arch-specific deps
Signed-off-by: W. Michael Petullo mike@flyn.org
diff --git a/golang-github-apache-arrow.spec b/golang-github-apache-arrow.spec index a2a5085..3ac82a4 100644 --- a/golang-github-apache-arrow.spec +++ b/golang-github-apache-arrow.spec @@ -3,11 +3,9 @@ %bcond_without check %endif %global debug_package %{nil} - -# The i686 variant does not automatically pull in a dependency on -# golang(golang.org/x/sys/cpu), and that leaves that noarch package different -# than the others, which is not allowed. Just drop it. -ExcludeArch: i686 ppc64le s390x +# Avoid noarch package built differently on different architectures (see also +# .../sys/cpu elsewhere): +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\(golang.org/x/sys/cpu\)$
# https://github.com/apache/arrow %global goipath github.com/apache/arrow/go @@ -20,6 +18,9 @@ Version: 12.0.1
%global goaltipaths github.com/apache/arrow/go/v12
+%global godevelheader %{expand: +Requires: golang(golang.org/x/sys/cpu)} + %global common_description %{expand: Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing.} @@ -38,6 +39,8 @@ License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause BSD-3-Clause-Clear URL: %{gourl} Source: %{gosource}
+BuildRequires: golang(golang.org/x/sys/cpu) + %description %{common_description}
%gopkg
commit bfd2ea68ecb712c7226744f8cdccebe8c3d6a4c3 Author: W. Michael Petullo mike@flyn.org Date: Wed Nov 8 11:44:12 2023 -0600
ExcludeArch ppc64le and s390x too
Signed-off-by: W. Michael Petullo mike@flyn.org
diff --git a/golang-github-apache-arrow.spec b/golang-github-apache-arrow.spec index 8caa12a..a2a5085 100644 --- a/golang-github-apache-arrow.spec +++ b/golang-github-apache-arrow.spec @@ -7,7 +7,7 @@ # The i686 variant does not automatically pull in a dependency on # golang(golang.org/x/sys/cpu), and that leaves that noarch package different # than the others, which is not allowed. Just drop it. -ExcludeArch: i686 +ExcludeArch: i686 ppc64le s390x
# https://github.com/apache/arrow %global goipath github.com/apache/arrow/go
commit c5ad0d5a1c83027fb8c9ccaa905c2e9716e48b5d Author: W. Michael Petullo mike@flyn.org Date: Wed Nov 8 10:46:59 2023 -0600
ExcludeArch i686, which is the only to require golang(golang.org/x/sys/cpu)
Signed-off-by: W. Michael Petullo mike@flyn.org
diff --git a/golang-github-apache-arrow.spec b/golang-github-apache-arrow.spec index f696733..8caa12a 100644 --- a/golang-github-apache-arrow.spec +++ b/golang-github-apache-arrow.spec @@ -4,6 +4,11 @@ %endif %global debug_package %{nil}
+# The i686 variant does not automatically pull in a dependency on +# golang(golang.org/x/sys/cpu), and that leaves that noarch package different +# than the others, which is not allowed. Just drop it. +ExcludeArch: i686 + # https://github.com/apache/arrow %global goipath github.com/apache/arrow/go Version: 12.0.1
commit d9683951398485b6c03bf923d1a4a85fe495cfea Author: W. Michael Petullo mike@flyn.org Date: Wed Nov 8 10:15:58 2023 -0600
Remove requires, as it did not fix problem
Signed-off-by: W. Michael Petullo mike@flyn.org
diff --git a/golang-github-apache-arrow.spec b/golang-github-apache-arrow.spec index 4600289..f696733 100644 --- a/golang-github-apache-arrow.spec +++ b/golang-github-apache-arrow.spec @@ -4,8 +4,6 @@ %endif %global debug_package %{nil}
-Requires: golang(golang.org/x/sys/cpu) - # https://github.com/apache/arrow %global goipath github.com/apache/arrow/go Version: 12.0.1
commit cb4a856eddd16a82e15a24bc77acc01a707a281a Author: W. Michael Petullo mike@flyn.org Date: Wed Nov 8 09:53:11 2023 -0600
Explicitly require golang(golang.org/x/sys/cpu)
Building without this resulted in:
BuildError: The following noarch package built differently on different architectures: golang-github-apache-arrow-devel-12.0.1-3.fc40.noarch.rpm rpmdiff output was: added REQUIRES golang(golang.org/x/sys/cpu)
Signed-off-by: W. Michael Petullo mike@flyn.org
diff --git a/golang-github-apache-arrow.spec b/golang-github-apache-arrow.spec index f696733..4600289 100644 --- a/golang-github-apache-arrow.spec +++ b/golang-github-apache-arrow.spec @@ -4,6 +4,8 @@ %endif %global debug_package %{nil}
+Requires: golang(golang.org/x/sys/cpu) + # https://github.com/apache/arrow %global goipath github.com/apache/arrow/go Version: 12.0.1
commit ba0478ee67fdfadb05b3d7e30f51f49ff060d55b Author: W. Michael Petullo mike@flyn.org Date: Wed Nov 8 09:12:31 2023 -0600
Revise list of skipped checks
Signed-off-by: W. Michael Petullo mike@flyn.org
diff --git a/golang-github-apache-arrow.spec b/golang-github-apache-arrow.spec index cb1fd64..f696733 100644 --- a/golang-github-apache-arrow.spec +++ b/golang-github-apache-arrow.spec @@ -26,7 +26,7 @@ in-memory processing.} go/parquet/cmd/parquet_reader/README.md
Name: %{goname} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cross-language development platform for in-memory data
License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause BSD-3-Clause-Clear and BSL-1.0 @@ -57,12 +57,18 @@ for test in "TestFileEncryptionDecryption" "TestArrowReaderAdHocReadDecimals" \ ; do awk -i inplace '/^func.*'"$test"'(/ { print; print "\tt.Skip("disabled failing test")"; next}1' $(grep -rl $test) done -%gocheck -d github.com/apache/arrow/go/arrow/compute +%gocheck \ + -d github.com/apache/arrow/go/arrow/compute \ + -d github.com/apache/arrow/go/parquet \ + -d github.com/apache/arrow/go/parquet/pqarrow %endif
%gopkgfiles
%changelog +* Wed Nov 08 2023 W. Michael Petullo mike@flyn.org - 12.0.1-3 +- Revise list of skipped checks + * Mon Nov 06 2023 Mikel Olasagasti Uranga mikel@olasagasti.info - 12.0.1-2 - Use latest go2rpm template - License SPDX migration and expand licenses
commit 0ea2f70ee0824ac0aefba7129ae631802abe5bcd Author: Mikel Olasagasti Uranga mikel@olasagasti.info Date: Mon Nov 6 18:39:21 2023 +0100
Update spec
- Use latest go2rpm template - License SPDX migration and expand licenses - Add goaltipath to arrow/v12
diff --git a/golang-github-apache-arrow.spec b/golang-github-apache-arrow.spec index 0253751..cb1fd64 100644 --- a/golang-github-apache-arrow.spec +++ b/golang-github-apache-arrow.spec @@ -1,43 +1,49 @@ -# Generated by go2rpm +# Generated by go2rpm 1.10.0 %ifarch x86_64 %bcond_without check %endif +%global debug_package %{nil}
-# https://github.com/apache/arrow/go/arrow -%global goipath github.com/apache/arrow +# https://github.com/apache/arrow +%global goipath github.com/apache/arrow/go Version: 12.0.1 %global tag apache-arrow-12.0.1 %global distprefix %{nil}
%gometa
+ +%global goaltipaths github.com/apache/arrow/go/v12 + %global common_description %{expand: -Apache Arrow is a cross-language development platform for in-memory data. It -specifies a standardized language-independent columnar memory format for flat -and hierarchical data, organized for efficient analytic operations on modern -hardware. It also provides computational libraries and zero-copy streaming -messaging and inter-process communication.} +Apache Arrow is a multi-language toolbox for accelerated data interchange and +in-memory processing.}
%global golicenses LICENSE.txt NOTICE.txt -%global godocs _examples go/README.md +%global godocs docs CHANGELOG.md README.md\\ + go/README.md _examples \\ + go/arrow/flight/flightsql/driver/README.md\\ + go/parquet/cmd/parquet_reader/README.md
Name: %{goname} -Release: 9%{?dist} +Release: 2%{?dist} Summary: Cross-language development platform for in-memory data
-License: ASL 2.0 +License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause BSD-3-Clause-Clear and BSL-1.0 URL: %{gourl} -Source0: %{gosource} +Source: %{gosource}
-%description -%{common_description} +%description %{common_description}
%gopkg
%prep %goprep +%autopatch -p1 + # Remove files unrelated to the Go Library find ./* -maxdepth 0 -type d -not -name "go" -and -not -name "_build" -exec rm -rf "{}" ; +mv go/* .
%generate_buildrequires %go_generate_buildrequires @@ -47,12 +53,24 @@ find ./* -maxdepth 0 -type d -not -name "go" -and -not -name "_build" -exec rm -
%if %{with check} %check +for test in "TestFileEncryptionDecryption" "TestArrowReaderAdHocReadDecimals" \ +; do +awk -i inplace '/^func.*'"$test"'(/ { print; print "\tt.Skip("disabled failing test")"; next}1' $(grep -rl $test) +done %gocheck -d github.com/apache/arrow/go/arrow/compute %endif
%gopkgfiles
%changelog +* Mon Nov 06 2023 Mikel Olasagasti Uranga mikel@olasagasti.info - 12.0.1-2 +- Use latest go2rpm template +- License SPDX migration and expand licenses +- Add goaltipath to arrow/v12 + +* Wed Oct 04 2023 W. Michael Petullo mike@flyn.org - 12.0.1-1 +- Update to 12.0.1 + * Thu Jul 20 2023 Fedora Release Engineering releng@fedoraproject.org - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
commit e259958fa53772ef952744a85115902532c8a4d9 Author: W. Michael Petullo mike@flyn.org Date: Wed Oct 4 17:06:55 2023 -0500
Update to 12.0.1
Signed-off-by: W. Michael Petullo mike@flyn.org
diff --git a/.gitignore b/.gitignore index 7b1e4c0..6ecb8ee 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /arrow-apache-arrow-0.16.0.tar.gz /arrow-apache-arrow-1.0.0.tar.gz /arrow-apache-arrow-2.0.0.tar.gz +/arrow-apache-arrow-12.0.1.tar.gz diff --git a/golang-github-apache-arrow.spec b/golang-github-apache-arrow.spec index 20f3687..0253751 100644 --- a/golang-github-apache-arrow.spec +++ b/golang-github-apache-arrow.spec @@ -5,8 +5,8 @@
# https://github.com/apache/arrow/go/arrow %global goipath github.com/apache/arrow -Version: 2.0.0 -%global tag apache-arrow-2.0.0 +Version: 12.0.1 +%global tag apache-arrow-12.0.1 %global distprefix %{nil}
%gometa @@ -29,21 +29,6 @@ License: ASL 2.0 URL: %{gourl} Source0: %{gosource}
-BuildRequires: golang(github.com/golang/protobuf/proto) -BuildRequires: golang(github.com/google/flatbuffers/go) -BuildRequires: golang(golang.org/x/xerrors) -BuildRequires: golang(google.golang.org/grpc) -BuildRequires: golang(google.golang.org/grpc/codes) -BuildRequires: golang(google.golang.org/grpc/metadata) -BuildRequires: golang(google.golang.org/grpc/status) -BuildRequires: golang(google.golang.org/protobuf/reflect/protoreflect) -BuildRequires: golang(google.golang.org/protobuf/runtime/protoimpl) - -%if %{with check} -# Tests -BuildRequires: golang(github.com/stretchr/testify/assert) -%endif - %description %{common_description}
@@ -54,12 +39,15 @@ BuildRequires: golang(github.com/stretchr/testify/assert) # Remove files unrelated to the Go Library find ./* -maxdepth 0 -type d -not -name "go" -and -not -name "_build" -exec rm -rf "{}" ;
+%generate_buildrequires +%go_generate_buildrequires + %install %gopkginstall
%if %{with check} %check -%gocheck +%gocheck -d github.com/apache/arrow/go/arrow/compute %endif
%gopkgfiles diff --git a/sources b/sources index 6b6d3cf..6385fcc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (arrow-apache-arrow-2.0.0.tar.gz) = 296c47896134878b0bb8f64c8f6d8e3eef99499097fe6239b6e3b9075620b21687600075b52dc7e1d5e4a5151ab5cf609c6443725b97a46112c2a7070f2a28f8 +SHA512 (arrow-apache-arrow-12.0.1.tar.gz) = 98b1fd68d85e3052e1c3d68b7bbb3920086126a6896c40390fb02388e45af3bbaeab56ca36ec58dad0693a4cacab8465af3bf018f684de93053f9769a8229874
arch-excludes@lists.fedoraproject.org