From c86ac772c81807a83453a0e0638e9d0d1810122f Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Sun, 9 Jan 2022 21:51:56 +0100 Subject: [PATCH] Update RPM and build instruction --- BUILD.md | 5 +++-- packages/rpm/polymc.spec | 9 ++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/BUILD.md b/BUILD.md index f0573ab14..1c06febb8 100644 --- a/BUILD.md +++ b/BUILD.md @@ -52,10 +52,11 @@ You don't need to install the build dependencies, as the script will use `dnf` t ``` git clone https://github.com/PolyMC/PolyMC.git cd packages/rpm -./makerpm.sh +sudo dnf builddep ./polymec.spec +rpmbuild -bb ./polymec.spec ``` -If everything works correctly, the .rpm will be next to the build script, in `PolyMC/packages/rpm` +The path to the rpm packages will be printed at the end of building ### Building from command line You need a source folder, a build folder and an install folder. diff --git a/packages/rpm/polymc.spec b/packages/rpm/polymc.spec index f22ba078b..f5a6fe07c 100644 --- a/packages/rpm/polymc.spec +++ b/packages/rpm/polymc.spec @@ -5,8 +5,8 @@ %global quazip_shortcommit %(c=%{quazip_commit}; echo ${c:0:7}) Name: polymc -Version: 1.0.4 -Release: 2%{?dist} +Version: 1.0.5 +Release: 1%{?dist} Summary: Minecraft launcher with ability to manage multiple instances # @@ -132,8 +132,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.polymc.PolyMC.des %changelog +* Sun Jan 09 2022 Jan Drögehoff - 1.0.5-1 +- Update to 1.0.5 + * Sun Jan 09 2022 Jan Drögehoff - 1.0.4-2 - rework spec * Fri Jan 7 2022 getchoo - 1.0.4-1 -- Initial polymc spec \ No newline at end of file +- Initial polymc spec