]> git.ipfire.org Git - thirdparty/libvirt.git/commit
spec: replace scriptlets with new systemd macros
authorVáclav Pavlín <vpavlin@redhat.com>
Thu, 25 Oct 2012 10:10:55 +0000 (12:10 +0200)
committerEric Blake <eblake@redhat.com>
Mon, 5 Nov 2012 21:30:56 +0000 (14:30 -0700)
commitec02d49dfd98313d1c8c4179e88754f10a82ca46
treeb2197f32dde9319beaab155b9774bdb03079a105
parentb61eadf3c62be4dfa452e04bf851aa5f2e0acb4b
spec: replace scriptlets with new systemd macros

https://bugzilla.redhat.com/850186

I added %with_systemd_macros so it should now work in F17 with old
scriptlets and in F18+/RHEL7+ with systemd macros
(see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd)

I missed libvirt-guests.service because there is no systemctl call for
it. So I only added systemd macros calls.
libvirt.spec.in