Created
June 10, 2016 09:31
-
-
Save toabctl/af05c4349c290aa12020c1ecb6cedbac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -xe | |
pypi_name=$1 | |
BASE_OBS_PROJECT=~/devel/bs/pub/Cloud:OpenStack:Upstream | |
BASE_RPM_PACKAGING=~/devel/openstack/rpm-packaging | |
pushd $BASE_OBS_PROJECT | |
osc mkpac python-$pypi_name || : | |
pushd python-$pypi_name | |
renderspec -o python-${pypi_name}-SLE_12_SP1.spec $BASE_RPM_PACKAGING/openstack/$pypi_name/$pypi_name.spec.j2 | |
MYOUTDIR=. bash -x /usr/lib/obs/service/download_files | |
osc build -x vim --noverify SLE_12_SP1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment