Also add an "rpms" target that builds the RPMs using mock in a target
environment.
Fix BuildRequires: for RH platforms.
Fixes: #3221
Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
Turns out, by wrapping the code in a function it takes the necessary bits out of scope, causing the nowplayingbar to become non-functional when it comes to adjusting volume.
Fixes https://github.com/jellyfin/jellyfin/issues/988