rpms/eclipse-testframework/devel eclipse-nowin32testfragment.patch, NONE, 1.1 eclipse-testframework-fetch-src.sh, NONE, 1.1 eclipse-testframework.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andrew Overholt overholt at fedoraproject.org
Fri Aug 21 18:41:25 UTC 2009


Author: overholt

Update of /cvs/pkgs/rpms/eclipse-testframework/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26104/devel

Modified Files:
	.cvsignore sources 
Added Files:
	eclipse-nowin32testfragment.patch 
	eclipse-testframework-fetch-src.sh eclipse-testframework.spec 
	import.log 
Log Message:
Initial import (review bug #518486).


eclipse-nowin32testfragment.patch:
 feature.xml |    8 --------
 1 file changed, 8 deletions(-)

--- NEW FILE eclipse-nowin32testfragment.patch ---
diff -up ./org.eclipse.test-feature/feature.xml.nowin32 ./org.eclipse.test-feature/feature.xml
--- ./org.eclipse.test-feature/feature.xml.nowin32	2008-08-27 10:14:56.000000000 -0400
+++ ./org.eclipse.test-feature/feature.xml	2008-08-27 10:15:04.000000000 -0400
@@ -58,14 +58,6 @@
          unpack="false"/>
 
    <plugin
-         id="org.eclipse.test.performance.win32"
-         download-size="0"
-         install-size="0"
-         version="0.0.0"
-         fragment="true"
-         unpack="false"/>
-
-   <plugin
          id="org.junit"
          download-size="0"
          install-size="0"


--- NEW FILE eclipse-testframework-fetch-src.sh ---
#!/bin/sh
usage='usage: $0 <tag>'
name=eclipse-testframework
tag=$1
tar_name=$name-fetched-src-$tag

if [ "x$tag"x = 'xx' ]; then
   echo >&2 "$usage"
   exit 1
fi

rm -fr $tar_name && mkdir $tar_name
pushd $tar_name

# Fetch plugins
for f in \
org.eclipse.ant.optional.junit \
org.eclipse.test \
org.eclipse.test.performance \
org.eclipse.test-feature \
; do
cvs -d :pserver:anonymous at dev.eclipse.org:/cvsroot/eclipse export -r $tag $f;
done

popd
# create archive
tar -cjf $tar_name.tar.bz2 $tar_name


--- NEW FILE eclipse-testframework.spec ---
%global eclipse_base   %{_libdir}/eclipse
%global install_loc    %{_datadir}/eclipse/dropins/testframework
%global tag            R3_5

Name:           eclipse-testframework
Version:        3.5.0
Release:        2%{?dist}
Summary:        Eclipse Test Framework

Group:          Development/Tools
License:        EPL
URL:            http://eclipse.org
## sh %{name}-fetch-src.sh %{tag}
Source0:        %{name}-fetched-src-%{tag}.tar.bz2
Source1:        %{name}-fetch-src.sh
# Remove win32 fragment from test feature
Patch0:         eclipse-nowin32testfragment.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch: noarch

BuildRequires: eclipse-pde >= 1:3.5.0
BuildRequires: easymock2
Requires: eclipse-platform >= 3.4.0
Requires: easymock2
Requires: eclipse-jdt

%description
Eclipse Test Framework. Used in conjunction with Eclipse JUnit tests.

%prep
%setup -q -n %{name}-fetched-src-%{tag}
chmod -x org.eclipse.test-feature/*.html
%patch0

mkdir orbitDeps
pushd orbitDeps
ln -s %{_javadir}/easymock2.jar org.easymock_2.4.0.v20090202-0900.jar
popd

%build
%{eclipse_base}/buildscripts/pdebuild -f org.eclipse.test -o `pwd`/orbitDeps

%install
%{__rm} -rf %{buildroot}
install -d -m 755 %{buildroot}%{install_loc}

%{__unzip} -q -d %{buildroot}%{install_loc} \
     build/rpmBuild/org.eclipse.test.zip

pushd $RPM_BUILD_ROOT%{install_loc}/eclipse/plugins
rm -fr org.junit*
rm org.easymock_2.4.0.v20090202-0900.jar
ln -s ../../../../../java/easymock2.jar org.easymock_2.4.0.v20090202-0900.jar
popd

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{install_loc}
%doc org.eclipse.test-feature/license.html
%doc org.eclipse.test-feature/epl-v10.html

%changelog
* Fri Aug 21 2009 Alexander Kurtakov <akurtako at redhat.com> 3.5.0-2
- Fix non-standard-dir-perm.

* Mon Aug 17 2009 Alexander Kurtakov <akurtako at redhat.com> 3.5.0-1
- Initial package.


--- NEW FILE import.log ---
eclipse-testframework-3_5_0-2_fc11:HEAD:eclipse-testframework-3.5.0-2.fc11.src.rpm:1250879895


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-testframework/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	21 Aug 2009 18:25:11 -0000	1.1
+++ .cvsignore	21 Aug 2009 18:41:24 -0000	1.2
@@ -0,0 +1 @@
+eclipse-testframework-fetched-src-R3_5.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-testframework/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	21 Aug 2009 18:25:11 -0000	1.1
+++ sources	21 Aug 2009 18:41:25 -0000	1.2
@@ -0,0 +1 @@
+6ef74438dfeb4919be5bef810bf93e2d  eclipse-testframework-fetched-src-R3_5.tar.bz2




More information about the scm-commits mailing list