[packages/kitty] Rename appdata to metainfo
glen
glen at pld-linux.org
Wed Feb 22 22:29:24 CET 2023
commit 53c6aa0ba6f0683466a91a34c60ae34259471290
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Wed Feb 22 23:24:54 2023 +0200
Rename appdata to metainfo
- https://freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
kitty.appdata.xml => kitty.metainfo.xml | 0
kitty.spec | 7 +++----
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/kitty.spec b/kitty.spec
index ebc7fa2..9f09798 100644
--- a/kitty.spec
+++ b/kitty.spec
@@ -17,7 +17,7 @@ Source0: https://github.com/kovidgoyal/kitty/releases/download/v%{version}/%{nam
# Source0-md5: 3e24876ca288589dfab398de81b02614
# Add AppData manifest file
# * https://github.com/kovidgoyal/kitty/pull/2088
-Source1: %{name}.appdata.xml
+Source1: %{name}.metainfo.xml
Source2: %{name}.sh
Source3: %{name}.fish
%if 0
@@ -183,8 +183,7 @@ export NUM_WORKERS=1
--shell-integration "disabled" \
%{nil}
-install -Dp %{SOURCE1} $RPM_BUILD_ROOT%{_metainfodir}/%{name}.appdata.xml
-
+install -Dp %{SOURCE1} $RPM_BUILD_ROOT%{_metainfodir}/%{name}.metainfo.xml
install -Dp %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.sh
install -Dp %{SOURCE3} $RPM_BUILD_ROOT%{fish_compdir}/%{name}.fish
@@ -223,7 +222,7 @@ rm -rf $RPM_BUILD_ROOT
%{_desktopdir}/kitty-open.desktop
%{_desktopdir}/kitty.desktop
%{_iconsdir}/hicolor/*/*/kitty.{png,svg}
-%{_metainfodir}/kitty.appdata.xml
+%{_metainfodir}/kitty.metainfo.xml
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*.py
%{_libdir}/%{name}/__pycache__
diff --git a/kitty.appdata.xml b/kitty.metainfo.xml
similarity index 100%
rename from kitty.appdata.xml
rename to kitty.metainfo.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kitty.git/commitdiff/53c6aa0ba6f0683466a91a34c60ae34259471290
More information about the pld-cvs-commit
mailing list