On Thu, 2014-10-16 at 13:34 +0200, Jan Chaloupka wrote: > On 10/16/2014 12:56 PM, Vít Ondruch wrote: > > Dne 16.10.2014 v 10:35 Jan Chaloupka napsal(a): > >> Forwarding Colin's response [... snip ...] > >> Have you considered installing the timer file, but without the > >> dependency? If systemd is there, it could use it, otherwise not. That > >> would make a whole lot more sense to me than creating another package, > >> and would be my recommendation. > > This did not crossed my mind. > > > Actually that is good idea IMO. The %post script could silently fail if > > no systemd is no the system. > > Agree with Vita, this sound very good to me. Made a test build and it is > working fine. But it's contrary to the guidelines, as you're installing the unit file in %{_unitdir}, without requiring systemd to own this directory. Which goes back to the idea of either moving %{_unitdir} to the filesystem package, or having a systemd-filesystem package... -- Mathieu -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct