rpm2scl is a Python tool to convert RPM specfiles to SCL-style specfiles.
Install by running:
easy_install rpm2scl
or
pip install rpm2scl
Usage (print this by running rpm2scl -h):
usage: rpm2scl [-h] [-i] [-l SCL_CONTENTS_LIST]
SPECFILE_PATH [SPECFILE_PATH ...]
Convert RPM specfile to be SCL ready.
positional arguments:
SPECFILE_PATH Paths to the specfiles.
optional arguments:
-h, --help show this help message and exit
-i Convert in place (replaces old specfiles with the new
generated ones). Mandatory when multiple specfiles are
to be converted.
-l SCL_CONTENTS_LIST, --list-file SCL_CONTENTS_LIST
List of the packages/provides, that will be in the SCL
(to convert Requires/BuildRequires properly).
Product's homepage
Requirements:
· Python