Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

systemd-rpm-macros-24-1.3 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: systemd-rpm-macros Distribution: openSUSE:Factory:zSystems
Version: 24 Vendor: openSUSE
Release: 1.3 Build date: Tue Jun 20 18:08:47 2023
Group: Development/Tools/Building Build host: reproducible
Size: 9478 Source RPM: systemd-rpm-macros-24-1.3.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.

Provides

Requires

License

LGPL-2.1-or-later

Changelog

* 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
* Wed Nov 17 2021 Franck Bui <fbui@suse.com>
  - Bump version to 14
* Wed Nov 17 2021 Franck Bui <fbui@suse.com>
  - Introduce %_systemd_util_dir
    It's a backport of upstream commit 3bc66bfa0136e370a8f7b06c3b69a52f5636ef82.
* Wed Sep 29 2021 Dominique Leuenberger <dimstar@opensuse.org>
  - Use %{load:} instead of %{?load:}: fix build with RPM 4.17.
* Wed Jun 30 2021 Franck Bui <fbui@suse.com>
  - Bump to version 13
* Wed Jun 30 2021 Franck Bui <fbui@suse.com>
  - Make use of "Suggests:" in %systemd_ordering
    Until libzypp supports "OrderWithRequires:", we need to specify a
    similar ordering constraint that can be understood by the dep solver
    as well. Hence the use of "Suggests:" in %systemd_ordering
    (workaround for bsc#1187332).
* Thu May 20 2021 Franck Bui <fbui@suse.com>
  - Bump to version 12
* Thu May 20 2021 Franck Bui <fbui@suse.com>
  - Introduce %sysusers_create_package
    %sysusers_create and %sysusers_create_inline are now deprecated and
    the new macro should be used instead.
    Upstream commit 07a7d4a0040d221ff09e527e91c112b4ffab1dba.
  - Introduce %tmpfiles_create_package
    %%tmpfiles_create is now deprecreated and the new macros should be
    used instead.
    Upstream commit 0f78fee8d039000b987848a558fbaa15d916e14e.
* Thu May 20 2021 Franck Bui <fbui@suse.com>
  - %sysusers_create_inline: use here-docs instead of echo (bsc#1186282)
    Upstream commit dd2490ae12ad1e1795ecbf8f8944b950da9c8d06.
* Fri Mar 05 2021 Franck Bui <fbui@suse.com>
  - Bump to version 11
* Fri Mar 05 2021 Antonio Larrosa <alarrosa@suse.com>
  - Don't pass -f to rm in %service_add_post nor %systemd_user_post
* Fri Mar 05 2021 Antonio Larrosa <alarrosa@suse.com>
  - Add a %systemd_user_pre macro that creates a
    /run/systemd/rpm/needs-user-preset/$service file for each new
    service being installed so %systemd_user_post can call
    `systemctl --global preset $service` properly for newly
    installed user services (boo#1183051, boo#1183012).
* Thu Mar 04 2021 Antonio Larrosa <alarrosa@suse.com>
  - Fix %systemd_user_post. The --global parameter was handled as if
    it was another service name so %systemd_user_post wasn't working
    properly. Replace %systemd_user_post with the code from
    %service_add_post it was being expanded to but correctly passing
    - -global to systemctl (boo#1183051, boo#1182661).
* Fri Feb 12 2021 Franck Bui <fbui@suse.com>
  - Bump version to 10
* Fri Feb 12 2021 Franck Bui <fbui@suse.com>
  - Make upstream %systemd_{pre,post,preun,postun} aliases to their SUSE
    counterparts
    Packagers can now choose to use the upstream or the SUSE variants
    indifferently. For consistency the SUSE variants should be preferred
    since almost all SUSE packages already use them but the upstream
    versions might be usefull in certain cases where packages need to
    support multiple distros based on RPM.
* Fri Feb 12 2021 Franck Bui <fbui@suse.com>
  - Improve the logic used to apply the presets (bsc#1177039)
    Before presests were applied at a) package installation b) new units
    introduced via a package update (but after making sure that it was
    not a SysV initscript being converted).
    The problem is that a) didn't handle package a renaming or split
    properly since the package with the new name is installed rather
    being updated and therefore the presets were applied even if they
    were already with the old name.
    We now cover this case (and the other ones) by applying presets only
    if the units are new and the services are not being migrated. This
    regardless of whether this happens during an install or an update.

Files

/usr/lib/rpm/macros.d/macros.systemd
/usr/lib/systemd/system


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Jun 9 12:20:07 2024