From f7577e777779eeb8781dad30903d318a921824de Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 24 Mar 2013 11:46:41 +0000 Subject: Add version macros for systemd/rpm-helper to ease distro upgrades --- build.macros.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'build.macros.in') diff --git a/build.macros.in b/build.macros.in index 3b9914e..1488f3f 100644 --- a/build.macros.in +++ b/build.macros.in @@ -498,7 +498,7 @@ popd %{!-C:--fix-permissions} #------------------------------------------------------------------------------ -# Systemd macros +# Systemd and general service related macros # %_unitdir /usr/lib/systemd/system @@ -507,6 +507,13 @@ popd %_tmpfilescreate() /usr/bin/systemd-tmpfiles --create %{1}.conf \ %{nil} +# Minimum versions for various packaging helpers. +# These is defined here to easy upgrading from previous distros when the various +# service helpers change and thus those pacakges need to be installed first to +# ensure a smooth upgrade +%rpmhelper_required_version 0.24.11 +%systemd_required_version 195 + #------------------------------------------------------------------------------ # Redefine RPM sections to allow jumping over them using "--without
". # This an interesting alternative to --short-circuit. -- cgit v1.2.1