Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8cccd5c53f |
1 changed files with 6 additions and 61 deletions
|
|
@ -40,7 +40,7 @@ Summary: Access and modify virtual machine disk images
|
|||
Name: libguestfs
|
||||
Epoch: 1
|
||||
Version: 1.40.2
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: LGPLv2+
|
||||
|
||||
# Source and patches.
|
||||
|
|
@ -150,9 +150,6 @@ BuildRequires: rubygem(json)
|
|||
BuildRequires: rubygem(rdoc)
|
||||
BuildRequires: rubygem(test-unit)
|
||||
BuildRequires: ruby-irb
|
||||
BuildRequires: java-1.8.0-openjdk
|
||||
BuildRequires: java-1.8.0-openjdk-devel
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: php-devel
|
||||
BuildRequires: erlang-erts
|
||||
BuildRequires: erlang-erl_interface
|
||||
|
|
@ -285,7 +282,6 @@ Language bindings:
|
|||
%ifarch %{golang_arches}
|
||||
golang-guestfs Go language bindings
|
||||
%endif
|
||||
libguestfs-java-devel Java bindings
|
||||
lua-guestfs Lua bindings
|
||||
ocaml-libguestfs-devel OCaml bindings
|
||||
perl-Sys-Guestfs Perl bindings
|
||||
|
|
@ -733,42 +729,6 @@ Provides: ruby(guestfs) = %{version}
|
|||
ruby-%{name} contains Ruby bindings for %{name}.
|
||||
|
||||
|
||||
%package java
|
||||
Summary: Java bindings for %{name}
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: java-headless >= 1.5.0
|
||||
Requires: jpackage-utils
|
||||
|
||||
%description java
|
||||
%{name}-java contains Java bindings for %{name}.
|
||||
|
||||
If you want to develop software in Java which uses %{name}, then
|
||||
you will also need %{name}-java-devel.
|
||||
|
||||
|
||||
%package java-devel
|
||||
Summary: Java development package for %{name}
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-java = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description java-devel
|
||||
%{name}-java-devel contains the tools for developing Java software
|
||||
using %{name}.
|
||||
|
||||
See also %{name}-javadoc.
|
||||
|
||||
|
||||
%package javadoc
|
||||
Summary: Java documentation for %{name}
|
||||
BuildArch: noarch
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-java = %{epoch}:%{version}-%{release}
|
||||
Requires: jpackage-utils
|
||||
|
||||
%description javadoc
|
||||
%{name}-javadoc contains the Java documentation for %{name}.
|
||||
|
||||
|
||||
%package -n php-%{name}
|
||||
Summary: PHP bindings for %{name}
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
|
@ -904,6 +864,7 @@ fi
|
|||
--with-default-backend=libvirt \\\
|
||||
--with-extra="fedora=%{fedora},release=%{release},libvirt" \\\
|
||||
--with-virt-v2v-nbdkit-python-plugin=python3 \\\
|
||||
--without-java \\\
|
||||
$extra
|
||||
%ifnarch %{golang_arches}
|
||||
%global localconfigure %{localconfigure} --disable-golang
|
||||
|
|
@ -981,11 +942,6 @@ rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-list-filesystems.1*
|
|||
rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-list-partitions.1*
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-tar.1*
|
||||
|
||||
# Don't use versioned jar file (RHBZ#1022133).
|
||||
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1022184#c4
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/java/%{name}-%{version}.jar \
|
||||
$RPM_BUILD_ROOT%{_datadir}/java/%{name}.jar
|
||||
|
||||
# golang: Ignore what libguestfs upstream installs, and just copy the
|
||||
# source files to %{_datadir}/gocode/src.
|
||||
%ifarch %{golang_arches}
|
||||
|
|
@ -1336,21 +1292,6 @@ install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/
|
|||
%{_mandir}/man3/guestfs-ruby.3*
|
||||
|
||||
|
||||
%files java
|
||||
%{_libdir}/libguestfs_jni*.so.*
|
||||
%{_datadir}/java/*.jar
|
||||
|
||||
|
||||
%files java-devel
|
||||
%doc java/examples/*.java
|
||||
%{_libdir}/libguestfs_jni*.so
|
||||
%{_mandir}/man3/guestfs-java.3*
|
||||
|
||||
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
|
||||
%files -n php-%{name}
|
||||
%doc php/README-PHP
|
||||
%dir %{_sysconfdir}/php.d
|
||||
|
|
@ -1411,6 +1352,10 @@ install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 18 2019 Richard W.M. Jones <rjones@redhat.com> - 1:1.40.2-4
|
||||
- Remove Java bindings.
|
||||
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/CW4XMOIKMNRRPAZ4H2ER7VPBY6YV2ODL/#YHTZ7IGVTKPWCBOY5C6UW7BMX7F35R5Q
|
||||
|
||||
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.40.2-2
|
||||
- Rebuild for readline 8.0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue