diff --git a/zhcp/Build-notes b/zhcp/Build-notes new file mode 100644 index 0000000..cc017ec --- /dev/null +++ b/zhcp/Build-notes @@ -0,0 +1,7 @@ +Build Notes +=========== + +1. Place the gunzipped source package into the SOURCES directory, e.g. /usr/src/packages +2. Place the build SPEC file into the SPECS directory, e.g. /usr/src/SPECS +3. Invoke the rpmbuild command, i.e. rpmbuild -ba -v SPECS/zhcp.spec +The RPMs will be placed under the RPMS directory, e.g. /usr/src/packages/RPMS/s390x/zhcp-*.s390x.rpm diff --git a/zhcp/zhcp.spec b/zhcp/zhcp.spec index eb1ad35..743c1a3 100644 --- a/zhcp/zhcp.spec +++ b/zhcp/zhcp.spec @@ -15,8 +15,7 @@ The System z hardware control point (zHCP) is C program API to interface with z/VM SMAPI. %prep -cd /opt/zhcp-build/SOURCES/ -tar -zxvf zhcp-build.tar.gz -C /opt/zhcp-build/BUILD/ --strip 1 +tar -zxvf ../SOURCES/zhcp-build.tar.gz -C ../BUILD/ --strip 1 %build make