answered
2017-10-29 22:57:14 +0300
Here's one way to sort it while you wait for Jolla HQ to get on the case;
Install rpm-build; pkcon install rpm-build
Install rpmrebuild; pkcon install rpmrebuild
As a quick example, do this in terminal;
rpmrebuild -e ambience-the-first-one
~ the -e
comment is so you can edit the SPEC file for the RPM. The following content in the spec file needs this change;
#OS: LINUX
#SIZE: 8179278
#ARCHIVESIZE: 8181228
#ARCH: armv7hl
BuildArch: armv7hl `<-----------------edit this to 'noarch' ** see NOTE`
Name: ambience-the-first-one
Version: 0.0.3
Release: 10.5.1.jolla
License: TBD
Group: System/GUI/Other
Summary: The First One ambience in your hand.
Distribution: pj:store / latest_armv7hl
You should see an output like this; /home/nemo/rpmbuild/RPMS/noarch/ambience-the-first-one-0.0.3-10.5.1.jolla.noarch.rpm
**NOTE: The default editor for sailfish is VIM, when you hit enter on the above command, the spec file is opened in VIM.(here's a cheat sheet for VIM if you are not familiar ~ https://vim.rtorr.com/ ).
Hope this helps.......