Disable some packages not available in RHEL 7.

This commit is contained in:
Richard W.M. Jones 2012-02-10 15:04:15 +00:00
parent 2fef5bf9b3
commit 796453a2aa

View File

@ -22,7 +22,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs Name: libguestfs
Epoch: 1 Epoch: 1
Version: 1.17.5 Version: 1.17.5
Release: 5%{?dist} Release: 6%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
URL: http://libguestfs.org/ URL: http://libguestfs.org/
@ -96,7 +96,9 @@ BuildRequires: gzip
BuildRequires: hfsplus-tools BuildRequires: hfsplus-tools
BuildRequires: iproute BuildRequires: iproute
BuildRequires: iputils BuildRequires: iputils
%if !0%{?rhel}
BuildRequires: jfsutils BuildRequires: jfsutils
%endif
BuildRequires: kernel BuildRequires: kernel
BuildRequires: libselinux BuildRequires: libselinux
BuildRequires: libxml2 BuildRequires: libxml2
@ -106,10 +108,12 @@ BuildRequires: lzop
BuildRequires: mdadm BuildRequires: mdadm
BuildRequires: module-init-tools BuildRequires: module-init-tools
BuildRequires: nilfs-utils BuildRequires: nilfs-utils
%if !0%{?rhel}
BuildRequires: ntfs-3g BuildRequires: ntfs-3g
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
BuildRequires: ntfsprogs BuildRequires: ntfsprogs
%endif %endif
%endif
BuildRequires: parted BuildRequires: parted
BuildRequires: procps BuildRequires: procps
BuildRequires: psmisc BuildRequires: psmisc
@ -152,7 +156,9 @@ Requires: gzip
Requires: hfsplus-tools Requires: hfsplus-tools
Requires: iproute Requires: iproute
Requires: iputils Requires: iputils
%if !0%{?rhel}
Requires: jfsutils Requires: jfsutils
%endif
Requires: kernel Requires: kernel
Requires: libselinux Requires: libselinux
Requires: libxml2 Requires: libxml2
@ -162,10 +168,12 @@ Requires: lzop
Requires: mdadm Requires: mdadm
Requires: module-init-tools Requires: module-init-tools
Requires: nilfs-utils Requires: nilfs-utils
%if !0%{?rhel}
Requires: ntfs-3g Requires: ntfs-3g
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
Requires: ntfsprogs Requires: ntfsprogs
%endif %endif
%endif
Requires: parted Requires: parted
Requires: procps Requires: procps
Requires: psmisc Requires: psmisc
@ -201,8 +209,10 @@ BuildRequires: java >= 1.5.0
BuildRequires: jpackage-utils BuildRequires: jpackage-utils
BuildRequires: java-devel BuildRequires: java-devel
BuildRequires: php-devel BuildRequires: php-devel
%if !0%{?rhel}
BuildRequires: erlang-erts BuildRequires: erlang-erts
BuildRequires: erlang-erl_interface BuildRequires: erlang-erl_interface
%endif
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: gjs BuildRequires: gjs
@ -572,6 +582,7 @@ Requires: php
php-%{name} contains PHP bindings for %{name}. php-%{name} contains PHP bindings for %{name}.
%if !0%{?rhel}
%package -n erlang-%{name} %package -n erlang-%{name}
Summary: Erlang bindings for %{name} Summary: Erlang bindings for %{name}
Group: Development/Libraries Group: Development/Libraries
@ -580,6 +591,7 @@ Requires: erlang-erts
%description -n erlang-%{name} %description -n erlang-%{name}
erlang-%{name} contains Erlang bindings for %{name}. erlang-%{name} contains Erlang bindings for %{name}.
%endif
%package gobject %package gobject
@ -1020,10 +1032,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Feb 10 2012 Richard W.M. Jones <rjones@redhat.com> - 1:1.17.5-5 * Fri Feb 10 2012 Richard W.M. Jones <rjones@redhat.com> - 1:1.17.5-6
- +BR ruby-irb. - +BR ruby-irb.
- Make virtio unconditional. It's been a very long time since disabling - Make virtio unconditional. It's been a very long time since disabling
virtio was a good idea. virtio was a good idea.
- Disable some packages not available in RHEL 7.
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.17.5-3 * Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.17.5-3
- Rebuild against PCRE 8.30 - Rebuild against PCRE 8.30