RPM for Mathematica
-
Build a src rpm as usual
rpmbuild -bs Mathematica.spec
-
Initialize a mock chroot
mock -r fedora-23-x86_64 init
-
Copy the Mathematica installer bundle into the chroot
mock -r fedora-23-x86_64 --copyin Mathematica_10.3.0_LINUX.sh /builddir/build/SOURCES/
-
Kick off the build without cleaning the chroot
mock -v --dnf -r fedora-23-x86_64 --no-clean --rebuild Mathematica-10.3.0-1.fc23.nosrc.rpm