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

2023-02-22 Thread Elan Ruusamäe


On 22.02.2023 21:38, Jan Palus wrote:

On 22.02.2023 19:55, glen wrote:

commit fa6a978633bd3fbae3c510fb6299ddb67af8da00
Author: Elan Ruusamäe 
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


changed:

- 
https://github.com/pld-linux/rpm-pld-macros/commit/d242d4da01feb055dbbc7187712e200e07022488


___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


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

2023-02-22 Thread Jan Palus
On 22.02.2023 19:55, glen wrote:
> commit fa6a978633bd3fbae3c510fb6299ddb67af8da00
> Author: Elan Ruusamäe 
> 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.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en