dbus: change 'system-release' dependency to 'fedora-release'
As it turns out, 'fedora-release' only has: 'Provides: system-release' rather than: 'Provides: system-release = %{version}-%{release}' This means, any explicit dependencies on 'system-release' ignore versioning completely. This is unfortunate, and breaks our reliance on 'system-release'. Fortunately, unlike recommended on the wiki, it is safe to depend on 'fedora-release' explicitly. Other fedora flavors have this package as well, so there is no reason not to. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
parent
235a81bfa5
commit
27eb7993d2
@ -6,7 +6,7 @@
|
|||||||
%global libselinux_version 2.0.86
|
%global libselinux_version 2.0.86
|
||||||
|
|
||||||
# fedora-release-30-0.2 added required presets to enable systemd-unit symlinks
|
# fedora-release-30-0.2 added required presets to enable systemd-unit symlinks
|
||||||
%global system_release_version 30-0.2
|
%global fedora_release_version 30-0.2
|
||||||
|
|
||||||
%global dbus_user_uid 81
|
%global dbus_user_uid 81
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ Summary: D-BUS message bus configuration
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires(pre): /usr/sbin/useradd
|
Requires(pre): /usr/sbin/useradd
|
||||||
Requires: system-release >= %{system_release_version}
|
Requires: fedora-release >= %{fedora_release_version}
|
||||||
|
|
||||||
%description common
|
%description common
|
||||||
The %{name}-common package provides the configuration and setup files for D-Bus
|
The %{name}-common package provides the configuration and setup files for D-Bus
|
||||||
@ -444,6 +444,10 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 30 2018 David Herrmann <dh.herrmann@gmail.com> - 1:1.12.10-2
|
||||||
|
- Change 'system-release' dependency to 'fedora-release', since otherwise hard
|
||||||
|
version dependencies are ignored.
|
||||||
|
|
||||||
* Fri Aug 10 2018 David Herrmann <dh.herrmann@gmail.com> - 1:1.12.10-2
|
* Fri Aug 10 2018 David Herrmann <dh.herrmann@gmail.com> - 1:1.12.10-2
|
||||||
- Move generic units into 'dbus-common', so other dbus implementations can use
|
- Move generic units into 'dbus-common', so other dbus implementations can use
|
||||||
them as well.
|
them as well.
|
||||||
|
Loading…
Reference in New Issue
Block a user