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}