Drop %release when doing package version comparaison

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-default-settings?expand=0&rev=2
This commit is contained in:
Franck Bui 2020-10-12 14:04:51 +00:00 committed by Git OBS Bridge
parent 857743875c
commit e10ee00057

View File

@ -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}