[fakesystemd] spec:Add systemd_version macro and lower the version to fix F21 builroot

Václav Pavlín vpavlin at fedoraproject.org
Wed Aug 27 12:26:42 UTC 2014


commit 17de7b14a089147f1f8d5d8caae458b8f96eac6d
Author: Vaclav Pavlin <vpavlin at redhat.com>
Date:   Wed Aug 27 14:26:35 2014 +0200

    spec:Add systemd_version macro and lower the version to fix F21 builroot

 fakesystemd.spec |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/fakesystemd.spec b/fakesystemd.spec
index 9f5de1b..54e736e 100644
--- a/fakesystemd.spec
+++ b/fakesystemd.spec
@@ -1,3 +1,5 @@
+%define systemd_version 214
+
 Name:           fakesystemd
 Version:        1
 Release:        15%{?dist}
@@ -6,10 +8,10 @@ Summary:        Docker-specific package to simulate systemd presence in system
 License:        MIT
 BuildArch:      noarch
 
-Provides:   systemd = 215
-Provides:   systemd-units = 215
-Provides:   systemd-libs = 215
-Provides:   udev = 215
+Provides:   systemd = %{systemd_version}
+Provides:   systemd-units = %{systemd_version}
+Provides:   systemd-libs = %{systemd_version}
+Provides:   udev = %{systemd_version}
 Provides:   libgudev1
 Provides:   libudev.so.1
 Provides:   libudev.so.1(LIBUDEV_183)(64bit)


More information about the scm-commits mailing list