Update
This commit is contained in:
parent
6f0e632e8b
commit
6a7ec87875
18
junit.spec
18
junit.spec
@ -29,8 +29,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: junit
|
Name: junit
|
||||||
Version: 4.10
|
Version: 4.11
|
||||||
Release: 8%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Java regression test package
|
Summary: Java regression test package
|
||||||
License: CPL
|
License: CPL
|
||||||
@ -38,20 +38,18 @@ URL: http://www.junit.org/
|
|||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
# git clone --bare git://github.com/KentBeck/junit.git junit.git
|
Source0: https://github.com/junit-team/junit/archive/r%{version}.tar.gz
|
||||||
# mkdir junit-4.10
|
|
||||||
# git --git-dir=junit.git --work-tree=junit-4.10 checkout r4.10
|
|
||||||
# tar cjf junit-4.10.tar.xz junit-4.10/
|
|
||||||
Source0: %{name}-%{version}.tar.xz
|
|
||||||
Source1: http://search.maven.org/remotecontent?filepath=%{name}/%{name}/%{version}/%{name}-%{version}.pom
|
|
||||||
Source2: junit-OSGi-MANIFEST.MF
|
Source2: junit-OSGi-MANIFEST.MF
|
||||||
Patch0: %{name}-removed-test.patch
|
Patch0: %{name}-removed-test.patch
|
||||||
|
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: ant-contrib
|
BuildRequires: ant-contrib
|
||||||
|
BuildRequires: apache-commons-net
|
||||||
BuildRequires: jpackage-utils >= 0:1.7.4
|
BuildRequires: jpackage-utils >= 0:1.7.4
|
||||||
|
BuildRequires: jakarta-oro
|
||||||
BuildRequires: java-devel >= 1:1.6.0
|
BuildRequires: java-devel >= 1:1.6.0
|
||||||
BuildRequires: hamcrest
|
BuildRequires: hamcrest
|
||||||
|
BuildRequires: maven-ant-tasks
|
||||||
BuildRequires: perl(Digest::MD5)
|
BuildRequires: perl(Digest::MD5)
|
||||||
|
|
||||||
Requires: hamcrest
|
Requires: hamcrest
|
||||||
@ -96,9 +94,9 @@ Obsoletes: junit4-demo < %{epoch}:%{version}-%{release}
|
|||||||
Demonstrations and samples for %{name}.
|
Demonstrations and samples for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-r%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
cp %{SOURCE1} pom.xml
|
cp build/maven/junit-pom-template.xml pom.xml
|
||||||
find -iname '*.class' -o -iname '*.jar' -delete
|
find -iname '*.class' -o -iname '*.jar' -delete
|
||||||
ln -s $(build-classpath hamcrest/core) lib/hamcrest-core-1.1.jar
|
ln -s $(build-classpath hamcrest/core) lib/hamcrest-core-1.1.jar
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user