forked from scylladb/scylla-tools-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dist: drop Java tools and change packaging just for cassandra-stress
Since Java based tools are deprecated and now we only need cassandra-stress, change package name to "scylla-cassandra-stress" and drop deprecated tools from the package. Closes scylladb#370
- Loading branch information
Showing
12 changed files
with
56 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: %{product}-tools | ||
Source: %{product}-cassandra-stress | ||
Section: misc | ||
Priority: extra | ||
Maintainer: Takuya ASADA <[email protected]> | ||
|
@@ -7,17 +7,37 @@ Standards-Version: 3.9.5 | |
Rules-Requires-Root: no | ||
|
||
Package: %{product}-tools | ||
Depends: %{product}-cassandra-stress, ${misc:Depends} | ||
Architecture: all | ||
Depends: %{product}-conf, %{product}-tools-core, ${misc:Depends} | ||
Priority: optional | ||
Section: oldlibs | ||
Description: transitional package | ||
This is a transitional package. It can safely be removed. | ||
|
||
Package: %{product}-tools-core | ||
Depends: %{product}-cassandra-stress-core, ${misc:Depends} | ||
Architecture: all | ||
Priority: optional | ||
Section: oldlibs | ||
Description: transitional package | ||
This is a transitional package. It can safely be removed. | ||
|
||
Package: %{product}-cassandra-stress | ||
Architecture: all | ||
Priority: optional | ||
Depends: %{product}-conf, %{product}-cassandra-stress-core, ${misc:Depends} | ||
Recommends: ntp | time-daemon | ||
Conflicts: cassandra | ||
Breaks: %{product}-server (<< 5.5) | ||
Description: Scylla database tools | ||
Replaces: %{product}-tools (<< 5.5) | ||
Breaks: %{product}-tools (<< 5.5) | ||
Description: Scylla Cassandra Stress | ||
Scylla is a highly scalable, eventually consistent, distributed, | ||
partitioned row DB. | ||
|
||
Package: %{product}-tools-core | ||
Package: %{product}-cassandra-stress-core | ||
Architecture: all | ||
Priority: optional | ||
Depends: openjdk-8-jre-headless | openjdk-8-jre | oracle-java8-set-default | adoptopenjdk-8-hotspot-jre | openjdk-11-jre-headless | openjdk-11-jre | oracle-java11-set-default, procps | ||
Description: Scylla database tools core files | ||
Core files for scylla database tools | ||
Replaces: %{product}-tools-core (<< 5.5) | ||
Breaks: %{product}-tools-core (<< 5.5) | ||
Description: Scylla Cassadra Stress core files | ||
Core files for Scylla Cassadra Stress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
opt/scylladb/share/cassandra/bin/cassandra-stress | ||
opt/scylladb/share/cassandra/bin/cassandra-stressd | ||
usr/bin/cassandra-stress | ||
usr/bin/cassandra-stressd |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,38 @@ | ||
Name: %{product}-tools | ||
Name: %{product}-cassandra-stress | ||
Version: %{version} | ||
Release: %{release}%{?dist} | ||
Summary: Scylla Tools | ||
Summary: Scylla Cassandra Stress | ||
Group: Applications/Databases | ||
|
||
License: Apache | ||
URL: http://www.scylladb.com/ | ||
Source0: %{reloc_pkg} | ||
BuildArch: noarch | ||
Requires: %{product}-conf %{product}-tools-core | ||
Requires: %{product}-conf %{product}-cassandra-stress-core | ||
AutoReqProv: no | ||
Conflicts: cassandra | ||
Obsoletes: %{product}-tools < 5.5 | ||
|
||
%description | ||
|
||
%package core | ||
License: Apache | ||
URL: http://www.scylladb.com/ | ||
BuildArch: noarch | ||
Summary: Core files for Scylla tools | ||
Summary: Core files for Scylla Cassandra Stress | ||
Version: %{version} | ||
Release: %{release}%{?dist} | ||
Requires: jre-11-headless | ||
Obsoletes: %{product}-tools-core < 5.5 | ||
|
||
%global __brp_python_bytecompile %{nil} | ||
%global __brp_mangle_shebangs %{nil} | ||
|
||
%description core | ||
Core files for scylla tools. | ||
Core files for scylla casssandra stress. | ||
|
||
%prep | ||
%setup -q -n scylla-tools | ||
%setup -q -n scylla-cassandra-stress | ||
|
||
|
||
%build | ||
|
@@ -40,33 +42,20 @@ rm -rf $RPM_BUILD_ROOT | |
./install.sh --root "$RPM_BUILD_ROOT" | ||
|
||
%files | ||
/opt/scylladb/share/cassandra/bin/nodetool | ||
/opt/scylladb/share/cassandra/bin/sstableloader | ||
/opt/scylladb/share/cassandra/bin/cassandra-stress | ||
/opt/scylladb/share/cassandra/bin/cassandra-stressd | ||
/opt/scylladb/share/cassandra/bin/sstabledump | ||
/opt/scylladb/share/cassandra/bin/sstablelevelreset | ||
/opt/scylladb/share/cassandra/bin/sstablemetadata | ||
/opt/scylladb/share/cassandra/bin/sstablerepairedset | ||
%{_bindir}/sstableloader | ||
%{_bindir}/cassandra-stress | ||
%{_bindir}/cassandra-stressd | ||
%{_bindir}/sstabledump | ||
%{_bindir}/sstablelevelreset | ||
%{_bindir}/sstablemetadata | ||
%{_bindir}/sstablerepairedset | ||
|
||
%files core | ||
%{_sysconfdir}/scylla/cassandra/cassandra-env.sh | ||
%{_sysconfdir}/scylla/cassandra/logback.xml | ||
%{_sysconfdir}/scylla/cassandra/logback-tools.xml | ||
%{_sysconfdir}/scylla/cassandra/jvm*.options | ||
%{_bindir}/scylla-sstableloader | ||
/opt/scylladb/share/cassandra/bin/cassandra.in.sh | ||
/opt/scylladb/share/cassandra/lib/*.jar | ||
/opt/scylladb/share/cassandra/doc/cql3/CQL.css | ||
/opt/scylladb/share/cassandra/doc/cql3/CQL.html | ||
/opt/scylladb/share/cassandra/bin/scylla-sstableloader | ||
|
||
%changelog | ||
* Fri Aug 7 2015 Takuya ASADA Takuya ASADA <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters