diff --git a/libguestfs.spec b/libguestfs.spec index 80599ff..e5a2bfe 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -57,7 +57,7 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 Version: 1.45.6 -Release: 10%{?dist} +Release: 11%{?dist} License: LGPLv2+ # Build only for architectures that have a kernel @@ -309,8 +309,13 @@ BuildRequires: zfs-fuse %endif %endif -# For building the appliance. -Requires: supermin >= 5.1.18 +# Main package requires the appliance. This allows the appliance to +# be replaced if there exists a package called +# "libguestfs-noappliance". This package is not provided anywhere, +# you have to provide the dependency or make the package yourself. If +# you do then libguestfs won't install the appliance and you are free +# to replace it with (eg) a fixed appliance. +Requires: (%{name}-appliance = %{epoch}:%{version}-%{release} or %{name}-noappliance) # The daemon dependencies are not included automatically, because it # is buried inside the appliance, so list them here. @@ -417,6 +422,15 @@ Language bindings: %endif +%package appliance +Summary: Appliance for %{name} +Requires: supermin >= 5.1.18 + + +%description appliance +%{name}-appliance provides the appliance used by libguestfs. + + %package devel Summary: Development tools and libraries for %{name} Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} @@ -918,8 +932,6 @@ rm ocaml/html/.gitignore %{_bindir}/virt-copy-out %{_bindir}/virt-tar-in %{_bindir}/virt-tar-out -%{_libdir}/guestfs/ -%exclude %{_libdir}/guestfs/supermin.d/zz-packages-* %{_libdir}/libguestfs.so.* %{_mandir}/man1/guestfish.1* %{_mandir}/man1/guestfs-faq.1* @@ -940,6 +952,11 @@ rm ocaml/html/.gitignore %config(noreplace) %{_sysconfdir}/libguestfs-tools.conf +%files appliance +%{_libdir}/guestfs/ +%exclude %{_libdir}/guestfs/supermin.d/zz-packages-* + + %files devel %doc AUTHORS BUGS HACKING TODO README %doc examples/*.c @@ -1122,6 +1139,10 @@ rm ocaml/html/.gitignore %changelog +* Fri Aug 06 2021 Richard W.M. Jones - 1:1.45.6-11 +- Fix license files. +- Move appliance to separate subpackage (RHBZ#1989514). + * Thu Jul 22 2021 Fedora Release Engineering - 1:1.45.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild