Update to upstream version 2.0.0

This commit is contained in:
Marian Koncek 2020-02-26 14:34:04 +01:00
parent 01aff73b77
commit b4fa8dfdff
4 changed files with 12 additions and 7 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ qdox-1.12-project.tar.bz2
/qdox-2.0-M9-project.tar.gz /qdox-2.0-M9-project.tar.gz
/qdox-2.0-M9.tar.gz /qdox-2.0-M9.tar.gz
/qdox-2.0~M10.tar.gz /qdox-2.0~M10.tar.gz
/qdox-2.0.0.tar.gz

View File

@ -5,12 +5,12 @@ name=qdox
version="$(sed -n 's/Version:\s*//p' *.spec)" version="$(sed -n 's/Version:\s*//p' *.spec)"
# RETRIEVE # RETRIEVE
wget "http://repo2.maven.org/maven2/com/thoughtworks/qdox/qdox/${version/'~'/'-'}/${name}-${version/'~'/'-'}-project.tar.gz" -O "${name}-${version}.orig.tar.gz" wget "https://repo1.maven.org/maven2/com/thoughtworks/qdox/qdox/${version/'~'/'-'}/${name}-${version/'~'/'-'}-project.tar.gz" -O "${name}-${version}.orig.tar.gz"
rm -rf tarball-tmp rm -rf tarball-tmp
mkdir tarball-tmp mkdir tarball-tmp
pushd tarball-tmp pushd tarball-tmp
tar xf "../${name}-${version}.orig.tar.gz" tar -xf "../${name}-${version}.orig.tar.gz"
# CLEAN TARBALL # CLEAN TARBALL
find -name '*.jar' -delete find -name '*.jar' -delete

View File

@ -1,8 +1,8 @@
%global upstream_version %(echo %{version} | tr '~' '-') %global upstream_version %(echo %{version} | tr '~' '-')
Name: qdox Name: qdox
Version: 2.0~M10 Version: 2.0.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: Extract class/interface/method definitions from sources Summary: Extract class/interface/method definitions from sources
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/paul-hammant/qdox URL: https://github.com/paul-hammant/qdox
@ -68,12 +68,16 @@ jar ufm target/%{name}-%{upstream_version}.jar %{SOURCE1}
%mvn_install %mvn_install
%files -f .mfiles %files -f .mfiles
%doc LICENSE.txt README.md %license LICENSE.txt
%doc README.md
%files javadoc -f .mfiles-javadoc %files javadoc -f .mfiles-javadoc
%doc LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Wed Feb 26 2020 Marian Koncek <mkoncek@redhat.com> - 2.0.0-1
- Update to upstream version 2.0.0
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0~M10-2 * Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0~M10-2
- Mass rebuild for javapackages-tools 201902 - Mass rebuild for javapackages-tools 201902

View File

@ -1 +1 @@
SHA512 (qdox-2.0~M10.tar.gz) = f0f2c7f5d37bd4d4b20a41bdeb538a4ddb5c303c974a2c1b17be92fcd6875ddd9de2a629c8e724ecef7e318cfb993c8bf6a743fb6fcffc4a2a5cbb9ac4917560 SHA512 (qdox-2.0.0.tar.gz) = 2ea7bd97ca720856a3f61aa12d4ec681708b599fe87c8942ac19e41b59cb56d3583f0953dc280d6244334d19762b7fe0c5693ee7acbaff2a4b421a3c959139b6