add documentation for building a .rpm

This commit is contained in:
seth 2022-01-08 23:13:10 -05:00
parent 2ca094bd57
commit 59ef13f032
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -45,6 +45,18 @@ cd packages/debian
If everything works correctly, the .deb will be next to the build script, in `PolyMC/packages/debian` If everything works correctly, the .deb will be next to the build script, in `PolyMC/packages/debian`
### Building a .rpm
You don't need to install the build dependencies, as the script will use `dnf` to install them for you.
```
git clone https://github.com/PolyMC/PolyMC.git
cd packages/rpm
./makerpm.sh
```
If everything works correctly, the .rpm will be next to the build script, in `PolyMC/packages/rpm`
### Building from command line ### Building from command line
You need a source folder, a build folder and an install folder. You need a source folder, a build folder and an install folder.