Blob Blame History Raw
From a76f2022b70df6c22d627bb37a2f1cec579ab0be Mon Sep 17 00:00:00 2001
From: Martin Pitt <martinpitt@users.noreply.github.com>
Date: Wed, 31 Jul 2019 14:59:07 +0200
Subject: [PATCH] Fix AppStream ID

Cockpit renamed its ID to "org.cockpit_project.cockpit" to conform to
the AppStream spec [1]. Follow suit and also fix our own ID to not
contain hyphens.

[1] https://github.com/cockpit-project/cockpit/commit/4a9ffe669c

Closes #159
---
 org.cockpit-project.podman.metainfo.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org.cockpit-project.podman.metainfo.xml b/org.cockpit-project.podman.metainfo.xml
index def903f..b4725d5 100644
--- a/org.cockpit-project.podman.metainfo.xml
+++ b/org.cockpit-project.podman.metainfo.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <component type="addon">
-  <id>org.cockpit-project.podman</id>
+  <id>org.cockpit_project.podman</id>
   <metadata_license>CC0-1.0</metadata_license>
   <name>Cockpit Podman</name>
   <summary>
@@ -11,6 +11,6 @@
       The Cockpit user interface for Podman containers.
     </p>
   </description>
-  <extends>cockpit.desktop</extends>
+  <extends>org.cockpit_project.cockpit</extends>
   <launchable type="cockpit-manifest">cockpit-podman</launchable>
 </component>
-- 
2.21.0