sun-java7: fixes after tests on arm; jpackage-utils has to be added as a requirement in rpm

This commit is contained in:
Silvan Calarco 2012-08-23 15:26:18 +02:00
parent da8a775020
commit f33ae77937
2 changed files with 7 additions and 20 deletions

View File

@ -37,29 +37,16 @@ Source: LICENSE
#Source2: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-%{version}-linux-arm-sfp.tar.gz #Source2: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-%{version}-linux-arm-sfp.tar.gz
#Source3: sun-java7-jdk-profile #Source3: sun-java7-jdk-profile
#Source4: sun-java7-jre-profile #Source4: sun-java7-jre-profile
BuildRequires: jpackage-utils
Provides: jdk = %{version} Provides: jdk = %{version}
Provides: jdk2 = %{version} Provides: jdk2 = %{version}
License: Oracle Binary Code License License: Oracle Binary Code License
## AUTOBUILDREQ-BEGIN Requires: shared-mime-info
BuildRequires: glibc-devel Requires: desktop-file-utils
BuildRequires: libalsa-devel
BuildRequires: libodbc
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libXtst-devel
## AUTOBUILDREQ-END
BuildRequires: libXp
BuildRequires: libXt
BuildRequires: libSM
BuildRequires: libICE
BuildRequires: shared-mime-info
BuildRequires: desktop-file-utils
Requires: sun-java7-runtime = %{epoch}:%{version}-%{release} Requires: sun-java7-runtime = %{epoch}:%{version}-%{release}
Requires: menu-java Requires: menu-java
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Sun Java Developer's Kit. Sun Java Developer's Kit.
@ -76,7 +63,7 @@ Sun Java Platform Runtime Environment.
%prep %prep
[ "%{toplevel_dir}" != / ] && rm -rf "%{toplevel_dir}" [ "%{toplevel_dir}" != / ] && rm -rf "%{toplevel_dir}"
%setup -q -D -T -c %setup -q -T -c
#echo yes | MORE=10000 #echo yes | MORE=10000
%ifarch %{ix86} %ifarch %{ix86}
@ -94,8 +81,8 @@ tar xf jdk-%{version}-linux-x64.tar.gz
%ifarch arm %ifarch arm
wget -nv --tries=2 --no-cookies --header \ wget -nv --tries=2 --no-cookies --header \
"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk-%{version}-download-1501626.html;" \ "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk-%{version}-download-1501626.html;" \
http://download.oracle.com/otn-pub/java/jdk/%{version}-b24/jdk-%{version}-linux-arm.tar.gz http://download.oracle.com/otn-pub/java/jdk/%{version}-b24/jdk-%{version}-linux-arm-sfp.tar.gz
tar xf jdk-%{version}-linux-arm.tar.gz tar xf jdk-%{version}-linux-arm-sfp.tar.gz
%endif %endif
cd %{toplevel_dir} cd %{toplevel_dir}

View File

@ -1 +1 @@
VERSION = 2.3.10 VERSION = 2.3.11.1