Update to upstream version 7.3.0

This commit is contained in:
Marian Koncek 2020-09-30 16:38:24 +02:00
parent 645e424634
commit c760b2e5ea
4 changed files with 7 additions and 30 deletions

1
.gitignore vendored
View File

@ -24,3 +24,4 @@
/testng-7.0.0.tar.gz
/testng-7.1.1.tar.gz
/testng-7.2.0~SNAPSHOT.tar.gz
/testng-7.3.0.tar.gz

View File

@ -1,21 +0,0 @@
#!/bin/bash
set -ex
name=testng
version="$(sed -n 's/Version:\s*//p' *.spec)"
upstream_version="$(echo ${version} | tr '~' '-')"
# RETRIEVE
rm -rf testng
git clone https://github.com/cbeust/testng.git
mv testng "${name}-${upstream_version}"
# CLEAN TARBALL
rm -rf "${name}-${upstream_version}"/.git
rm -rf "${name}-${upstream_version}"/.github
rm -r "${name}-${upstream_version}"/gradle*
rm -r "${name}-${upstream_version}"/kobalt*
rm "${name}-${upstream_version}"/src/main/resources/org/testng/jquery-*.js
tar -czf "${name}-${version}.tar.gz" "${name}-${upstream_version}"
rm -rf "${name}-${upstream_version}"

View File

@ -1 +1 @@
SHA512 (testng-7.2.0~SNAPSHOT.tar.gz) = 57f854b7828dd88e0c66714a8b385d9e18885d3677c36cc820f018b4da70765d0acd4b2de9d7f0f231131f002559c1a2e9ec830de18b9ec6b79c34791c97e244
SHA512 (testng-7.3.0.tar.gz) = fee25ee1e146138ce30586969f99db493f23af8bda3b0add59cd44efe1cf81857c8bebb10e8b5eb67de627accf4c32aace525332c4147aad6cb4b2da05e1a92d

View File

@ -1,15 +1,11 @@
Name: testng
Version: 7.2.0~SNAPSHOT
Version: 7.3.0
Release: 1%{?dist}
Summary: Java-based testing framework
License: ASL 2.0
URL: http://testng.org/
# TODO Remove after a proper release of version 7.2.0
# This script downloads the current snapshot using git
# ./generate-tarball-REMOVE.sh
## ./generate-tarball.sh
# ./generate-tarball.sh
Source0: %{name}-%{version}.tar.gz
# Allows building with maven instead of gradle
@ -18,8 +14,6 @@ Source1: pom.xml
# Remove bundled binaries to make sure we don't ship anything forbidden
Source2: generate-tarball.sh
Source999: generate-tarball-REMOVE.sh
Patch0: 0001-Avoid-accidental-javascript-in-javadoc.patch
Patch1: 0002-Replace-bundled-jquery-with-CDN-link.patch
@ -95,6 +89,9 @@ cp -p ./src/main/java/*.dtd.html ./src/main/resources/.
%license LICENSE.txt
%changelog
* Wed Sep 30 2020 Marian Koncek <mkoncek@redhat.com> - 7.3.0-1
- Update to upstream version 7.3.0
* Wed Jul 29 2020 Marian Koncek <mkoncek@redhat.com> - 7.2.0~SNAPSHOT-1
- Update to upstream version 7.2.0~SNAPSHOT