diff --git a/guestfs-tools.spec b/guestfs-tools.spec index 4fae220..2fb6bdb 100644 --- a/guestfs-tools.spec +++ b/guestfs-tools.spec @@ -208,24 +208,6 @@ Virt-win-reg lets you look at and modify the Windows Registry of Windows virtual machines. -%if !0%{?rhel} -%package -n virt-dib -Summary: Safe and secure diskimage-builder replacement -License: GPLv2+ -# This subpackage (only) must have an Epoch of 1 because it -# replaces a package in libguestfs which had an Epoch of 1. -Epoch: 1 - -Requires: libguestfs-dib >= 1:1.45.2-1 - - -%description -n virt-dib -Virt-dib is a safe and secure alternative to the OpenStack -diskimage-builder command. It is compatible with most -diskimage-builder elements. -%endif - - %package bash-completion Summary: Bash tab-completion scripts for %{name} BuildArch: noarch @@ -329,12 +311,6 @@ find $RPM_BUILD_ROOT -name '*.la' -delete mv $RPM_BUILD_ROOT%{_docdir}/%{name} installed-docs gzip --best installed-docs/*.xml -%if 0%{?rhel} -# Remove virt-dib if it was built. -rm -f $RPM_BUILD_ROOT%{_bindir}/virt-dib -rm -f $RPM_BUILD_ROOT%{_mandir}/man1/virt-dib.1* -%endif - # Find locale files. %find_lang %{name} @@ -410,15 +386,6 @@ end %{_mandir}/man1/virt-win-reg.1* -%if !0%{?rhel} -%files -n virt-dib -%license COPYING -%doc README -%{_bindir}/virt-dib -%{_mandir}/man1/virt-dib.1* -%endif - - %files bash-completion %license COPYING %dir %{_datadir}/bash-completion/completions