Compare commits

...
Sign in to create a new pull request.

1 commit

2 changed files with 22 additions and 4 deletions

15
configure.patch Normal file
View file

@ -0,0 +1,15 @@
--- configure 2011-03-22 14:11:19.000000000 +0100
+++ configure_new 2011-08-16 15:35:00.172118380 +0200
@@ -4051,11 +4051,11 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SYSTEM_NETBEANS_DIR}" >&5
$as_echo "${SYSTEM_NETBEANS_DIR}" >&6; }
if test "$VVVERSION" = "1.3.2"; then
- NB_PLATFORM=platform12;
+ NB_PLATFORM=platform;
else if test "$VVVERSION" = "1.3.1"; then
NB_PLATFORM=platform12;
else if test "$VVVERSION" = "1.3"; then
NB_PLATFORM=platform12;
else

View file

@ -12,6 +12,7 @@ URL: http://visualvm.dev.java.net/
Source0: %{dwnldurl}/visualvm_harness-%{visualvmharnessver}.tar.gz
Source1: %{dwnldurl}/visualvm_132-src.tar.gz
Source2: %{dwnldurl}/netbeans-profiler-visualvm_release691.tar.gz
Patch1: configure.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@ -20,11 +21,12 @@ BuildRequires: java >= 1.6.0
BuildRequires: java-devel >= 1.6.0
BuildRequires: jakarta-commons-logging
BuildRequires: desktop-file-utils
BuildRequires: netbeans-platform >= 6.9-1
BuildRequires: netbeans-platform-harness
BuildRequires: netbeans-apisupport
BuildRequires: netbeans-platform
BuildRequires: ant
#BuildRequires: netbeans-platform-harness
#BuildRequires: netbeans-apisupport
Requires: netbeans-platform >= 6.9-1
Requires: netbeans-platform
Requires: java >= 1.6.0
Requires: java-devel >= 1.6.0
@ -42,6 +44,7 @@ performance analysis for the Java SE platform.
%setup -q -n visualvm_harness-%{visualvmharnessver}
%build
patch -p0 < %{PATCH1}
./configure --prefix=/usr \
--with-visualvm-zip=%{SOURCE1} \
--with-netbeans-profiler-zip=%{SOURCE2} \