Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
systemd-rpm-macros.17378
systemd-rpm-macros.changes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File systemd-rpm-macros.changes of Package systemd-rpm-macros.17378
------------------------------------------------------------------- Tue Nov 24 16:35:50 UTC 2020 - Franck Bui <fbui@suse.com> - Bump to version 5 (bsc#1179020) Backport changes from SLE15 so SLE12-SP2 and SLE15 versions are mostly identical. ------------------------------------------------------------------- Tue Nov 24 16:01:42 UTC 2020 - Franck Bui <fbui@suse.com> - Drop reference to FIRST_ARG in new introduced macro %service_del_postun_without_restart Influencing the behavior of the macro with 'FIRST_ARG' variable was a hack. We should not add that to newly introduced interfaces. ------------------------------------------------------------------- Tue Nov 24 15:55:10 UTC 2020 - Franck Bui <fbui@suse.com> - Rename the tag file used to detect when presets need to be applied Rather than placing these tags directly under /run, let's place them under /run/systemd/rpm. This also has the benefit to make the workaround for bsc#1059627 no more needed. ------------------------------------------------------------------- Tue Nov 24 15:18:39 UTC 2020 - Franck Bui <fbui@suse.com> - Move macros.systemd from /etc to /usr (backport from SLE15) macros.systemd has never meant to be modified and treated like a configuration file. Hence let's move it to /usr and don't tag it with %config. In the very unlikely case it's been modified, it will be backed up with .rpmsave extension but no more read by rpmbuild. ------------------------------------------------------------------- Tue Nov 24 14:51:14 UTC 2020 - Franck Bui <fbui@suse.com> - Add missing macro %_userpresetdir ------------------------------------------------------------------- Tue Nov 24 14:47:41 UTC 2020 - Franck Bui <fbui@suse.com> - rpm: fix %systemd_user_post() macro. Escape "--user" and "--global" arguments with "\\" since rpm treats arguments starting with "-" as macro options which causes "Unknown option" rpm error. Use %{expand:...} to force expansion of the inner macro. Otherwise %{?*} is recursively defined as "\--user \--global {%?*}" which causes "Too many levels of recursion in macro expansion" rpm error. Upstream commit: e67ba783696f21782ad5c2ba00515d387016e785 ------------------------------------------------------------------- Tue Nov 24 14:43:22 UTC 2020 - Franck Bui <fbui@suse.com> - Deprecate '-f'/'-n' options (backported from SLE15) When used with %service_del_preun, support for these options will be dropped as DISABLE_STOP_ON_REMOVAL support will be removed on the next version of SLE (jsc#SLE-8968) When used with %service_del_postun, they should be replaced with their counterpart %service_del_postun_with_restart/%service_del_postun_without_restart ------------------------------------------------------------------- Tue Nov 24 14:39:21 UTC 2020 - Franck Bui <fbui@suse.com> - Backport %service_del_postun_with_restart() It's the counterpart of %service_del_postun_without_restart() and replaces the '-f' option of %service_del_postun(). ------------------------------------------------------------------- Tue Nov 24 14:32:08 UTC 2020 - Franck Bui <fbui@suse.com> - Backport %systemd_ordering This macro is already available in later distros and should ease backports of packages, which rely on it. - Update some comments ------------------------------------------------------------------- Tue Nov 24 14:07:14 UTC 2020 - Franck Bui <fbui@suse.com> - Really test the presence of systemctl once No functional changes. ------------------------------------------------------------------- Tue Nov 24 09:47:06 UTC 2020 - Franck Bui <fbui@suse.com> - Split private macros related to presets off as these macros have never been intended to be used by any package but systemd-presets-branding. In fact these have been completely removed since SLE15. So let's move them into a "private" file. - Dont apply presets when migrating from a disabled initscript (bsc#1178481) - Test for the presence of systemctl only once in %service_add_{post,pre} ------------------------------------------------------------------- Wed Sep 30 14:28:50 UTC 2020 - Franck Bui <fbui@suse.com> - Passing %{?*} when calling a macro is broken (bsc#1177034) Apparently it won't be fixed (!?) so let's workaround it. ------------------------------------------------------------------- Fri Sep 25 09:36:45 UTC 2020 - Franck Bui <fbui@suse.com> - Bump to version 4.1 ------------------------------------------------------------------- Fri Sep 25 09:30:44 UTC 2020 - Franck Bui <fbui@suse.com> - Backport missing macros of directory paths from upstream + %_modulesloaddir + %_modprobedir + %_systemdgeneratordir + %_systemdusergeneratordir ------------------------------------------------------------------- Fri Sep 25 09:29:46 UTC 2020 - Franck Bui <fbui@suse.com> - Make sure %_restart_on_update_never and %_stop_on_removal_never don't expand to the empty string (bsc#1176932) Otherwise sequences like the following code: if [ ... ]; then %_restart_on_update_never fi would result in the following incorrect shell syntax: if [ ... ]; then fi ------------------------------------------------------------------- Fri Sep 11 12:43:28 UTC 2020 - Franck Bui <fbui@suse.com> - Introduce %service_del_postun_without_restart (bsc#1173034) This new interface is preferred over the use of %service_del_postun with '-f' and '-n' options. It's been in Factory since a year and a half. ------------------------------------------------------------------- Wed Aug 8 10:47:24 UTC 2018 - fbui@suse.com - Fix %systemd_post(): it's never called during package removal (bsc#1104176) Also make it useful by restoring its original implementation. ------------------------------------------------------------------- Thu Jan 18 17:19:15 UTC 2018 - fbui@suse.com - Backport from Factory: - Make sure to apply presets if packages start shipping units during upgrades (bsc#1071543 bsc#1073715) If a package started shipping units during upgrade only sysv migration was done. However if the package didn't ship any sysv scripts before no presets were applied. Now during upgrades, preset are always applied (still only during the first time the units are installed) then followed by the sysv migration machinery. The downside of this is that migrated services can have symlinks in both runlevel.target.wants/ (created by the sysv migration) and in the directory specified by the [Install] sections (created by "systemctl preset")... The whole thing should be rewritten. ------------------------------------------------------------------- Thu Jan 18 17:16:06 UTC 2018 - fbui@suse.com - Backport from Factory: - Remove a useless test in %service_add_pre() The test was placed where the condition '[ "$FIRST_ARG" -gt 1 ]' was always true. ------------------------------------------------------------------- Fri Dec 1 10:47:29 UTC 2017 - fbui@suse.com - Make sure to clean up "new-in-upgrade" tag file (bsc#1059627) The tag file might have been incorrectly left by a preceding update. ------------------------------------------------------------------- Wed Jun 1 11:54:44 UTC 2016 - Thomas.Blume@suse.com - %service_add_post() suppress daemon-reload when in installation system (bsc#982343) ------------------------------------------------------------------- Fri Apr 15 07:41:29 UTC 2016 - idonmez@suse.com - Sync with Factory for Gnome 3.20 fate#318572 - Version bumped to 3 ------------------------------------------------------------------- Thu Mar 10 13:05:19 UTC 2016 - werner@suse.de - Add %tmpfiles_create macro (bsc#956849) - Allow the packagers to specify the options -f and -n on the macros %service_del_preun(), %service_del_postun(), %systemd_post(), and %systemd_preun() (boo#968405) ------------------------------------------------------------------- Fri Nov 20 16:53:23 UTC 2015 - werner@suse.de - Support of DISABLE_STOP_ON_REMOVAL and DISABLE_RESTART_ON_UPDATE from /etc/sysconfig/service (bsc#955996) ------------------------------------------------------------------- Fri Sep 18 15:27:04 CEST 2015 - sbrabec@suse.com - Skip %systemd_preset_* during the clean installation to prevent presetting of all services (boo#946216). ------------------------------------------------------------------- Thu Aug 27 15:27:04 CEST 2015 - sbrabec@suse.com - Add %systemd_preset_pre and %systemd_preset_posttrans that will do one shot presetting of all services with changed system preset. It makes possible to to fix bad default service state (bnc#900935#c46, FATE#318949, FATE#317727, bnc#921075). - Increment version to 2.1. ------------------------------------------------------------------- Mon Jun 15 11:33:28 UTC 2015 - jengelh@inai.de - Check for presence/executability of systemd programs before executing them, and do not suppress warnings/errors resulting from them. ------------------------------------------------------------------- Fri Jan 9 13:38:16 UTC 2015 - jengelh@inai.de - Update with new macros from systemd 218 - Remove empty sections from specfile ------------------------------------------------------------------- Tue Nov 18 15:16:13 UTC 2014 - werner@suse.de - Mark /etc/rpm/macros.systemd as configuration file ------------------------------------------------------------------- Tue Nov 18 13:30:37 UTC 2014 - werner@suse.de - Apply then delete patch systemd-daemon-reload-before-service-restart.patch - Add orignal systemd macros as well (boo#807164) ------------------------------------------------------------------- Wed Oct 15 09:28:36 UTC 2014 - thomas.blume@suse.com - make systemd aware of changed unit file content after update add systemd-daemon-reload-before-service-restart.patch ------------------------------------------------------------------- Thu Mar 27 14:44:53 UTC 2014 - werner@suse.de - Add a %_ntpunitsdir macro ------------------------------------------------------------------- Thu Mar 27 12:22:11 UTC 2014 - fcrozat@suse.com - Add support to not restart services if running in YaST2 or if DISABLE_RESTART_ON_UPDATE is set to yes [bnc#858429] ------------------------------------------------------------------- Fri Feb 28 10:10:24 UTC 2014 - werner@suse.de - Require coreutils as rm and touch are used ------------------------------------------------------------------- Fri Feb 7 12:43:13 UTC 2014 - werner@suse.de - Make systemd rpm macros package a separate to avoid rebuild of the full package tree if systemd package change ------------------------------------------------------------------- Thu Jul 4 13:59:43 CEST 2013 - fcrozat@suse.com - Resync with systemd v205 macros ------------------------------------------------------------------- Mon Jun 17 10:49:50 UTC 2013 - mhrusecky@suse.com - New package with systemd rpm macros to avoid unnecessary build time dependencies
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor