From 655b3251b0cc81838d61f33d7726aae001233f22 Mon Sep 17 00:00:00 2001
From: Michal Pospisil
Date: Mon, 5 Feb 2024 10:51:21 +0100
Subject: [PATCH] pcs-0.11.7-3
- Fixed a bug preventing the Cockpit Application from being installed from Cockpit
---
metainfo-fix-outdated-extends-id.patch | 25 +++++++++++++++++++++++++
pcs.spec | 8 +++++++-
2 files changed, 32 insertions(+), 1 deletion(-)
create mode 100644 metainfo-fix-outdated-extends-id.patch
diff --git a/metainfo-fix-outdated-extends-id.patch b/metainfo-fix-outdated-extends-id.patch
new file mode 100644
index 0000000..a9e2106
--- /dev/null
+++ b/metainfo-fix-outdated-extends-id.patch
@@ -0,0 +1,25 @@
+From c55cac8220da78b87b7c84c4049280bc05bf1753 Mon Sep 17 00:00:00 2001
+From: Michal Pospisil
+Date: Fri, 2 Feb 2024 18:47:54 +0100
+Subject: [PATCH] metainfo: fix outdated extends id
+
+---
+ packages/app/org.clusterlabs.cockpit_pcs_web_ui.metainfo.xml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/packages/app/org.clusterlabs.cockpit_pcs_web_ui.metainfo.xml b/packages/app/org.clusterlabs.cockpit_pcs_web_ui.metainfo.xml
+index a27525a9..0924545c 100644
+--- a/packages/app/org.clusterlabs.cockpit_pcs_web_ui.metainfo.xml
++++ b/packages/app/org.clusterlabs.cockpit_pcs_web_ui.metainfo.xml
+@@ -10,7 +10,7 @@
+ Configuration System (pcs) in the background.
+
+
+- cockpit.desktop
++ org.cockpit_project.cockpit
+ ha-cluster
+ https://github.com/ClusterLabs/pcs-web-ui
+
+--
+2.43.0
+
diff --git a/pcs.spec b/pcs.spec
index b585e07..26e73ce 100644
--- a/pcs.spec
+++ b/pcs.spec
@@ -1,6 +1,6 @@
Name: pcs
Version: 0.11.7
-Release: 2%{?dist}
+Release: 3%{?dist}
# https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
# GPL-2.0-only: pcs
@@ -56,6 +56,7 @@ Source101: https://github.com/ClusterLabs/pcs-web-ui/releases/download/%{ui_comm
# ui patches: >200
# Patch201: name-web-ui.patch
Patch201: make-AppStream-metainfo-more-descriptive.patch
+Patch202: metainfo-fix-outdated-extends-id.patch
# git for patches
BuildRequires: git-core
@@ -269,6 +270,8 @@ update_times_patch(){
%autosetup -D -T -b 100 -a 101 -S git -n %{ui_src_name} -N
%autopatch -p1 -m 201
# update_times_patch %%{PATCH201}
+update_times_patch %%{PATCH201}
+update_times_patch %%{PATCH202}
# patch pcs sources
%autosetup -S git -n %{pcs_source_name} -N
@@ -466,6 +469,9 @@ run_all_tests
%changelog
+* Mon Feb 5 2024 Michal Pospisil - 0.11.7-3
+- Fixed a bug preventing the Cockpit Application from being installed from Cockpit
+
* Thu Jan 25 2024 Fedora Release Engineering - 0.11.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild