From 2059d0f91b264be547c45461f678cbbd52d8189f Mon Sep 17 00:00:00 2001 From: Adel Noureddine Date: Tue, 2 Apr 2024 16:33:43 +0200 Subject: [PATCH] remove rpm code --- installer/create-packages.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/installer/create-packages.sh b/installer/create-packages.sh index 57b15a9..986e493 100644 --- a/installer/create-packages.sh +++ b/installer/create-packages.sh @@ -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 \ No newline at end of file +done \ No newline at end of file