Re: [SailfishDevel] RPM build error

2018-08-15 Thread Dylan Van Assche via Devel
Hi, Thanks for the help! Removing that line in my spec file fixed the problem. David's solution is the same by adding some stuff to copy for that line in the spec file and works too :) Since we're talking about spec files, I only care about a simple console application for the tests. If I remov

Re: [SailfishDevel] RPM build error

2018-08-15 Thread Martin Kampas
Hi Dylan, Sounds reasonable. The "console" CONFIG option will have any effect on win32-only. It is not needed on other OSes. BR, Martin From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van Assche via Devel [devel@lists.sailfishos.org] Sent: W

Re: [SailfishDevel] RPM build error

2018-08-15 Thread Dylan Van Assche via Devel
Hi Martin, Oh okay :) I'm still struggling with the spec file. If I remove those lines I mentioned the build fails again. My goal: Remove the icons, desktop file, ... to reduce it to a simple command line tool: qrail-tests in the terminal should be the only thing I need. I updated my source code

Re: [SailfishDevel] RPM build error

2018-08-15 Thread Niel Nielsen
One way is to exclude those files in the "files" section of the specfile. %files %exclude *%{_datadir}/applications/%{name}.desktop* %exclude *%{_datadir}/icons/hicolor/*/apps/%{name}.png* /Niel On Wednesday, August 15, 2018, Dylan Van Assche via Devel < devel@lists.sailfishos.org> wrote: > H

Re: [SailfishDevel] RPM build error

2018-08-15 Thread Martin Kampas
Hi Dylan, That's because you never removed "sailfishapp" from CONFIG as you planned. BR, Martin From: Dylan Van Assche [dylan.van.ass...@protonmail.com] Sent: Wednesday, August 15, 2018 5:58 PM To: Martin Kampas Cc: Sailfish OS Developers Subject: RE: [SailfishDe