~hww3/pike-build-rpm-docker

92424197a60800f624f4b6c67b769a96b346f928 — William Welliver 2 years ago d23daca master
add argument for centos version, correct pike spec
2 files changed, 11 insertions(+), 2 deletions(-)

M rpmbuild-docker.sh -rw-r--r-- => -rwxr-xr-x
M rpmbuild/SPECS/pike8.0.spec
M rpmbuild-docker.sh => rpmbuild-docker.sh +10 -1
@@ 1,2 1,11 @@
#!/bin/sh

REL=$1
if [ "x$REL" = "x" ] ; then
echo "Must supply centos release [6,7,8]"
exit 1
fi

echo building rpm for centos $rel
LOCAL_ROOT=/Users/hww3/packaging/pike_package/rpm/pikebuild
docker run -it  -v $LOCAL_ROOT/rpmbuild:/home/rpmbuild/rpmbuild -v $LOCAL_ROOT/buildscripts/pike8.0:/srv pikebuild/rrpmbuild-centos6
docker run -it  -v $LOCAL_ROOT/rpmbuild:/home/rpmbuild/rpmbuild -v $LOCAL_ROOT/buildscripts/pike8.0:/srv pikebuild/rpmbuild-centos$REL

M rpmbuild/SPECS/pike8.0.spec => rpmbuild/SPECS/pike8.0.spec +1 -1
@@ 37,7 37,7 @@
%{?yd3:%define _without_xorg 1}

%define real_name Pike
%define real_version v8.0.1116
%define real_version v8.0.1738
%define relnum 8.0
%define myname pike
%define shared_docs %{_docdir}/%{myname}-%{version}