Skip to content

Commit

Permalink
Merge pull request #49 from joular/develop
Browse files Browse the repository at this point in the history
remove rpm code
  • Loading branch information
adelnoureddine authored Apr 2, 2024
2 parents 2308f2e + 2059d0f commit 46db963
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions installer/create-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,4 @@ do
dpkg-deb --build powerjoular
mv powerjoular.deb powerjoular_${VERSION}_${ARCH}.deb
cd ..
done

# For Red Hat, Fedora (.rpm package)
rm -rf rpmbuild
mkdir rpmbuild
cd rpmbuild
mkdir BUILD RPMS SOURCES SPECS SRPMS
cd ..
cp ../obj/powerjoular ./rpmbuild/SOURCES/
cp ../systemd/powerjoular.service ./rpmbuild/SOURCES/
cp ./powerjoular.spec ./rpmbuild/SPECS/
rpmbuild -bb --define "_topdir $(pwd)/rpmbuild" ./rpmbuild/SPECS/powerjoular.spec
done

0 comments on commit 46db963

Please sign in to comment.