mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
spec: Fix files list when building without driver modules
The daemon-config-{network,nwfilter} subpackages are built regardless of whether or not with_driver_modules is defined, therefore don't conditionally define their files list.
This commit is contained in:
parent
f422ab05b8
commit
b531255b6e
@ -1890,18 +1890,18 @@ exit 0
|
|||||||
%{_mandir}/man8/libvirtd.8*
|
%{_mandir}/man8/libvirtd.8*
|
||||||
%{_mandir}/man8/virtlockd.8*
|
%{_mandir}/man8/virtlockd.8*
|
||||||
|
|
||||||
%if %{with_driver_modules}
|
%if %{with_network}
|
||||||
%if %{with_network}
|
|
||||||
%files daemon-config-network
|
%files daemon-config-network
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_nwfilter}
|
%if %{with_nwfilter}
|
||||||
%files daemon-config-nwfilter
|
%files daemon-config-nwfilter
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_sysconfdir}/libvirt/nwfilter/*.xml
|
%{_sysconfdir}/libvirt/nwfilter/*.xml
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with_driver_modules}
|
||||||
%if %{with_interface}
|
%if %{with_interface}
|
||||||
%files daemon-driver-interface
|
%files daemon-driver-interface
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user