Skip to content

Commit

Permalink
define the the debug packge is empty
Browse files Browse the repository at this point in the history
we need to use this global directive:
```
%global debug_package %{nil}
```

otherwise we fail with the following error, since we now don't have any debug files for debug packge:
```
Processing files: scylla-cqlsh-debugsource-6.1.0~dev-0.20240624.c7748f60c0bc.aarch64
error: Empty %files file /jenkins/workspace/scylla-master/next/scylla/tools/cqlsh/build/redhat/BUILD/scylla-cqlsh/debugsourcefiles.list
RPM build errors:
    Empty %files file /jenkins/workspace/scylla-master/next/scylla/tools/cqlsh/build/redhat/BUILD/scylla-cqlsh/debugsourcefiles.list
```
  • Loading branch information
fruch committed Jun 25, 2024
1 parent 242876c commit 4963eac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/redhat/scylla-cqlsh.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ Requires: python3
AutoReqProv: no
Conflicts: cassandra

%global debug_package %{nil}

%global __brp_python_bytecompile %{nil}
%global __brp_mangle_shebangs %{nil}
%global __brp_ldconfig %{nil}
%global __brp_strip %{nil}
%global __brp_strip_comment_note %{nil}
%global __brp_strip_static_archive %{nil}


%description
cqlsh is a Python-based command-line client for running CQL commands on a cassandra cluster.

Expand Down

0 comments on commit 4963eac

Please sign in to comment.