I hate hardcoded literal strings!
Also, treat unset vars as ERROR.
Flash packages are noarch.
Also, kaltura-kdp and kaltura-kdp3 separated.