danse-inelastic / packaging-use-docker

A packaging utility for DANSE INS packages. Use docker and cmake
0 stars 0 forks source link

Configuration:

Usage:

For debian $ cmake .. or $ cmake -D DOCKER_PKGING_DEB_DIST_NAME=ubuntu -D DOCKER_PKGING_DEB_DIST_VERSION=14.04 ..

and then $ make test-deb

For rpm $ cmake .. or $ cmake -D DOCKER_PKGING_RPM_DIST_NAME=centos -D DOCKER_PKGING_RPM_DIST_VERSION=7 ..

and then $ make test-rpm

test-deb:

test-rpm

Problems:

Old documentation:

To build src rpm:

$ git clone / $ mkdir build $ cd build $ cmake ../ $ (sudo) make build-srpm

src rpm will be in docker/srpm/build/SRPMS/

Upload it to release site.

Then test the src rpm by

$ (sudo) make test-srpm