Skip to content

Commit f629e2e

Browse files
authored
Cassandra: adding support for aarch64 (#14039)
1 parent 4f2ad0a commit f629e2e

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

SPECS-EXTENDED/cassandra/cassandra.spec

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Summary: Cassandra is a highly scalable, eventually consistent, distributed, structured key-value store
55
Name: cassandra
66
Version: 5.0.0
7-
Release: 1%{?dist}
7+
Release: 2%{?dist}
88
URL: https://cassandra.apache.org/
99
License: Apache License, Version 2.0
1010
Group: Applications/System
@@ -16,7 +16,6 @@ Source1: cassandra.service
1616
# instructions to regenerate cassandra-build-cache
1717
# whenever updating to newer version.
1818
Source2: cassandra-build-cache-1-%{version}.tar.gz
19-
ExclusiveArch: x86_64
2019

2120
BuildRequires: ant
2221
BuildRequires: ant-junit
@@ -68,6 +67,13 @@ ant -v clean jar javadoc -Drelease=true -Duse.jdk11=true
6867
# clean build cache
6968
rm -rf ~/.m2
7069

70+
%ifarch x86_64
71+
rm $(find lib/sigar-bin -type f -name "*" ! -name "libsigar-amd64-linux.so")
72+
%endif
73+
%ifarch aarch64
74+
rm -r lib/sigar-bin
75+
%endif
76+
7177
%install
7278
mkdir -p %{buildroot}%{_var}/opt/%{name}/data
7379
mkdir -p %{buildroot}%{_var}/log/%{name}
@@ -141,6 +147,9 @@ fi
141147
%exclude %{_var}/opt/cassandra/build/lib
142148

143149
%changelog
150+
* Thu Jun 19 2025 Jyoti Kanase <v-jykanase@microsoft.com> - 5.0.0-2
151+
- Adding support for aarch64
152+
144153
* Thu May 29 2025 Jyoti Kanase <v-jykanase@microsoft.com> - 5.0.0-1
145154
- Upgrade version to 5.0.0
146155

0 commit comments

Comments
 (0)