You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by fr...@apache.org on 2025/08/02 15:00:02 UTC

(cassandra-sidecar) branch trunk updated: CASSSIDECAR-327: Fix rpm broken symlink (#241)

This is an automated email from the ASF dual-hosted git repository.

frankgh pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-sidecar.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 37615e6b CASSSIDECAR-327: Fix rpm broken symlink (#241)
37615e6b is described below

commit 37615e6b4b5a3ae047eb6c5b00f7393b996b58f9
Author: Serban Teodorescu <se...@gmail.com>
AuthorDate: Sat Aug 2 17:59:57 2025 +0300

    CASSSIDECAR-327: Fix rpm broken symlink (#241)
    
    Patch by Serban Teodorescu; reviewed by Francisco Guerrero, Yifan Cai for CASSSIDECAR-327
---
 CHANGES.txt  | 1 +
 build.gradle | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 43342a43..cc07c00b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,6 @@
 0.2.0
 -----
+ * Fix rpm broken symlink (CASSSIDECAR-327)
  * Fix system_views client table access and make CreateRestoreJobRequestPayload serialization backward compatible (CASSSIDECAR-326)
  * CdcRawDirectorySpaceCleaner always uses fallback after the first time it is queried from system_views.settings (CASSSIDECAR-325)
  * Allow restore jobs to restore to the local datacenter only (CASSSIDECAR-269)
diff --git a/build.gradle b/build.gradle
index 32f65770..30b239c2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -364,7 +364,7 @@ ospackage {
     version = project.version
     // ospackage puts packages into /opt/[package] by default
     // which is _technically_ the right spot for packages
-    link("/usr/local/bin/cassandra-sidecar", "/opt/cassandra-sidecar/bin/cassandra-sidecar")
+    link("/usr/local/bin/cassandra-sidecar", "/opt/${packageName}/bin/cassandra-sidecar")
     license = "Apache License 2.0"
     summary = "Sidecar Management Tool for Apache Cassandra"
     description = "Sidecar Management Tool for Apache Cassandra"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org