Commit Graph

42 Commits

Author SHA256 Message Date
Franck Bui
bd396a705f - Bump to version 20
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=86
2023-03-29 11:38:28 +00:00
Franck Bui
a8a48f191f - Bump to version 19
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=83
2023-01-26 14:12:56 +00:00
Franck Bui
ef8c808e84 - udevadm hwdb is deprecated, use systemd-hwdb instead.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=82
2023-01-26 14:11:52 +00:00
Franck Bui
c89bcb87a5 - Bump to version 18
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=81
2022-11-23 17:14:27 +00:00
Franck Bui
756bd2c050 - Bump to version 17
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=79
2022-10-03 13:08:03 +00:00
Franck Bui
5b629403ed - Bump to version 16
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=77
2022-02-17 18:53:38 +00:00
Franck Bui
ccdcf965ab - Bump to version 15
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=75
2022-01-19 08:27:38 +00:00
Franck Bui
ccdbdfce8d - %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

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=74
2022-01-18 21:06:57 +00:00
Franck Bui
6f9fe0af97 - Bump version to 14
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=73
2021-11-17 12:31:01 +00:00
Franck Bui
818d21e58d Accepting request 922165 from home:dimstar:Factory
- Use %{load:} instead of %{?load:}: fix build with RPM 4.17.

OBS-URL: https://build.opensuse.org/request/show/922165
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=71
2021-09-29 13:21:24 +00:00
Franck Bui
4a8a20b75d - Bump to version 13
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=70
2021-06-30 09:59:52 +00:00
Franck Bui
bbc4a5b794 - Bump to version 12
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=68
2021-05-20 10:18:45 +00:00
Franck Bui
6fc47e8204 - Bump to version 11
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=65
2021-03-05 15:09:00 +00:00
Franck Bui
b9ed9090dc - Bump version to 10
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=61
2021-02-12 11:46:53 +00:00
Franck Bui
988d319a8f - 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.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=59
2021-02-12 11:01:43 +00:00
Franck Bui
e531b48b7a - Bump version to 9
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=57
2020-11-23 20:33:49 +00:00
Franck Bui
221719424c - Bump version to 8
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=53
2020-11-10 11:22:09 +00:00
Franck Bui
e3e0721640 - Bump version to 7
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=50
2020-11-09 11:40:24 +00:00
Franck Bui
179aa8a211 Fix typo
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=48
2020-11-09 09:26:07 +00:00
Franck Bui
aba6870f75 - Bump version to 6
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=47
2020-11-09 08:48:05 +00:00
Franck Bui
fe75626308 - Make rpmbuild load our own macros.systemd to import %{%_unitdir} properly
Ideally we should also own other %{_*dir} paths...
- Bump version to 5

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=43
2020-11-09 07:15:43 +00:00
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