Commit Graph

21 Commits

Author SHA256 Message Date
Franck Bui
c6f0727a32 - Drop DISABLE_STOP_ON_REMOVAL support (jsc#SLE-8968)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=40
2020-10-30 17:40:53 +00:00
Franck Bui
622c3bb210 - Bump version to 4.1
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=39
2020-09-25 09:26:01 +00:00
Franck Bui
8685313b9b - Bump version to 4
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=33
2019-02-25 09:56:11 +00:00
Franck Bui
283ce5b854 - Drop $YAST_IS_RUNNING in favor of $SYSTEMD_OFFLINE (bsc#1117489)
libzypp now kindly defines SYSTEMD_OFFLINE when appropriate (see
  bsc#1118758). Therefore we don't need to rely on YAST_IS_RUNNING
  anymore. It's a tiny step to make the SUSE macros closer to their
  upstream counterparts.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=31
2019-02-21 18:00:10 +00:00
Franck Bui
7ac942a4ee - systemd-sysv-convert has been moved from /usr/sbin to /usr/lib/systemd
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=30
2018-11-26 13:56:33 +00:00
Franck Bui
c6c149ba4c - remove confusing --user before --global
Backport from
  28d36da64a.
  This was spotted in bsc#1090785.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=29
2018-05-22 12:56:47 +00:00
Franck Bui
30f9356379 Accepting request 568124 from home:dimstar:Factory
- Fix system_user_post macro for usage with RPM 4.14, backport from
  https://github.com/systemd/systemd/commit/e67ba783.

Addresses build issues like
https://build.opensuse.org/package/live_build_log/openSUSE:Factory/appimaged/standard/x86_64

OBS-URL: https://build.opensuse.org/request/show/568124
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=26
2018-01-22 14:11:14 +00:00
Franck Bui
dcc8869b9f Accepting request 556888 from home:fbui:branches:Base:System
- Move macros.systemd in /usr/lib/rpm
  The file is not supposed to be customized by the user.

- Make %systemd_add_pre() more similar to %systemd_add_post()

- Make sure to apply presets if packages start shipping units during upgrades (bsc#1071543)

OBS-URL: https://build.opensuse.org/request/show/556888
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=25
2017-12-15 09:52:31 +00:00
5e363286ea Accepting request 500587 from home:dimstar:Factory
- BuildIgnore systemd-rpm-macros: a small cycle that can be
  avoided. system-rpm-macros is being pulled in by rpm-build as
  conveniance to the packagers.

OBS-URL: https://build.opensuse.org/request/show/500587
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=19
2017-06-06 08:26:34 +00:00
Thomas Blume
e03239fdc0 Accepting request 449714 from home:jengelh:branches:Base:System
- RPM group fix

OBS-URL: https://build.opensuse.org/request/show/449714
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=16
2017-01-11 16:20:27 +00:00
34f074503f Accepting request 362153 from home:dimstar:Factory
- Also honor DISABLE_STOP_ON_REMOVAL and DISABLE_RESTART_ON_UPDATE
  when specified by a package directly in the .spec file. Some
  package know that a restart of their service is fatal
  (boo#968405).

OBS-URL: https://build.opensuse.org/request/show/362153
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=13
2016-02-29 07:00:30 +00:00
5f77f48552 Accepting request 320474 from home:sbrabec:branches:systemd-preset
- 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 3.

OBS-URL: https://build.opensuse.org/request/show/320474
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=10
2015-08-05 15:23:06 +00:00
Dr. Werner Fink
a40b70d414 Accepting request 312224 from home:jengelh:branches:Base:System
- Check for presence/executability of systemd programs before
  executing them, and do not suppress warnings/errors resulting
  from them.

OBS-URL: https://build.opensuse.org/request/show/312224
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=9
2015-07-10 08:14:04 +00:00
12d04da2cd Accepting request 280610 from home:jengelh:branches:Base:System
- Update with new macros from systemd 218

OBS-URL: https://build.opensuse.org/request/show/280610
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=8
2015-01-12 09:12:57 +00:00
Dr. Werner Fink
a5d2fa379b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=7
2014-11-18 15:16:57 +00:00
Dr. Werner Fink
45953f9b68 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=6
2014-11-18 13:57:10 +00:00
Dr. Werner Fink
9c1f03c0b4 Accepting request 256883 from home:tsaupe:branches:Base:System
make systemd aware of changed unit file content after update

OBS-URL: https://build.opensuse.org/request/show/256883
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=5
2014-10-16 14:07:21 +00:00
Dr. Werner Fink
bf76b3fc74 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=2
2014-02-28 10:10:57 +00:00
Stephan Kulow
12dd43bb94 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd-rpm-macros?expand=0&rev=3 2014-02-07 13:56:41 +00:00
4fc530766b Split 13.1 from Factory
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd-rpm-macros?expand=0&rev=2
2013-09-20 08:12:39 +00:00
Stephan Kulow
c614fc8313 add link
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd-rpm-macros?expand=0&rev=1
2013-06-20 13:51:16 +00:00