diff --git a/pacemaker.spec b/pacemaker.spec index 8597c72..108fdbe 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -1,7 +1,7 @@ # # spec file for package pacemaker # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -81,7 +81,6 @@ ### Default resource-stickiness to 1 when distro prefers that %global resource_stickiness --with-resource-stickiness-default=1 - # Python-related definitions ## Prefer Python 3 definitions explicitly, in case 2 is also available @@ -112,7 +111,7 @@ Summary: Scalable High-Availability cluster resource manager # AGPL-3.0 licensed extra/clustermon.sh is not present in the binary License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later Group: Productivity/Clustering/HA -Url: https://www.clusterlabs.org/ +URL: https://www.clusterlabs.org/ # Hint: use "spectool -s 0 pacemaker.spec" (rpmdevtools) to check the final URL: # https://github.com/ClusterLabs/pacemaker/archive/e91769e5a39f5cb2f7b097d3c612368f0530535e/pacemaker-e91769e.tar.gz Source0: %{name}-%{version}.tar.xz @@ -158,9 +157,9 @@ BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxslt) # Pacemaker requires a minimum Python functionality BuildRequires: pkgconfig(python3) +BuildRequires: python-rpm-macros BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(uuid) -BuildRequires: python-rpm-macros Requires: %{name}-cli = %{version}-%{release} Requires: corosync >= 2.0.0 Requires: libpacemaker3 = %{version}-%{release}