So, I found a macro for desktop files(%__desktop_path) but I’m a bit confused how this is supposed to be used as it evaluates to ^%{_datadir}/applications/.*\\.desktop$
. It doesn’t work in the %files section because of the leading ^ and I can’t figure out where else it could fit in. Can’t find any docs on it either anywhere. It’s provided by rpm-build and the macro file is /usr/lib/rpm/fileattrs/desktop.attr.
Also %udev_rules_update evaluates to %{nil} for some reason? I don’t understand why.