Update to 6.9.5
This commit is contained in:
parent
09aace1f8f
commit
93bf19d071
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
testng-5.11.zip
|
|
||||||
/testng-6.0.1.tar.xz
|
/testng-6.0.1.tar.xz
|
||||||
/testng-6.8.tar.gz
|
/testng-6.8.tar.gz
|
||||||
/testng-6.8.5.tar.gz
|
/testng-6.8.5.tar.gz
|
||||||
@ -7,3 +6,4 @@ testng-5.11.zip
|
|||||||
/testng-6.8.14.tar.gz
|
/testng-6.8.14.tar.gz
|
||||||
/testng-6.8.17.tar.gz
|
/testng-6.8.17.tar.gz
|
||||||
/testng-6.8.21.tar.gz
|
/testng-6.8.21.tar.gz
|
||||||
|
/testng-6.9.5.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
6d2331958850922796329a9d9e141e02 testng-6.8.21.tar.gz
|
acfcadb5d16c5d7a317d1af0890ab1b4 testng-6.9.5.tar.gz
|
||||||
|
57
testng.spec
57
testng.spec
@ -2,28 +2,27 @@
|
|||||||
%global group_id org.testng
|
%global group_id org.testng
|
||||||
|
|
||||||
Name: testng
|
Name: testng
|
||||||
Version: 6.8.21
|
Version: 6.9.5
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Java-based testing framework
|
Summary: Java-based testing framework
|
||||||
# org/testng/remote/strprotocol/AbstractRemoteTestRunnerClient.java is CPL
|
# org/testng/remote/strprotocol/AbstractRemoteTestRunnerClient.java is CPL
|
||||||
License: ASL 2.0 and CPL
|
License: ASL 2.0 and CPL
|
||||||
URL: http://testng.org/
|
URL: http://testng.org/
|
||||||
Source0: https://github.com/cbeust/testng/archive/%{name}-%{version}.tar.gz
|
Source0: https://github.com/cbeust/testng/archive/testng-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: mvn(com.beust:jcommander) >= 1.27
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(com.google.guava:guava)
|
BuildRequires: mvn(com.beust:jcommander)
|
||||||
BuildRequires: mvn(com.google.inject:guice)
|
BuildRequires: mvn(com.google.inject:guice::no_aop:)
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
BuildRequires: mvn(org.apache.ant:ant)
|
BuildRequires: mvn(org.apache.ant:ant)
|
||||||
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.beanshell:bsh)
|
BuildRequires: mvn(org.beanshell:bsh)
|
||||||
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
BuildRequires: mvn(org.yaml:snakeyaml)
|
BuildRequires: mvn(org.yaml:snakeyaml)
|
||||||
|
|
||||||
BuildRequires: maven-local
|
|
||||||
BuildRequires: maven-plugin-bundle
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
TestNG is a testing framework inspired from JUnit and NUnit but introducing
|
TestNG is a testing framework inspired from JUnit and NUnit but introducing
|
||||||
some new functionality, including flexible test configuration, and
|
some new functionality, including flexible test configuration, and
|
||||||
@ -39,51 +38,45 @@ This package contains the API documentation for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
|
||||||
# build fix for new guice
|
# remove any bundled libs
|
||||||
%pom_add_dep com.google.guava:guava::provided
|
find -name *.jar -delete
|
||||||
sed -i "s|com.google.inject.internal|com.google.common.collect|" \
|
find -name *.class -delete
|
||||||
src/main/java/org/testng/xml/XmlDependencies.java \
|
|
||||||
src/main/java/org/testng/xml/XmlGroups.java \
|
|
||||||
src/main/java/org/testng/xml/dom/TestNGTagFactory.java \
|
|
||||||
src/test/java/test/dependent/InstanceSkipSampleTest.java \
|
|
||||||
src/test/java/test/mustache/MustacheTest.java \
|
|
||||||
src/test/java/test/thread/B.java
|
|
||||||
|
|
||||||
|
# these are unnecessary
|
||||||
%pom_remove_plugin :maven-gpg-plugin
|
%pom_remove_plugin :maven-gpg-plugin
|
||||||
%pom_remove_plugin :maven-source-plugin
|
%pom_remove_plugin :maven-source-plugin
|
||||||
|
%pom_remove_plugin :maven-javadoc-plugin
|
||||||
|
|
||||||
# remove bundled stuff
|
# test deps not in Fedora
|
||||||
rm -rf spring
|
%pom_remove_dep org.assertj:assertj-core
|
||||||
rm -rf 3rdparty
|
|
||||||
rm -rf lib-supplied
|
|
||||||
rm -rf gigaspaces
|
|
||||||
rm -f *.jar
|
|
||||||
|
|
||||||
# convert to UTF-8
|
# plugins not in Fedora
|
||||||
native2ascii -encoding UTF-8 src/main/java/org/testng/internal/Version.java \
|
%pom_remove_plugin com.coderplus.maven.plugins:copy-rename-maven-plugin
|
||||||
src/main/java/org/testng/internal/Version.java
|
sed -i -e 's/VersionTemplateJava/Version.java/' pom.xml
|
||||||
|
mv ./src/main/resources/org/testng/internal/VersionTemplateJava ./src/main/resources/org/testng/internal/Version.java
|
||||||
iconv --from-code=ISO-8859-2 --to-code=UTF-8 ANNOUNCEMENT.txt > ANNOUNCEMENT.txt.utf8
|
|
||||||
mv -f ANNOUNCEMENT.txt.utf8 ANNOUNCEMENT.txt
|
|
||||||
|
|
||||||
%mvn_file : %{name}
|
%mvn_file : %{name}
|
||||||
# jdk15 classifier is used by some other packages
|
# jdk15 classifier is used by some other packages
|
||||||
%mvn_alias : :::jdk15:
|
%mvn_alias : :::jdk15:
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build -- -Dmaven.local.debug=true
|
# TODO build tests when assetj-core becomes available
|
||||||
|
%mvn_build -f -- -Dmaven.local.debug=true
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc ANNOUNCEMENT.txt CHANGES.txt README
|
%doc CHANGES.txt README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 07 2015 Mat Booth <mat.booth@redhat.com> - 6.9.5-1
|
||||||
|
- Update to 6.9.5
|
||||||
|
|
||||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.21-2
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.21-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user