Avoid accidental javascript in comment
This commit is contained in:
parent
1bc5a1eb30
commit
2f8a7def0a
25
0001-Avoid-accidental-javascript-in-javadoc.patch
Normal file
25
0001-Avoid-accidental-javascript-in-javadoc.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 214bd64764a48c5c3ad68829e0e35377f45ce221 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Simacek <msimacek@redhat.com>
|
||||||
|
Date: Wed, 31 May 2017 13:44:36 +0200
|
||||||
|
Subject: [PATCH] Avoid accidental javascript in javadoc
|
||||||
|
|
||||||
|
---
|
||||||
|
src/main/java/org/testng/xml/TestNGContentHandler.java | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/main/java/org/testng/xml/TestNGContentHandler.java b/src/main/java/org/testng/xml/TestNGContentHandler.java
|
||||||
|
index e36c413..da9a069 100755
|
||||||
|
--- a/src/main/java/org/testng/xml/TestNGContentHandler.java
|
||||||
|
+++ b/src/main/java/org/testng/xml/TestNGContentHandler.java
|
||||||
|
@@ -240,7 +240,7 @@ public class TestNGContentHandler extends DefaultHandler {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
- * Parse <script>
|
||||||
|
+ * Parse <script>
|
||||||
|
*/
|
||||||
|
private void xmlScript(boolean start, Attributes attributes) {
|
||||||
|
if (start) {
|
||||||
|
--
|
||||||
|
2.9.4
|
||||||
|
|
@ -2,11 +2,12 @@
|
|||||||
|
|
||||||
Name: testng
|
Name: testng
|
||||||
Version: 6.9.12
|
Version: 6.9.12
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Java-based testing framework
|
Summary: Java-based testing framework
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://testng.org/
|
URL: http://testng.org/
|
||||||
Source0: https://github.com/cbeust/testng/archive/%{version}.tar.gz
|
Source0: https://github.com/cbeust/testng/archive/%{version}.tar.gz
|
||||||
|
Patch0: 0001-Avoid-accidental-javascript-in-javadoc.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -42,6 +43,8 @@ This package contains the API documentation for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
# remove any bundled libs, but not test resources
|
# remove any bundled libs, but not test resources
|
||||||
find ! -path "*/test/*" -name *.jar -print -delete
|
find ! -path "*/test/*" -name *.jar -print -delete
|
||||||
find -name *.class -delete
|
find -name *.class -delete
|
||||||
@ -92,6 +95,9 @@ cp -p ./src/main/java/*.dtd.html ./src/main/resources/.
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 31 2017 Michael Simacek <msimacek@redhat.com> - 6.9.12-5
|
||||||
|
- Avoid accidental javascript in comment
|
||||||
|
|
||||||
* Fri Feb 17 2017 Mat Booth <mat.booth@redhat.com> - 6.9.12-4
|
* Fri Feb 17 2017 Mat Booth <mat.booth@redhat.com> - 6.9.12-4
|
||||||
- License correction
|
- License correction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user