> mayweb@1.0.0 build
> electron-builder
• electron-builder version=24.13.3 os=6.14.0-63.fc42.x86_64
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
• packaging platform=linux arch=x64 electron=31.7.7 appOutDir=dist/linux-unpacked
• building target=snap arch=x64 file=dist/mayweb_1.0.0_amd64.snap
• building target=AppImage arch=x64 file=dist/mayweb-1.0.0.AppImage
• application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
• application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
• building target=deb arch=x64 file=dist/mayweb_1.0.0_amd64.deb
• adding autoupdate files for: deb. (Beta feature) resourceDir=/home/hosted/Desktop/12345/MayWeb-Setup/dist/linux-unpacked/resources
• application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
• building target=rpm arch=x64 file=dist/mayweb-1.0.0.x86_64.rpm
• adding autoupdate files for: rpm. (Beta feature) resourceDir=/home/hosted/Desktop/12345/MayWeb-Setup/dist/linux-unpacked/resources
• application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
⨯ cannot execute cause=exit status 1
out={:timestamp=>"2025-09-12T07:10:04.782240+0100", :message=>"Process failed: rpmbuild failed (exit`your text` code 1). Full command was:[\"rpmbuild\", \"-bb\", \"--target\", \"x86_64-unknown-linux\", \"--define\", \"buildroot /tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8/BUILD\", \"--define\", \"_topdir /tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8\", \"--define\", \"_sourcedir /tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8\", \"--define\", \"_rpmdir /tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8/RPMS\", \"--define\", \"_tmppath /tmp\", \"/tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8/SPECS/mayweb.spec\"]", :level=>:error}
command=/home/hosted/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/fpm -s dir --force -t rpm -d gtk3 -d libnotify -d nss -d libXScrnSaver -d libXtst -d xdg-utils -d at-spi2-core -d libuuid --rpm-os linux --rpm-compression xzmt --architecture amd64 --after-install /tmp/t-1KIzd2/2-after-install --after-remove /tmp/t-1KIzd2/3-after-remove --description 'MayWeb is a local web server for web developers. It comes with Apache, MySQL, PHP, and other tools to help you develop and test your web applications locally.' --version 1.0.0 --package /home/hosted/Desktop/12345/MayWeb-Setup/dist/mayweb-1.0.0.x86_64.rpm --name mayweb --maintainer 'Hosted25 ' --url '' --vendor 'Hosted25 ' --license MIT /home/hosted/Desktop/12345/MayWeb-Setup/dist/linux-unpacked/=/opt/mayweb /home/hosted/Desktop/12345/MayWeb-Setup/icons/16x16.png=/usr/share/icons/hicolor/16x16/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/24x24.png=/usr/share/icons/hicolor/24x24/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/32x32.png=/usr/share/icons/hicolor/32x32/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/48x48.png=/usr/share/icons/hicolor/48x48/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/64x64.png=/usr/share/icons/hicolor/64x64/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/96x96.png=/usr/share/icons/hicolor/96x96/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/128x128.png=/usr/share/icons/hicolor/128x128/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/256x256.png=/usr/share/icons/hicolor/256x256/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/512x512.png=/usr/share/icons/hicolor/512x512/apps/mayweb.png /tmp/t-1KIzd2/5-mayweb.desktop=/usr/share/applications/mayweb.desktop
workingDir=
У меня есть различные документации, я могу только создавать Appimage и Snap, а также Deb File, но не RPM,
Я работаю над Fedora linux
Я пытался создать пакет RPM с моим электронным приложением, .deb .snap.>
• electron-builder version=24.13.3 os=6.14.0-63.fc42.x86_64 • loaded configuration file=package.json ("build" field) • writing effective config file=dist/builder-effective-config.yaml • packaging platform=linux arch=x64 electron=31.7.7 appOutDir=dist/linux-unpacked • building target=snap arch=x64 file=dist/mayweb_1.0.0_amd64.snap • building target=AppImage arch=x64 file=dist/mayweb-1.0.0.AppImage • application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux • application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux • building target=deb arch=x64 file=dist/mayweb_1.0.0_amd64.deb • adding autoupdate files for: deb. (Beta feature) resourceDir=/home/hosted/Desktop/12345/MayWeb-Setup/dist/linux-unpacked/resources • application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux • building target=rpm arch=x64 file=dist/mayweb-1.0.0.x86_64.rpm • adding autoupdate files for: rpm. (Beta feature) resourceDir=/home/hosted/Desktop/12345/MayWeb-Setup/dist/linux-unpacked/resources • application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux ⨯ cannot execute cause=exit status 1 out={:timestamp=>"2025-09-12T07:10:04.782240+0100", :message=>"Process failed: rpmbuild failed (exit`your text` code 1). Full command was:[\"rpmbuild\", \"-bb\", \"--target\", \"x86_64-unknown-linux\", \"--define\", \"buildroot /tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8/BUILD\", \"--define\", \"_topdir /tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8\", \"--define\", \"_sourcedir /tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8\", \"--define\", \"_rpmdir /tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8/RPMS\", \"--define\", \"_tmppath /tmp\", \"/tmp/package-rpm-build-f7189500b9a405edb16d71f5a5363ead8b3c1c3d7e9e035bfa8603c077f8/SPECS/mayweb.spec\"]", :level=>:error}
command=/home/hosted/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/fpm -s dir --force -t rpm -d gtk3 -d libnotify -d nss -d libXScrnSaver -d libXtst -d xdg-utils -d at-spi2-core -d libuuid --rpm-os linux --rpm-compression xzmt --architecture amd64 --after-install /tmp/t-1KIzd2/2-after-install --after-remove /tmp/t-1KIzd2/3-after-remove --description 'MayWeb is a local web server for web developers. It comes with Apache, MySQL, PHP, and other tools to help you develop and test your web applications locally.' --version 1.0.0 --package /home/hosted/Desktop/12345/MayWeb-Setup/dist/mayweb-1.0.0.x86_64.rpm --name mayweb --maintainer 'Hosted25 ' --url '' --vendor 'Hosted25 ' --license MIT /home/hosted/Desktop/12345/MayWeb-Setup/dist/linux-unpacked/=/opt/mayweb /home/hosted/Desktop/12345/MayWeb-Setup/icons/16x16.png=/usr/share/icons/hicolor/16x16/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/24x24.png=/usr/share/icons/hicolor/24x24/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/32x32.png=/usr/share/icons/hicolor/32x32/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/48x48.png=/usr/share/icons/hicolor/48x48/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/64x64.png=/usr/share/icons/hicolor/64x64/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/96x96.png=/usr/share/icons/hicolor/96x96/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/128x128.png=/usr/share/icons/hicolor/128x128/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/256x256.png=/usr/share/icons/hicolor/256x256/apps/mayweb.png /home/hosted/Desktop/12345/MayWeb-Setup/icons/512x512.png=/usr/share/icons/hicolor/512x512/apps/mayweb.png /tmp/t-1KIzd2/5-mayweb.desktop=/usr/share/applications/mayweb.desktop workingDir= [/code] У меня есть различные документации, я могу только создавать Appimage и Snap, а также Deb File, но не RPM, Я работаю над Fedora linux Я пытался создать пакет RPM с моим электронным приложением, .deb .snap.>