From 36702e169ba97cf9189086a06a7ad3541c9829c6 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Thu, 24 Aug 2023 11:50:45 +0300 Subject: [PATCH] import subscription-manager-1.29.33.1-2.el9_2 --- SOURCES/00001-fix-dbus-policy.patch | 99 +++++++++++++++++++++++++++++ SPECS/subscription-manager.spec | 9 ++- 2 files changed, 107 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 bd7c2b5..c3e186f 100644 --- a/SPECS/subscription-manager.spec +++ b/SPECS/subscription-manager.spec @@ -96,7 +96,7 @@ Name: subscription-manager Version: 1.29.33.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tools and libraries for subscription and repository management %if 0%{?suse_version} Group: Productivity/Networking/System @@ -222,6 +222,8 @@ Obsoletes: dnf-plugin-subscription-manager < 1.29.0 Obsoletes: %{py_package_prefix}-syspurpose <= %{version} +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 @@ -363,6 +365,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}" \ @@ -736,6 +740,9 @@ rmdir %{python_sitearch}/subscription_manager-*-*.egg-info --ignore-fail-on-non- rm -f /var/lib/rhsm/cache/rhsm_icon.json %changelog +* Mon Aug 07 2023 Jiri Hnidek 1.29.33.1-2 +- 2225445: Fix D-Bus policy (jhnidek@redhat.com) + * Thu Mar 02 2023 Pino Toscano 1.29.33.1-1 - tito: add rhel 9.2 releaser (ptoscano@redhat.com) - 2169251: connection: restore UEPConnection.getJob() (ptoscano@redhat.com)