Spec files of of USM QE server tools packaged as a dependent software collection extending standard rh-python35 software collection.
This is a quick overview of extending rh-python35 software collection with another one, which would contain packages with usm qe server tools.
First of all, we need to come up with the proper name for new software
collection. We are going to use rh-usmqeserver10
, where:
- scl name prefix:
rh-
is vendor (aka provider or organization) id - scl name base:
usmqeserver
- scl name version:
10
(this stands for 1.0)
Now let's generate initial specfile of software collection metapackage (via spec2scl):
$ cd ~/projects/usmqe-specfiles $ spec2scl --meta-specfile rh-usmqeserver10 > rh-usmqeserver10.spec
Such metapackage spec file needs a heavy editing though (TODO: describe the changes needed).
And now something completelly different: based on the sdist tarball, generate the initial spec file for mrglog module (via pyp2rpm):
$ cd ~/projects/usmqe-specfiles $ pyp2rpm -t epel7 -b 3 ~/rpmbuild/SOURCES/mrglog-0.1.1.tar.gz > python-mrglog.spec
The specfile needs inspection and changes (eg. add Source0
):
$ vim python-mrglog.spec
And again, this spec file needs a heavy editing (TODO: pyp2rpm template).