Update 'README.MD'

This commit is contained in:
tux 2022-11-18 14:58:36 +01:00
parent fabd63c67a
commit a62a2f0bab
1 changed files with 6 additions and 5 deletions

View File

@ -22,19 +22,20 @@ https://git.fiedler.live/tux/fahclient.git
```console
cd fahclient &&
git checkout aarch64
git checkout aarch64 &&
cd
```
- Place the specs file
```console
mv -v fahclient.spec ~/rpmbuild/SPECS/
mv -v ~/fahclient/fahclient.spec ~/rpmbuild/SPECS/
```
- Create the source archive
```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
@ -52,8 +53,8 @@ rpmbuild -bs ~/rpmbuild/SPECS/fahclient.spec
- Place the files required for the build process
```console
cp -r fahclient/ rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64 &&
rm -rf rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64/.git
cp -r ~/fahclient/ ~/rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64 &&
rm -rf ~/rpmbuild/BUILDROOT/fahclient-7.6.21-2.aarch64/.git
```
- Build the RPM package