| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: systemd-rpm-macros | Distribution: openSUSE Tumbleweed |
| Version: 26 | Vendor: openSUSE |
| Release: 1.1 | Build date: Tue Jul 8 14:58:05 2025 |
| Group: Development/Tools/Building | Build host: reproducible |
| Size: 9909 | Source RPM: systemd-rpm-macros-26-1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: http://en.opensuse.org/openSUSE:Systemd_packaging_guidelines | |
| Summary: RPM macros for systemd | |
Starting with openSUSE 12.1, several RPM macros must be used to package systemd services files. This package provides these macros.
LGPL-2.1-or-later
* Tue Jul 08 2025 Franck Bui <fbui@suse.com>
- Bump version to 26
* Mon Jul 07 2025 Franck Bui <fbui@suse.com>
- Introduce %udev_trigger_with_reload() for packages that need to trigger events
in theirs scriplets. The new macro automatically triggers a reload of the udev
rule files as this step is often overlooked by packages (bsc#1237143).
* Sat Jun 24 2023 Franck Bui <fbui@suse.com>
- Bump to version 25
* Sat Jun 24 2023 Franck Bui <fbui@suse.com>
- Turn %tmpfiles_create/%sysusers_create into NOPs
The 2 following macros have also been converted into NOPs since we moved to
file triggers. Some packages might have assumed that their effects were
effective as soon as the macros return. However such assumption on tmpfiles
can't work on transactional systems anyways where changes must take place on
reboot.
When a system user/group needs to be created in %%pre, so proper ownership are
used when package's files are installed, "sysusers_create_package()" should be
used.
* Tue Jun 20 2023 Franck Bui <fbui@suse.com>
- Bump to version 24
* Tue Jun 20 2023 Franck Bui <fbui@suse.com>
- Drop %tmpfiles_create_package
It can't work during transactional updates because the paths that
systemd-tmpfiles usually operates on (such as /var) can't be changed. It
appears that the only user of this macro doesn't really need this macro so
let's drop it.
* Tue Jun 20 2023 Franck Bui <fbui@suse.com>
- Drop %sysusers_create_inline
It's deprecated and the only user of this macro is being converted to
%sysusers_create_package. So drop it now before the deprecated macro attracts
more users.
* Tue Jun 20 2023 Franck Bui <fbui@suse.com>
- Unlike systemd-tmpfiles call in %tmpfiles_create_package(), systemd-sysusers
must always be called by %sysusers_create_package() even on transactional
systems since it's part of the macro contract. Writing to /etc is not
recommended on such systems but it has to work anyways.
* Fri Jun 16 2023 Franck Bui <fbui@suse.com>
- Bump to version 23
* Fri Jun 16 2023 Franck Bui <fbui@suse.com>
- Restore the check that prevents systemd-tmpfiles to run during transactional updates
The check has been mistakenly dropped during the switch to file-triggers.
* Mon May 15 2023 Franck Bui <fbui@suse.com>
- Bump to version 22
* Wed May 10 2023 Franck Bui <fbui@suse.com>
- Make sure that (future) users of %sysctl_apply() and %binfmt_apply() will call
the macros with arguments.
* Wed May 10 2023 Franck Bui <fbui@suse.com>
- Test the presence of /run/systemd/system to check whether we're operating
during transactional updates. Hence the behavior is the same when operating in
a chroot or during transactional updates.
- Leave %sysctl_apply() and %binfmt_apply() empty (bsc#1211272)
Only the former has very few users currently and none of them has specific
code relying on the new sysctl values to be effective between the macros and
the file triggers.
* Tue May 09 2023 Franck Bui <fbui@suse.com>
- Bump to version 21
* Tue May 09 2023 Franck Bui <fbui@suse.com>
- Rely on 'systemd-update-helper' shell script to implement %service_* macros
The helper was introduced by upstream commit 6d825ab2d42d3219e49a1. The main
advantage is that we no more need to rebuild all packages to update the macro
definitions.
Internally the script relies on file triggers for 'daemon-reload' operations
and for restarting units (when needed).
- Update other macros to reflect the fact that systemd package provides file
triggers for sysusers, tmpfiles, hwdb, and journal catalog.
* Wed Mar 29 2023 Franck Bui <fbui@suse.com>
- Bump to version 20
* Wed Mar 29 2023 Franck Bui <fbui@suse.com>
- %service_del_postun: make sure to restart services if /etc/sysconfig/service
is not present.
* Wed Mar 29 2023 Franck Bui <fbui@suse.com>
- Drop support for -n/-f options in %service_del_postun
These options have been deprecated since a long time and the last package
relying on them (drkonqi5) in the Factory repository has been updated.
* Thu Jan 26 2023 Franck Bui <fbui@suse.com>
- Bump to version 19
* Thu Jan 26 2023 Franck Bui <fbui@suse.com>
- `udevadm hwdb` is deprecated, use `systemd-hwdb` instead.
* Wed Nov 23 2022 Franck Bui <fbui@suse.com>
- Bump to version 18
* Wed Nov 23 2022 Dan Čermák <dcermak@suse.com>
- Add %_user_tmpfilesdir macro
* Mon Oct 03 2022 Franck Bui <fbui@suse.com>
- Bump to version 17
* Mon Oct 03 2022 Franck Bui <fbui@suse.com>
- Fix syntax error in %tmpfiles_create_package() (bsc#1203945)
* Thu Feb 17 2022 Franck Bui <fbui@suse.com>
- Bump to version 16
* Thu Feb 17 2022 Franck Bui <fbui@suse.com>
- Drop enablement symlink migration support of SysV init scripts
This was announced here:
https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/3ERUP5ZZJ6PPA36L3HVN46BH6U6JL74O/
* Wed Jan 19 2022 Franck Bui <fbui@suse.com>
- Bump to version 15
* Tue Jan 18 2022 Franck Bui <fbui@suse.com>
- %sysusers_create_inline was wrongly marked as deprecated
- %sysusers_create can be useful in certain cases and won't go away until we'll
move to file triggers. So don't mark it as deprecated too
/usr/lib/rpm/macros.d/macros.systemd /usr/lib/systemd/system
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Nov 1 22:25:32 2025