Re: [Rpm-maint] Add appdata() and application() auto-provides

2013-10-02 Thread Colin Walters
+ echo "application()" + echo "application(${instfile##*/applications/})" if ! grep -q '^Type=Application$' "$instfile"; then continue; fi if ! grep -q '^Exec=' "$instfile"; then continue; fi Shouldn't these pairs of lines be swapped, so

[Rpm-maint] Add appdata() and application() auto-provides

2013-10-02 Thread Michael Schroeder
Hi Panu et al, attached are two patches that make rpm automatically add provides for .desktop files in /usr/share/applications and AppStream appdata files in /usr/share/appdata. They are intended to make it easy to - enumerate all applications by querying for appdata() or application() - creat