Files
scylladb/dist/redhat/python3/python.spec.mustache
Takuya ASADA 1f009b5e9b dist/redhat/python3: drop SCYLLA-*-FILE files in rpm
Related with #4409, These are more files does not needed for runtime, so
drop them too.

Signed-off-by: Takuya ASADA <syuu@scylladb.com>
Message-Id: <20190405074030.3990-1-syuu@scylladb.com>
2019-04-08 11:52:48 +03:00

40 lines
988 B
Plaintext

Name: {{name}}
Version: {{version}}
Release: {{release}}%{?dist}
Summary: A standalone python3 interpreter that can be moved around different Linux machines
AutoReqProv: no
Provides: {{name}}
License: Python
Source0: {{reloc_pkg}}
%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
This is a self-contained python interpreter that can be moved around
different Linux machines as long as they run a new enough kernel (where
new enough is defined by whichever Python module uses any kernel
functionality). All shared libraries needed for the interpreter to
operate are shipped with it.
%prep
%setup -q -c
%install
mkdir -p %{buildroot}/{{target}}
cp -a ./ %{buildroot}/{{target}}
rm -rf %{buildroot}/{{target}}/dist
rm %{buildroot}/{{target}}/SCYLLA-*-FILE
%files
%dir {{target}}
{{target}}/*
%changelog