File skip_setcap_run.diff of Package hercules
diff -Naur hyperion-Release_4.3/Makefile.in hyperion-Release_4.3.new/Makefile.in
--- hyperion-Release_4.3/Makefile.in 2020-11-27 19:45:12.000000000 +0100
+++ hyperion-Release_4.3.new/Makefile.in 2021-03-02 14:04:44.315357142 +0100
@@ -3356,9 +3356,9 @@
@SETUID_HERCIFC_TRUE@ chmod 0750 $(DESTDIR)$(bindir)/hercifc
@SETUID_HERCIFC_TRUE@ chmod +s $(DESTDIR)$(bindir)/hercifc
@SETUID_HERCIFC_TRUE@ rm hercifc
-@OPTION_CAPABILITIES_TRUE@ (cd $(DESTDIR)$(bindir); setcap 'cap_sys_nice=eip' ./hercules$(EXEEXT))
-@OPTION_CAPABILITIES_TRUE@ (cd $(DESTDIR)$(bindir); setcap 'cap_sys_nice=eip' ./herclin$(EXEEXT))
-@OPTION_CAPABILITIES_TRUE@ (cd $(DESTDIR)$(bindir); setcap 'cap_net_admin+ep' ./hercifc$(EXEEXT))
+@OPTION_CAPABILITIES_TRUE@ (cd $(DESTDIR)$(bindir); echo "skip setcap 'cap_sys_nice=eip' ./hercules")
+@OPTION_CAPABILITIES_TRUE@ (cd $(DESTDIR)$(bindir); echo "skip setcap 'cap_sys_nice=eip' ./herclin")
+@OPTION_CAPABILITIES_TRUE@ (cd $(DESTDIR)$(bindir); echo "skip setcap 'cap_net_admin+ep' ./hercifc")
uninstall-local: