Update 'README.MD'
This commit is contained in:
parent
fabd63c67a
commit
a62a2f0bab
11
README.MD
11
README.MD
@ -22,19 +22,20 @@ https://git.fiedler.live/tux/fahclient.git
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
cd fahclient &&
|
cd fahclient &&
|
||||||
git checkout aarch64
|
git checkout aarch64 &&
|
||||||
|
cd
|
||||||
```
|
```
|
||||||
|
|
||||||
- Place the specs file
|
- Place the specs file
|
||||||
|
|
||||||
```console
|
```console
|
||||||
mv -v fahclient.spec ~/rpmbuild/SPECS/
|
mv -v ~/fahclient/fahclient.spec ~/rpmbuild/SPECS/
|
||||||
```
|
```
|
||||||
|
|
||||||
- Create the source archive
|
- Create the source archive
|
||||||
|
|
||||||
```console
|
```console
|
||||||
tar --create --file ~/rpmbuild/SOURCES/fahclient-7.6.21-2.aarch64.tar.gz fahclient
|
tar --create --file ~/rpmbuild/SOURCES/fahclient-7.6.21-2.aarch64.tar.gz ~/fahclient
|
||||||
```
|
```
|
||||||
|
|
||||||
- Optionally check the specs file for errors
|
- Optionally check the specs file for errors
|
||||||
@ -52,8 +53,8 @@ rpmbuild -bs ~/rpmbuild/SPECS/fahclient.spec
|
|||||||
- Place the files required for the build process
|
- Place the files required for the build process
|
||||||
|
|
||||||
```console
|
```console
|
||||||
cp -r fahclient/ rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64 &&
|
cp -r ~/fahclient/ ~/rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64 &&
|
||||||
rm -rf rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64/.git
|
rm -rf ~/rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64/.git
|
||||||
```
|
```
|
||||||
|
|
||||||
- Build the RPM package
|
- Build the RPM package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user