summaryrefslogtreecommitdiff
path: root/libvirt.spec.in
diff options
context:
space:
mode:
authorAndrea Bolognani <abologna@redhat.com>2021-11-16 11:02:01 +0100
committerAndrea Bolognani <abologna@redhat.com>2021-11-18 15:47:57 +0100
commit47c439ce4490feac32b4ae2a2499fcc535e2634a (patch)
treeabcfdea5fc0a7f04288506ac8eb3499144f55f72 /libvirt.spec.in
parentbbbf774fb2c104e374313b7489834df88a08fbfb (diff)
downloadlibvirt-47c439ce4490feac32b4ae2a2499fcc535e2634a.tar.gz
spec: Don't create unnecessary directory
The directory is already created by the build system, so we don't need to create it explicitly in the spec file; moreover, the path was incorrect, because it used datadir instead of localstatedir. Fixes: 4e041189f85bc1b0f8d5278c0cafdd4aba55beaf Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'libvirt.spec.in')
-rw-r--r--libvirt.spec.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 5f1773ef93..85e879fedb 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1192,7 +1192,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/storage-file/*.a
rm -f $RPM_BUILD_ROOT%{wireshark_plugindir}/libvirt.la
%endif
-install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lib/libvirt/dnsmasq/
# We don't want to install /etc/libvirt/qemu/networks in the main %%files list
# because if the admin wants to delete the default network completely, we don't
# want to end up re-incarnating it on every RPM upgrade.