Run your program in permissive mode and use audit2why [1], to see what's wrong.
If you have to allow that, you can use audit2allow [2] to produce a
policy package to allow that behavior in package.
I don't know how to make this into a package, maybe [3] will help.
[1]
https://fedoraproject.org/wiki/SELinux/audit2why
[2]
https://fedoraproject.org/wiki/SELinux/audit2allow
[3]
https://fedoraproject.org/wiki/SELinux/IndependentPolicy