"Lars" == Lars Vogdt
writes:
Lars> Hi Lars> On Mon, 16 Mar 2015 09:31:49 +0100 Togan Muftuoglu wrote: >> Depending on the systemd version available a different service file >> needs to be installed. What is the easy way to check if systemd version >> is > 214 Lars> rpm -q --qf "%{VERSION}" systemd Lars> should give you the currently installed version number of the Lars> package systemd. Assuming that either rpm and systemd is Lars> (pre)installed on a running system, you can also run this query in Lars> an RPM (pre/post/...) script. I am aware of rpm querry method but I was trying to avoid it in the spec file. Togan -- Life is endless possibilities -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org