Switch build directory for the rpmbuild command from ./install/linux/rpm-build to ~/rpmbuild. The main reason for this is that we want a build directory that will not be mounted in the container, since we've experienced issues with file permissions.
Regarding the choice of directories, we went with ~/rpmbuild because it's outside the Dangerzone source, and also because it's the default choice in Fedora 1.
In addition to the above fix, make the following changes:
Add a check to detect if a Dangezone RPM is about to be built with wrong permissions.
Fix some shebangs that were the cause of complaints during RPM build.
Switch build directory for the
rpmbuild
command from./install/linux/rpm-build
to~/rpmbuild
. The main reason for this is that we want a build directory that will not be mounted in the container, since we've experienced issues with file permissions.Regarding the choice of directories, we went with
~/rpmbuild
because it's outside the Dangerzone source, and also because it's the default choice in Fedora 1.In addition to the above fix, make the following changes:
Closes #727