2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-24 18:40:05 +00:00

Added build notes and updated spec file

Former-commit-id: 7f7f288ace3fb2b4617750da00068ad4b2da07fc
This commit is contained in:
phamt 2012-03-09 20:18:23 +00:00
parent 07470c843f
commit d65e35dc06
2 changed files with 8 additions and 2 deletions

7
zhcp/Build-notes Normal file
View File

@ -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

View File

@ -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