[packages/rpm-pld-macros] Add _metainfodir, rev 2.023

Jan Palus atler at pld-linux.org
Wed Feb 22 20:38:32 CET 2023


On 22.02.2023 19:55, glen wrote:
> commit fa6a978633bd3fbae3c510fb6299ddb67af8da00
> Author: Elan Ruusamäe <glen at pld-linux.org>
> Date:   Wed Feb 22 20:54:40 2023 +0200
> 
>     Add _metainfodir, rev 2.023
>     
>     - https://src.fedoraproject.org/rpms/redhat-rpm-config/c/67e46b630d5d0bc74188b2ea5aa36eff5117ddc9?branch=f27
...
> --- a/macros.pld
> +++ b/macros.pld
> @@ -25,6 +25,8 @@
>  %_lispdir			%{_datadir}/emacs/site-lisp
>  %_initddir			%{_sysconfdir}/rc.d/init.d
>  
> +%_metainfodir	%{_datadir}/appdata

Shouldn't this point to non-legacy %{_datadir}/metainfo instead?

https://freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location

Perhaps _appdatadir for legacy locations.


More information about the pld-devel-en mailing list