From 721503844cff16669cb5a4599e7eb380d66b3777 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 22 Aug 2023 20:56:16 +0000 Subject: [PATCH] import UBI subscription-manager-1.28.36-3.el8_8 --- SOURCES/00001-fix-dbus-policy.patch | 99 +++++++++++++++++++++++++++++ SPECS/subscription-manager.spec | 8 ++- 2 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 SOURCES/00001-fix-dbus-policy.patch diff --git a/SOURCES/00001-fix-dbus-policy.patch b/SOURCES/00001-fix-dbus-policy.patch new file mode 100644 index 0000000..ee8bc45 --- /dev/null +++ b/SOURCES/00001-fix-dbus-policy.patch @@ -0,0 +1,99 @@ +diff --git a/etc-conf/dbus/system.d/com.redhat.RHSM1.conf b/etc-conf/dbus/system.d/com.redhat.RHSM1.conf +index e21c57263..11adf1d79 100644 +--- a/etc-conf/dbus/system.d/com.redhat.RHSM1.conf ++++ b/etc-conf/dbus/system.d/com.redhat.RHSM1.conf +@@ -7,23 +7,9 @@ + + + +- +- +- +- +- +- +- +- +- +- +- +- ++ + + +@@ -37,11 +23,6 @@ + + +- +- +- + + +@@ -65,5 +46,54 @@ + + +- + ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ diff --git a/SPECS/subscription-manager.spec b/SPECS/subscription-manager.spec index 4ea18ef..4b3b9b4 100644 --- a/SPECS/subscription-manager.spec +++ b/SPECS/subscription-manager.spec @@ -245,7 +245,7 @@ Name: subscription-manager Version: 1.28.36 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tools and libraries for subscription and repository management %if 0%{?suse_version} Group: Productivity/Networking/System @@ -402,6 +402,8 @@ BuildRequires: systemd Obsoletes: subscription-manager-plugin-container %endif +Patch00001: 00001-fix-dbus-policy.patch + %description The Subscription Manager package provides programs and libraries to allow users to manage subscriptions and yum repositories from the Red Hat entitlement @@ -758,6 +760,8 @@ cloud metadata and signatures. %prep %setup -q +%autopatch -p1 + %build make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \ LDFLAGS="%{__global_ldflags}" OS_DIST="%{dist}" PYTHON="%{__python}" \ @@ -1483,6 +1487,8 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Tue Aug 08 2023 Jiri Hnidek 1.28.36-3 +- 2225442: Fix D-Bus policy (jhnidek@redhat.com) * Wed Feb 22 2023 Pino Toscano 1.28.36-2 - Translated using Weblate (French) (ljanda@redhat.com) - Translated using Weblate (French) (suanand@redhat.com)