diff --git a/.gitignore b/.gitignore index bd5744c..2454960 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/subscription-manager-1.29.33.1.tar.gz +SOURCES/subscription-manager-1.29.37.tar.gz diff --git a/.subscription-manager.metadata b/.subscription-manager.metadata index 321e032..ae4ff80 100644 --- a/.subscription-manager.metadata +++ b/.subscription-manager.metadata @@ -1 +1 @@ -38881af878868368653d5998ce98adc45e82b7cf SOURCES/subscription-manager-1.29.33.1.tar.gz +a399b89ecd9b7e363123d839f7ba407290d0c03c SOURCES/subscription-manager-1.29.37.tar.gz diff --git a/SPECS/subscription-manager.spec b/SPECS/subscription-manager.spec index 2bfbce1..370b1b5 100644 --- a/SPECS/subscription-manager.spec +++ b/SPECS/subscription-manager.spec @@ -95,14 +95,14 @@ %global exclude_packages %{exclude_packages}" Name: subscription-manager -Version: 1.29.33.1 -Release: 2%{?dist}.inferit +Version: 1.29.37 +Release: 1%{?dist}.inferit Summary: Tools and libraries for subscription and repository management %if 0%{?suse_version} Group: Productivity/Networking/System License: GPL-2.0 %else -License: GPLv2 +License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later %endif URL: http://www.candlepinproject.org/ @@ -113,12 +113,6 @@ URL: http://www.candlepinproject.org/ # tito build --tag subscription-manager-$VERSION-$RELEASE --tgz Source0: %{name}-%{version}.tar.gz -# MSVSphere patches -Patch1001: 0001-Debrand-for-MSVSphere.patch -Patch1002: 0002-Set-MSVSphere-syspurposes.patch -Patch1003: 0003-Disable-repo-file-creation.patch -Patch1004: 0004-Disable-subscription-manager-plugin.patch - # Especially for the OpenSuse Build Service we need to have another lint config %if 0%{?suse_version} Source2: subscription-manager-rpmlintrc @@ -136,7 +130,7 @@ Source2: subscription-manager-rpmlintrc # nesting is required since RPM requires the various preamble directives to be # at the start of a line making meaningful indentation impossible. -Requires: %{py_package_prefix}-ethtool +Requires: iproute Requires: %{py_package_prefix}-iniparse Requires: %{py_package_prefix}-decorator Requires: virt-what @@ -170,7 +164,7 @@ Requires: %{py_package_prefix}-setuptools %if %{use_dnf} %if %{create_libdnf_rpm} -Requires: dnf >= 1.0.0 +Requires: python3-dnf Requires: python3-dnf-plugins-core Requires: python3-librepo %else @@ -207,6 +201,8 @@ BuildRequires: %{py_package_prefix}-dateutil BuildRequires: systemd +Obsoletes: subscription-manager-migration <= %{version}-%{release} + Obsoletes: subscription-manager-initial-setup-addon <= %{version}-%{release} Obsoletes: rhsm-gtk <= %{version}-%{release} @@ -215,12 +211,6 @@ Obsoletes: rhsm-gtk <= %{version}-%{release} Obsoletes: subscription-manager-plugin-container <= %{version} %endif -# MSVSphere doesn't provide those packages -Obsoletes: subscription-manager-cockpit -Obsoletes: subscription-manager-initial-setup-addon -Obsoletes: rhsm-gtk -Obsoletes: rhsm-icons - %if %{use_dnf} %if %{create_libdnf_rpm} # The libdnf plugin is in separate RPM, but shubscription-manager should be dependent @@ -234,8 +224,6 @@ 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 EL entitlement @@ -262,9 +250,6 @@ BuildRequires: cmake BuildRequires: gcc BuildRequires: json-c-devel BuildRequires: libdnf-devel >= 0.22.5 -Requires: json-c -Requires: libdnf >= 0.22.5 -Requires: dnf >= 1.0.0 Obsoletes: dnf-plugin-subscription-manager < 1.29.0 @@ -377,8 +362,6 @@ 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}" \ @@ -758,12 +741,108 @@ rmdir %{python_sitearch}/subscription_manager-*-*.egg-info --ignore-fail-on-non- rm -f /var/lib/rhsm/cache/rhsm_icon.json %changelog +* Wed Aug 23 2023 Pino Toscano 1.29.37-1 +- Translated using Weblate (Korean) (simmon@nplob.com) +- Update translation files (noreply@weblate.org) +- 2225446: Hotfix of D-Bus policy (jhnidek@redhat.com) +- TESTING: Update testing requirements (mhorky@redhat.com) +- Use Fedora registry to pull container images (mhorky@redhat.com) +- 2232316: dbus: check "force" again from the registration option + (ptoscano@redhat.com) +- dbus: run EntCertActionInvoker on PoolAttach (ptoscano@redhat.com) +- ENT-5624: Properly translate error strings (mhorky@redhat.com) +- Mock IOError for Insights fact collection tests (mhorky@redhat.com) +- New extraction for translatable strings (ptoscano@redhat.com) + * Mon Aug 07 2023 Jiri Hnidek 1.29.33.1-2 - 2225445: Fix D-Bus policy (jhnidek@redhat.com) +* Wed Aug 02 2023 Pino Toscano 1.29.36-1 +- Translated using Weblate (Korean) (simmon@nplob.com) +- ENT-5581: Update messaging around the "container mode" (mhorky@redhat.com) +- Remove 'dbus' marker for pytest (mhorky@redhat.com) +- Rewrite D-Bus tests to be testable without pytest-forked (mhorky@redhat.com) +- Drop further ethtool dependency mentions (mhorky@redhat.com) +- tests: fix test_file_monitor without pyinotify (ptoscano@redhat.com) +- tests: switch from imp to importlib (ptoscano@redhat.com) +- Fix the order of user env var checking for translations. + (tkuratom@redhat.com) +- 2215974: Collect network facts using 'ip' (mhorky@redhat.com) +- ENT-5582: Remove container detection envvar overwrite (mhorky@redhat.com) +- ENT-5603: Explicitly check for provided entitlement certificates + (mhorky@redhat.com) +- fix test case (chambrid@redhat.com) +- Collect GCP Project information as cloud facts (chambrid@redhat.com) +- Collect Azure Subscription ID as a cloud fact (#3285) (chambrid@redhat.com) +- ENT-5580: Disable the proper container detection (mhorky@redhat.com) +- spec: convert License to SPDX (ptoscano@redhat.com) +- 2093291: Make reading of cache file more reliable (jhnidek@redhat.com) +- 2093291: Make code of DNF plugins testable (jhnidek@redhat.com) +- spec: change subscription-manager dnf dep (ptoscano@redhat.com) +- spec: update libdnf-plugin-subscription-manager deps (ptoscano@redhat.com) +- tests: repair attach cases in SCA mode (ptoscano@redhat.com) + * Tue May 30 2023 Sergey Cherevko - 1.29.33.1-1.inferit - Rebuilt for MSVSphere 9.2 +* Tue May 16 2023 Pino Toscano 1.29.35-1 +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Clean up tests using Cloud What detectors properly (mhorky@redhat.com) +- spec: Obsolete subscription-manager-migration (ptoscano@redhat.com) +- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ljanda@redhat.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com) +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Update translation files (noreply@weblate.org) +- New extraction for translatable strings (ptoscano@redhat.com) +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Typo fixes (ptoscano@redhat.com) +- Avoid string puzzle (ptoscano@redhat.com) +- Properly use ungettext for plural forms (ptoscano@redhat.com) +- 2189664: cache: fix SyspurposeComplianceStatusCache on failed load + (ptoscano@redhat.com) +- dbus: don't catch exceptions in DomainSocketServer.run() + (ptoscano@redhat.com) +- cli: directly exit on InvalidCLIOptionError (ptoscano@redhat.com) +- Revert "ENT-5549: Fix return code handling of CLI" (ptoscano@redhat.com) +- ci: add dependabot config for GitHub Actions (ptoscano@redhat.com) +- Update .git-blame-ignore-revs (mhorky@redhat.com) +- Format code with black==23.3.0 (mhorky@redhat.com) +- ENT-5535: Update black to version 23.3.0 (mhorky@redhat.com) + +* Fri Apr 14 2023 MSVSphere Packaging Team - 1.29.34-1 +- Rebuilt for MSVSphere 9.2 beta + +* Wed Apr 12 2023 Pino Toscano 1.29.34-1 +- Update TESTING.md (mhorky@redhat.com) +- Improved debug print of http traffic, when proxy is used (jhnidek@redhat.com) +- ENT-5544: Remove Jenkins jobs, Containers (mhorky@redhat.com) +- ENT-5549: Remove unused code from entcertlib (mhorky@redhat.com) +- ENT-5549: Fix issues found when type-hinting (mhorky@redhat.com) +- ENT-5549: Fix return code handling of CLI (mhorky@redhat.com) +- ENT-5549: Fix found type hint issues (mhorky@redhat.com) +- ENT-5549: Fix object instantiation in EntitlementDirectory + (mhorky@redhat.com) +- ENT-5549: Refactor ProductDirectory (mhorky@redhat.com) +- ENT-5549: Change internal implementation for some Cache methods + (mhorky@redhat.com) +- ENT-5549: Clean up _sync_with_server arguments of cache objects + (mhorky@redhat.com) +- ENT-5549: Remove 'autoheal' argument from Action clients (mhorky@redhat.com) +- Refactored code a little bit (jhnidek@redhat.com) +- 2093291: Make locking more reliable (jhnidek@redhat.com) +- test: add simple test for 2178610 (ptoscano@redhat.com) +- Small improvement of debugging of http traffic (jhnidek@redhat.com) +- 2093883: Fix issue with race condition in rhsm.service (jhnidek@redhat.com) +- 2178610: do not collect unentitled products in SCA mode (ptoscano@redhat.com) +- 2174297: register: do a simple strip() on environment(s) input + (ptoscano@redhat.com) +- Stop subclassing 'object' (ptoscano@redhat.com) +- Remove pytest arguments for CentOS 9 Stream image (mhorky@redhat.com) +- tests: Install dnf-plugins-core every time (mhorky@redhat.com) +- 2169251: connection: restore UEPConnection.getJob() (ptoscano@redhat.com) +- ENT-5106: Type-hint subscription_manager/ files (mhorky@redhat.com) + * Sun Apr 02 2023 Eugene Zamriy - 1.29.30-1.inferit - De-branded for MSVSphere - Disable the DNF plugin by default