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:
parent
07470c843f
commit
d65e35dc06
7
zhcp/Build-notes
Normal file
7
zhcp/Build-notes
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user