diff --git a/subscription-manager.spec b/subscription-manager.spec index 843aa9390385ab7198a8b10d5f553df2cc23d935..9f60d83a20aa3d834072b16fdc742b43abe56136 100644 --- a/subscription-manager.spec +++ b/subscription-manager.spec @@ -4,6 +4,8 @@ # openEuler rewrote several sentences. # +%global fedora 0 +%global rhel 8 # Prefer systemd over sysv on Fedora and RHEL 7+ %global use_systemd 0%{?fedora} || (0%{?rhel} && 0%{?rhel} >= 7) || (0%{?suse_version} && 0%{?suse_version} >= 1315) @@ -136,7 +138,7 @@ Name: subscription-manager Version: 1.23.3 -Release: 4 +Release: 5 Summary: Tools and libraries for subscription and repository management Group: System Environment/Base License: GPLv2 @@ -500,7 +502,7 @@ Subscription Manager Cockpit UI %endif %prep -%autosetup -a 0 -a 1 -p1 -Sgit +%autosetup -a 0 -a 1 -p1 sed -i 's/\/etc\/redhat-release/\/etc\/%{_vendor}-release/g' Makefile %build @@ -1092,6 +1094,9 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Mon Mar 23 2020 openEuler Buildteam - 1.23.3-5 +- add necessary marcos for self-building + * Thu Mar 12 2020 openEuler Buildteam - 1.23.3-4 - Remove some default installation packages