1 diff -urp libvirt-1.3.2.orig/daemon/Makefile.am libvirt-1.3.2/daemon/Makefile.am
2 --- libvirt-1.3.2.orig/daemon/Makefile.am 2016-03-18 06:57:24.000000000 +0000
3 +++ libvirt-1.3.2/daemon/Makefile.am 2016-03-18 12:50:49.382768000 +0000
4 @@ -397,13 +397,11 @@ if WITH_SYSCTL
5 # Use $(prefix)/lib rather than $(libdir), since man sysctl.d insists on
6 # /usr/lib/sysctl.d/ even when libdir is /usr/lib64
8 - $(MKDIR_P) $(DESTDIR)$(prefix)/lib/sysctl.d
9 $(INSTALL_DATA) $(srcdir)/libvirtd.sysctl \
10 - $(DESTDIR)$(prefix)/lib/sysctl.d/60-libvirtd.conf
11 + $(DESTDIR)$(sysconfdir)/sysctl.d/60-libvirtd.conf
14 - rm -f $(DESTDIR)$(prefix)/lib/sysctl.d/60-libvirtd.conf
15 - rmdir $(DESTDIR)$(prefix)/lib/sysctl.d || :
16 + rm -f $(DESTDIR)$(sysconfdir)/sysctl.d/60-libvirtd.conf