Compare commits

..

15 commits

Author SHA1 Message Date
David King
1542d96bcd Ensure presets are applied during this upgrade only 2019-01-21 13:30:41 +00:00
David King
3003d5f603 Change -devel subpackage to depend on -libs 2019-01-21 13:27:00 +00:00
David King
59e4e60b0b Update to 1.12.12 2019-01-21 13:25:41 +00:00
David King
e70dafcb63 Fix requirement on fedora-release
Similar to commit bca95f22ec on master.
2019-01-21 13:11:25 +00:00
Tom Gundersen
b9e195f6bf Fix messagebus alias 2019-01-21 12:57:10 +00:00
David King
d39121006b Add further Requires to subpackages
Add fedora-release to daemon subpackage, as the systemctl preset calls
in the triggerpostun require it. Add systemd_requires macro to daemon
subpackage, as it (like the common subpackage) calls systemctl in
triggerpostun.
2019-01-21 12:54:09 +00:00
Tom Gundersen
fe19cfc6e3 Add missing requires to 'common' and 'daemon' subpackage
Both subpackages call various %systemd scriptlets, so they need
the %systmd_requires macro. Their %triggerpostun also call
systemctl directly, so add an explicit Requires on that.

Some of this may in practice prove redundant, but let's be explicit
and hopefully more robust.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-01-21 12:53:52 +00:00
David Herrmann
7fba6aba69 Move 'useradd' dependency to daemon subpackage
The 'useradd' invocation is now on the 'daemon' subpackage, so move the
useradd dependency as well.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-10-25 16:11:15 +01:00
David King
e5920b7c91 Remove unnecessary ldconfig calls
https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
2018-10-22 08:58:37 +01:00
David King
7e5ac9fffd Move systemd to Requires of common subpackage (#1638910) 2018-10-22 08:58:34 +01:00
David King
8f3ff4dd6c Move user and group creation to daemon subpackage 2018-10-22 08:58:30 +01:00
Tom Gundersen
7e05148768 dbus: depend on the right fedora-release for f29
Signed-off-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-10-22 08:58:23 +01:00
Tom Gundersen
83c01b25d9 dbus: apply presets on update
The systemd RPM macros only apply presets on first install, we need
to also apply them on the initial upgrade that starts depending on
them.

Signed-off-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-10-22 08:58:23 +01:00
David Herrmann
79fe35567b 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>
2018-10-22 08:58:23 +01:00
David Herrmann
337387ac7b dbus: move systemd-hooks for dbus.socket to 'dbus-common'
The systemd_{post,postun,preun,..} hooks should be called in the package
that actually provides the given files. There is no harm in calling
these in the dbus-daemon package, but preferably we don't. Move this to
'dbus-common' for dbus.socket, since dbus.socket is provided by it. This
makes sure the unit is properly enabled/disabled even without the
dbus-daemon package installed.

Note that it is safe to enable/disable dbus.socket even without a
dbus.service around. systemd can deal with this just fine, and only ever
actually pulls in the socket if an activatable service is around.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-10-22 08:58:23 +01:00
7 changed files with 1128 additions and 1280 deletions

31
.gitignore vendored
View file

@ -41,34 +41,3 @@
/dbus-1.12.8.tar.gz
/dbus-1.12.10.tar.gz
/dbus-1.12.12.tar.gz
/dbus-1.12.14.tar.gz
/dbus-1.12.16.tar.gz
/dbus-1.12.16.tar.gz.asc
/dbus-1.12.18.tar.gz
/dbus-1.12.18.tar.gz.asc
/dbus-1.12.20.tar.gz
/dbus-1.12.20.tar.gz.asc
/dbus-1.13.18.tar.xz
/dbus-1.13.18.tar.xz.asc
/dbus-1.13.20.tar.xz
/dbus-1.13.20.tar.xz.asc
/dbus-1.13.22.tar.xz
/dbus-1.13.22.tar.xz.asc
/dbus-1.14.0.tar.xz
/dbus-1.14.0.tar.xz.asc
/dbus-1.14.2.tar.xz
/dbus-1.14.2.tar.xz.asc
/dbus-1.14.4.tar.xz
/dbus-1.14.4.tar.xz.asc
/dbus-1.14.6.tar.xz
/dbus-1.14.6.tar.xz.asc
/dbus-1.14.8.tar.xz
/dbus-1.14.8.tar.xz.asc
/dbus-1.14.10.tar.xz
/dbus-1.14.10.tar.xz.asc
/dbus-1.15.2.tar.xz
/dbus-1.15.2.tar.xz.asc
/dbus-1.15.8.tar.xz
/dbus-1.15.8.tar.xz.asc
/dbus-1.16.0.tar.xz
/dbus-1.16.0.tar.xz.asc

View file

@ -1 +0,0 @@
<rishi@fedoraproject.org> <debarshir@gnome.org>

1164
changelog

File diff suppressed because it is too large Load diff

View file

@ -1,2 +0,0 @@
#Type Name ID GECOS Home directory Shell
u dbus 81 "System Message Bus" - -

1207
dbus.spec

File diff suppressed because it is too large Load diff

View file

@ -1,2 +1 @@
SHA512 (dbus-1.16.0.tar.xz) = 9206bf4e41575f379e4c615212d137600967311f3c8feac94692aadf4dca9df9169ae52c404ec8ed31a9b2bc718792be920ac0130f1159f082e4b6c66f3f233e
SHA512 (dbus-1.16.0.tar.xz.asc) = 92f4895cf02637b75f9dc481f6001bc5335ab0354cda6553536238a20333286a7dcebd516118c880da5fddc06a30c296ac0cd6edc56dd4059671d16b864227ee
SHA512 (dbus-1.12.12.tar.gz) = 51af4e86ab7d36e1c9a861164e7cd7aa1605fdd82f90aed8728b34c45a87864a00671de9db00d88ea6f96be97459c7eb53d2517ea9d9687ae9ebf81c58c3a80f