Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/subscription-manager.git#2ab1d7a21cb199b9837b7ff061b78d8c6c6a8874
This commit is contained in:
parent
10c40587cd
commit
e2615e63d8
2
.gitignore
vendored
2
.gitignore
vendored
@ -111,3 +111,5 @@
|
|||||||
/subscription-manager-cockpit-1.28.6.tar.gz
|
/subscription-manager-cockpit-1.28.6.tar.gz
|
||||||
/subscription-manager-1.29.0.tar.gz
|
/subscription-manager-1.29.0.tar.gz
|
||||||
/subscription-manager-cockpit-1.29.0.tar.gz
|
/subscription-manager-cockpit-1.29.0.tar.gz
|
||||||
|
/subscription-manager-1.29.1.tar.gz
|
||||||
|
/subscription-manager-cockpit-1.29.1.tar.gz
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (subscription-manager-1.29.0.tar.gz) = 5371241937a839f61f753f1c361d0d9b6fcea4d5d1113598c20590f9fdde6e9fa6c5b1a6729f090773684d42fd1faac537d1db3f4e542e38bfd6747a79dfda4d
|
SHA512 (subscription-manager-1.29.1.tar.gz) = 1450066f246abc3aaca4a8f7224573cccb0194b4af36e09c2b213f8e6ca2e773e91d5498984772cd21c28cca0a03674df074bda9ad2ee6a0229f473dc6954e7d
|
||||||
SHA512 (subscription-manager-cockpit-1.29.0.tar.gz) = 5ba509bd6369fa6def866d3984eedd03f8cd250edbb7ec53387f0332583bc587a4c88ebf005ea65c81f9e49f95834b92dece0848ccd53c8fdb20fb989595474a
|
SHA512 (subscription-manager-cockpit-1.29.1.tar.gz) = e740c2576a9f76c8f90fb938087fca9cac5ea6b4131aea9de8bfdb3e03064f98c61ea8132588492919d8911f89e573985c10082556a426d244d5e853b2294023
|
||||||
|
@ -100,6 +100,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global use_dnf (%{with python3} && (0%{?fedora} || (0%{?rhel}))) || (0%{?rhel} >= 7)
|
%global use_dnf (%{with python3} && (0%{?fedora} || (0%{?rhel}))) || (0%{?rhel} >= 7)
|
||||||
|
%global create_libdnf_rpm (0%{?fedora} > 32 || 0%{?rhel} > 8)
|
||||||
%global use_yum (0%{?rhel} && 0%{?rhel} <= 7)
|
%global use_yum (0%{?rhel} && 0%{?rhel} <= 7)
|
||||||
%global use_cockpit 0%{?fedora} || 0%{?rhel} >= 7
|
%global use_cockpit 0%{?fedora} || 0%{?rhel} >= 7
|
||||||
|
|
||||||
@ -243,7 +244,7 @@
|
|||||||
%global use_rhsm_icons 0%{use_cockpit} || 0%{use_rhsm_gtk}
|
%global use_rhsm_icons 0%{use_cockpit} || 0%{use_rhsm_gtk}
|
||||||
|
|
||||||
Name: subscription-manager
|
Name: subscription-manager
|
||||||
Version: 1.29.0
|
Version: 1.29.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Tools and libraries for subscription and repository management
|
Summary: Tools and libraries for subscription and repository management
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -303,7 +304,7 @@ Requires: %{py_package_prefix}-python-dateutil
|
|||||||
BuildRequires: %{py_package_prefix}-dateutil
|
BuildRequires: %{py_package_prefix}-dateutil
|
||||||
Requires: %{py_package_prefix}-dateutil
|
Requires: %{py_package_prefix}-dateutil
|
||||||
%endif
|
%endif
|
||||||
Requires: %{py_package_prefix}-syspurpose
|
Requires: %{py_package_prefix}-syspurpose = %{version}-%{release}
|
||||||
|
|
||||||
# rhel 8 has different naming for setuptools going forward
|
# rhel 8 has different naming for setuptools going forward
|
||||||
%if (0%{?rhel} && 0%{?rhel} == 8)
|
%if (0%{?rhel} && 0%{?rhel} == 8)
|
||||||
@ -322,9 +323,15 @@ Requires: %{?suse_version:dbus-1-python} %{!?suse_version:dbus-python}
|
|||||||
Requires: %{?suse_version:yum} %{!?suse_version:yum >= 3.2.29-73}
|
Requires: %{?suse_version:yum} %{!?suse_version:yum >= 3.2.29-73}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if (%{use_dnf} && (0%{?fedora} || 0%{?rhel} >= 8))
|
%if %{use_dnf}
|
||||||
|
%if %{create_libdnf_rpm}
|
||||||
|
Requires: dnf >= 1.0.0
|
||||||
|
Requires: python3-dnf-plugins-core
|
||||||
|
Requires: python3-librepo
|
||||||
|
%else
|
||||||
Requires: dnf-plugin-subscription-manager = %{version}
|
Requires: dnf-plugin-subscription-manager = %{version}
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# Support GTK2 and GTK3 on both SUSE and RHEL...
|
# Support GTK2 and GTK3 on both SUSE and RHEL...
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -399,6 +406,17 @@ BuildRequires: systemd
|
|||||||
Obsoletes: subscription-manager-plugin-container
|
Obsoletes: subscription-manager-plugin-container
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{use_dnf}
|
||||||
|
%if %{create_libdnf_rpm}
|
||||||
|
# The libdnf plugin is in separate RPM, but shubscription-manager should be dependent
|
||||||
|
# on this RPM, because somebody can install microdnf on host and installing of product
|
||||||
|
# certs would not work as expected without libdnf plugin
|
||||||
|
Requires: libdnf-plugin-subscription-manager = %{version}
|
||||||
|
# The dnf plugin is now part of subscription-manager
|
||||||
|
Obsoletes: dnf-plugin-subscription-manager
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Subscription Manager package provides programs and libraries to allow users
|
The Subscription Manager package provides programs and libraries to allow users
|
||||||
to manage subscriptions and yum repositories from the Red Hat entitlement
|
to manage subscriptions and yum repositories from the Red Hat entitlement
|
||||||
@ -412,7 +430,6 @@ Group: Productivity/Networking/System
|
|||||||
%else
|
%else
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
%endif
|
%endif
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
%description -n %{py_package_prefix}-syspurpose
|
%description -n %{py_package_prefix}-syspurpose
|
||||||
Provides the syspurpose commandline utility. This utility manages the
|
Provides the syspurpose commandline utility. This utility manages the
|
||||||
system syspurpose.
|
system syspurpose.
|
||||||
@ -513,10 +530,11 @@ This package contains scripts that aid in moving to certificate based
|
|||||||
subscriptions
|
subscriptions
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{use_dnf}
|
||||||
%if %use_dnf
|
# RPM containing DNF plugin
|
||||||
%package -n dnf-plugin-subscription-manager
|
%if %{create_libdnf_rpm}
|
||||||
Summary: Subscription Manager plugins for DNF
|
%package -n libdnf-plugin-subscription-manager
|
||||||
|
Summary: Subscription Manager plugin for libdnf
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Group: Productivity/Networking/System
|
Group: Productivity/Networking/System
|
||||||
%else
|
%else
|
||||||
@ -547,11 +565,34 @@ Requires: python2-librepo
|
|||||||
%endif
|
%endif
|
||||||
Requires: dnf >= 1.0.0
|
Requires: dnf >= 1.0.0
|
||||||
|
|
||||||
|
%description -n libdnf-plugin-subscription-manager
|
||||||
|
This package provides a plugin to interact with repositories from the Red Hat
|
||||||
|
entitlement platform; contains only one product-id binary plugin used by
|
||||||
|
e.g. microdnf.
|
||||||
|
%else
|
||||||
|
# RPM containing DNF plugin
|
||||||
|
%package -n dnf-plugin-subscription-manager
|
||||||
|
Summary: Subscription Manager plugins for DNF
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
Group: Productivity/Networking/System
|
||||||
|
%else
|
||||||
|
Group: System Environment/Base
|
||||||
|
%endif
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: json-c-devel
|
||||||
|
BuildRequires: libdnf-devel >= 0.22.5
|
||||||
|
Requires: json-c
|
||||||
|
Requires: libdnf >= 0.22.5
|
||||||
|
Requires: python3-dnf-plugins-core
|
||||||
|
Requires: python3-librepo
|
||||||
|
Requires: dnf >= 1.0.0
|
||||||
%description -n dnf-plugin-subscription-manager
|
%description -n dnf-plugin-subscription-manager
|
||||||
This package provides plugins to interact with repositories and subscriptions
|
This package provides plugins to interact with repositories and subscriptions
|
||||||
from the Red Hat entitlement platform; contains subscription-manager and
|
from the Red Hat entitlement platform; contains subscription-manager and
|
||||||
product-id plugins.
|
product-id plugins.
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %use_firstboot
|
%if %use_firstboot
|
||||||
@ -750,7 +791,7 @@ make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \
|
|||||||
python2 ./setup.py build --quiet --gtk-version=%{?gtk3:3}%{?!gtk3:2} --rpm-version=%{version}-%{release}
|
python2 ./setup.py build --quiet --gtk-version=%{?gtk3:3}%{?!gtk3:2} --rpm-version=%{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if (%{use_dnf} && (0%{?fedora} >= 29 || 0%{?rhel} >= 8))
|
%if %{use_dnf}
|
||||||
pushd src/dnf-plugins/product-id
|
pushd src/dnf-plugins/product-id
|
||||||
%cmake -DCMAKE_BUILD_TYPE="Release"
|
%cmake -DCMAKE_BUILD_TYPE="Release"
|
||||||
%if (0%{?rhel} && 0%{?rhel} <= 8)
|
%if (0%{?rhel} && 0%{?rhel} <= 8)
|
||||||
@ -779,7 +820,7 @@ make -f Makefile install VERSION=%{version}-%{release} \
|
|||||||
%{?include_syspurpose:INCLUDE_SYSPURPOSE="1"} \
|
%{?include_syspurpose:INCLUDE_SYSPURPOSE="1"} \
|
||||||
%{?exclude_packages}
|
%{?exclude_packages}
|
||||||
|
|
||||||
%if (%{use_dnf} && (0%{?fedora} >= 29 || 0%{?rhel} >= 8))
|
%if %{use_dnf}
|
||||||
pushd src/dnf-plugins/product-id
|
pushd src/dnf-plugins/product-id
|
||||||
mkdir -p %{buildroot}%{_libdir}/libdnf/plugins
|
mkdir -p %{buildroot}%{_libdir}/libdnf/plugins
|
||||||
%if (0%{?rhel} && 0%{?rhel} <= 8)
|
%if (0%{?rhel} && 0%{?rhel} <= 8)
|
||||||
@ -1032,6 +1073,11 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
|
|||||||
%{_prefix}/lib/yum-plugins/search-disabled-repos.py*
|
%{_prefix}/lib/yum-plugins/search-disabled-repos.py*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# When libdnf rpm is created, then dnf plugin is part of subscription-manager rpm
|
||||||
|
%if %{create_libdnf_rpm}
|
||||||
|
%{python_sitelib}/dnf-plugins/*
|
||||||
|
%endif
|
||||||
|
|
||||||
# zypper plugins
|
# zypper plugins
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%{_prefix}/lib/zypp/plugins/services/rhsm
|
%{_prefix}/lib/zypp/plugins/services/rhsm
|
||||||
@ -1270,11 +1316,18 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %use_dnf
|
%if %{use_dnf}
|
||||||
|
# libdnf RPM
|
||||||
|
%if %{create_libdnf_rpm}
|
||||||
|
%files -n libdnf-plugin-subscription-manager
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{python_sitelib}/dnf-plugins/*
|
||||||
|
%{_libdir}/libdnf/plugins/product-id.so
|
||||||
|
%else
|
||||||
|
# DNF RPM
|
||||||
%files -n dnf-plugin-subscription-manager
|
%files -n dnf-plugin-subscription-manager
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/dnf-plugins/*
|
%{python_sitelib}/dnf-plugins/*
|
||||||
%if (0%{?fedora} >= 29 || 0%{?rhel} >= 8)
|
|
||||||
%{_libdir}/libdnf/plugins/product-id.so
|
%{_libdir}/libdnf/plugins/product-id.so
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@ -1446,6 +1499,19 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 03 2020 Christopher Snyder <csnyder@redhat.com> 1.29.1-1
|
||||||
|
- 1894450: Fix issue with identity command; ENT-3235 (#2362)
|
||||||
|
(jhnidek@redhat.com)
|
||||||
|
- Extended D-Bus API - syspurpose methods; ENT-2373 (jhnidek@redhat.com)
|
||||||
|
- 1855437: Fixed rpm dependency of subscription-manager; ENT-3250
|
||||||
|
(jhnidek@redhat.com)
|
||||||
|
- Fix building libdnf-plugin RPM; ENT-3192 (jhnidek@redhat.com)
|
||||||
|
- Create log dir by rhsmcertd, when log dir does not exist (jhnidek@redhat.com)
|
||||||
|
- Try to fix Suse tests. (jhnidek@redhat.com)
|
||||||
|
- improve the help message for attach --auto (ondrej@budai.cz)
|
||||||
|
- 1890080: Handle IOErrors and Exceptions when looking for process names
|
||||||
|
(csnyder@redhat.com)
|
||||||
|
|
||||||
* Mon Nov 16 2020 Christopher Snyder <csnyder@redhat.com> 1.29.0-1
|
* Mon Nov 16 2020 Christopher Snyder <csnyder@redhat.com> 1.29.0-1
|
||||||
- 1850624: Uncaught JSONDecodeError when content_access.json is empty and
|
- 1850624: Uncaught JSONDecodeError when content_access.json is empty and
|
||||||
registering to Satellite6 (wpoteat@redhat.com)
|
registering to Satellite6 (wpoteat@redhat.com)
|
||||||
|
Loading…
Reference in New Issue
Block a user