Compare commits

...
Sign in to create a new pull request.

62 commits

Author SHA1 Message Date
Debarshi Ray
05e5c6d1c9 Silence macro-in-comment
Fallout from 5d01674e18

[skip changelog]
2025-11-07 15:59:00 +01:00
Debarshi Ray
0c5ef210bd Convert to %autorelease and %autochangelog
... using 'rpmautospec convert'.

Differences in email addresses between Git commits and RPM %changelog
were resolved in favour of the latter.

[skip changelog]
2025-11-07 15:57:57 +01:00
Fedora Release Engineering
d7ee147567 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 19:03:06 +00:00
Fedora Release Engineering
3244c5916b Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 15:17:31 +00:00
Yaakov Selkowitz
c4ff19d719 Conditionalize dbus-broker dependency
dbus-broker is a host service (with both system and user instances), and
should not (and need not) be present to use DBus in flatpaks or toolboxes.
2025-01-03 16:03:57 -05:00
David King
5ad569a6c9 Update to 1.16.0 and use meson 2024-12-17 12:09:37 +00:00
David King
641325c814 Update to 1.15.8 2024-12-17 12:09:37 +00:00
Marc-André Lureau
d5095b5d89 Update to 1.15.2 and meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-12-17 12:09:35 +00:00
Fedora Release Engineering
707f05d86c Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 20:34:04 +00:00
Fedora Release Engineering
cb6b0216c0 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 08:58:49 +00:00
Fedora Release Engineering
f89e791e43 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 16:44:28 +00:00
David King
53b34d262e Update to 1.14.10 2023-09-01 19:19:44 +01:00
Fedora Release Engineering
19968972eb Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 17:01:11 +00:00
David King
f6bc5d96e7 Update to 1.14.8
Use SPDX license expression.
2023-06-06 21:08:59 +01:00
David King
f1260338ca Update to 1.14.6 2023-02-08 18:05:50 +00:00
Fedora Release Engineering
788c9af7f8 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 01:01:08 +00:00
David King
1ec0a9242b Update to 1.14.4 2022-10-06 17:00:14 +01:00
David King
52feafa331 Update to 1.14.2 2022-09-27 08:03:56 +01:00
Debarshi Ray
da8aea9041 Restore Requires(pre) through %%sysusers_requires_compat
... to match %%sysusers_create_compat.

Fallout from f8a9185e19
2022-08-22 20:37:10 +02:00
Luca BRUNO
316e32c369 dbus: align sysusers.d configuration to Fedora user/group allocation
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2105177
2022-08-03 12:18:18 +00:00
Fedora Release Engineering
9d36c6aeb4 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 00:04:42 +00:00
David King
f8a9185e19 Use sysusers.d snippet for user configuration (#2105177)
As neither Debian nor openSUSE seem to use a static UID and GID, drop
that at the same time and prefer dynamic IDs instead.
2022-07-12 17:50:06 +01:00
David King
065c605ad5 Update to 1.14.0 2022-03-10 09:37:30 +00:00
David King
7d50ff21d7 Update to 1.13.22 2022-02-24 08:32:18 +00:00
Fedora Release Engineering
a4dd2a6ed1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 00:18:23 +00:00
David King
a69a094b1e Explicitly specify runstatedir (#2036943) 2022-01-04 13:57:24 +00:00
David King
35ba0cebc0 Update to 1.13.20 2021-12-17 16:28:28 +00:00
Kalev Lember
78984513f5 Avoid systemd_requires as per updated packaging guidelines
There is no need to have them as systemd correctly handles reloading
depending on the transaction ordering (even if systemd is installed
_after_ the package that installs the unit file).

Additionally, this also drops hard requires on /usr/bin/systemctl and
just makes the scriptlets that call systemctl conditional on systemctl
being present.

All of this helps avoid pulling in full systemd for container setups.
2021-10-01 12:33:22 +02:00
Fedora Release Engineering
ce63bf9240 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 20:25:40 +00:00
Fedora Release Engineering
7fee961c56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 03:02:11 +00:00
Tom Stellard
50b52089d0 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-19 05:32:14 +00:00
Fedora Release Engineering
b48caa7af0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 15:03:16 +00:00
David King
a7a918f4b1 Update to 1.12.20 2020-07-02 20:54:28 +01:00
David King
b5d6ebb285 Update to 1.12.18 2020-06-02 21:36:26 +01:00
David King
91491679c5 Improve permissions on ghosted /run/dbus 2020-02-25 08:36:30 +00:00
David King
e75175d9b4 Verify GPG signature of sources
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_source_file_verification
2020-02-25 08:08:29 +00:00
David King
dafecf5b80 Update python2- to python3-gobject 2020-01-31 10:58:35 +00:00
Fedora Release Engineering
628c608e41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 15:24:29 +00:00
David King
48e0f0c159 Ensure that patches are applied 2019-08-01 07:24:35 +01:00
Fedora Release Engineering
23b406f320 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 21:35:25 +00:00
David King
83ae3fd808 Update to 1.12.16 2019-06-11 19:00:28 +01:00
David King
92826827bd Update to 1.12.14 2019-05-17 16:20:37 +01:00
David King
e614b5e96b Improve user and group creation (#1698001) 2019-04-09 16:07:41 +01:00
David King
99352d1e4a Own system.d and session.d directories (#1696385) 2019-04-04 22:12:53 +01:00
Leigh Scott
cb1110c026 Fix f30 FTBFS 2019-03-03 11:52:41 +00:00
Kalev Lember
39280f37dc Update requires for pygobject3 -> python2-gobject rename
This also makes it explicit that the BRs are still using a python2
package as it's not immediately obvious that pygobject3 is the python2
build.
2019-02-04 09:44:18 +01:00
Fedora Release Engineering
d6293444a6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 16:50:34 +00:00
Igor Gnatenko
f8751d6244 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:58 +01:00
David King
03307dd79d Change -devel subpackage to depend on -libs 2018-12-14 23:03:31 +00:00
David King
dbe2752d95 Update to 1.12.12 2018-12-04 21:38:38 +00:00
David Herrmann
6ca2d754db Switch to dbus-broker as default backend
Make the 'dbus' package pull in 'dbus-broker' over 'dbus-daemon' as the
default implementation. Note that dbus-broker-16-2 is needed, since
this has the required hooks to switch over the systemd units.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-11-22 10:46:14 +00:00
Stephen Gallagher
bca95f22ec
Fix requirement on system-release
The addition of `Requires: fedora-release` broke all installations
using the non-branded `generic-release` package. This should not be
a requirement, but a conflict against versions older than those
which added the preset.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-11-07 10:43:51 -05:00
Tom Gundersen
4873c189a2 Fix messagebus alias 2018-11-06 17:43:55 +01:00
David King
cc2d235361 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.
2018-11-05 15:13:18 +00:00
Tom Gundersen
09cb4f85bc 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>
2018-11-05 14:46:51 +01:00
David Herrmann
5a8f8e63cb 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-24 08:08:44 +01:00
David King
f312051bb4 Remove unnecessary ldconfig calls
https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
2018-10-19 09:16:25 +01:00
David King
f087b7cb37 Move systemd to Requires of common subpackage (#1638910) 2018-10-19 09:16:03 +01:00
David King
dbd50d1961 Move user and group creation to daemon subpackage 2018-10-19 07:53:56 +01:00
Tom Gundersen
4372ca36ca 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-08-31 16:38:09 +02:00
David Herrmann
27eb7993d2 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-08-31 16:37:38 +02:00
David Herrmann
235a81bfa5 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-08-30 12:03:25 +02:00
8 changed files with 1305 additions and 1107 deletions

32
.gitignore vendored
View file

@ -40,3 +40,35 @@
/dbus-1.12.0.tar.gz
/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

1
.mailmap Normal file
View file

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

1164
changelog Normal file

File diff suppressed because it is too large Load diff

View file

@ -9,5 +9,7 @@ ExecReload=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=o
OOMScoreAdjust=-900
[Install]
Alias=dbus.service
# Make sure that services can still refer to this under the name of the
# old SysV script (messagebus).
Alias=dbus.service messagebus.service
WantedBy=multi-user.target

View file

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

1206
dbus.spec

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -1 +1,2 @@
SHA512 (dbus-1.12.10.tar.gz) = 36a16393af6630c32474b971fb8864ded0fb5fe08c5ff5243a4ca312b95af4f20335c5f166b72526a0b8162c1ccfe6542ad6953c5d21a0542d920d7cb4a9ac76
SHA512 (dbus-1.16.0.tar.xz) = 9206bf4e41575f379e4c615212d137600967311f3c8feac94692aadf4dca9df9169ae52c404ec8ed31a9b2bc718792be920ac0130f1159f082e4b6c66f3f233e
SHA512 (dbus-1.16.0.tar.xz.asc) = 92f4895cf02637b75f9dc481f6001bc5335ab0354cda6553536238a20333286a7dcebd516118c880da5fddc06a30c296ac0cd6edc56dd4059671d16b864227ee