From e10ee000576c6e2fad5fe74596358e69761ff17793297ea39a36d631092e8292 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 12 Oct 2020 14:04:51 +0000 Subject: [PATCH] Drop %release when doing package version comparaison OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-default-settings?expand=0&rev=2 --- systemd-default-settings.spec | 51 +++++++++++++++++------------------ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/systemd-default-settings.spec b/systemd-default-settings.spec index a57af96..2fd28ea 100644 --- a/systemd-default-settings.spec +++ b/systemd-default-settings.spec @@ -1,5 +1,5 @@ # -# spec file for package systemd +# spec file for package systemd-default-settings # # Copyright (c) 2020 SUSE LLC # @@ -15,17 +15,18 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: systemd-default-settings -URL: https://github.com/openSUSE/systemd-default-settings -Version: 0.1 -Release: 0 -Summary: Customization of systemd default settings for SUSE distributions -License: GPL-2.0-or-later -Group: System/Base -Source0: %{name}-%{version}.tar.gz -BuildArch: noarch -BuildRequires: systemd-rpm-macros -Requires: %{name}-branding = %{version}-%{release} + +Name: systemd-default-settings +URL: https://github.com/openSUSE/systemd-default-settings +Version: 0.1 +Release: 0 +Summary: Customization of systemd default settings for SUSE distributions +License: GPL-2.0-or-later +Group: System/Base +Source0: %{name}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: systemd-rpm-macros +Requires: %{name}-branding = %{version} %description This package overrides some of the upstream default settings which are @@ -35,26 +36,24 @@ Removing this package will bring your system closer to the defaults chosen by systemd upstream. %package branding-SLE -Summary: Specific customization of systemd defaults settings for SLE -License: GPL-2.0-or-later -Group: System/Base -Requires: %{name} = %{version}-%{release} -Supplements: packageand(%{name}:branding-SLE) -Provides: %{name}-branding = %{version}-%{release} -Conflicts: otherproviders(%{name}-branding) +Summary: Specific customization of systemd defaults settings for SLE +Group: System/Base +Requires: %{name} = %{version} +Supplements: packageand(%{name}:branding-SLE) +Provides: %{name}-branding = %{version} +Conflicts: otherproviders(%{name}-branding) %description branding-SLE This package overrides more upstream default settings than %{name} does to make them better suited for SLE distributions. %package branding-openSUSE -Summary: Specific customization of systemd defaults settings for openSUSE -License: GPL-2.0-or-later -Group: System/Base -Requires: %{name} = %{version}-%{release} -Supplements: packageand(%{name}:branding-openSUSE) -Provides: %{name}-branding = %{version}-%{release} -Conflicts: otherproviders(%{name}-branding) +Summary: Specific customization of systemd defaults settings for openSUSE +Group: System/Base +Requires: %{name} = %{version} +Supplements: packageand(%{name}:branding-openSUSE) +Provides: %{name}-branding = %{version} +Conflicts: otherproviders(%{name}-branding) %description branding-openSUSE This package overrides more upstream default settings than %{name}