Update to upstream version 6.0 beta

This commit is contained in:
Mikolaj Izdebski 2017-09-11 13:04:14 +02:00
parent 34942baf5c
commit 322fd1f52c
2 changed files with 13 additions and 10 deletions

View File

@ -1,12 +1,12 @@
Name: objectweb-asm Name: objectweb-asm
Version: 5.1 Version: 6.0
Release: 8%{?dist} Release: 0.1.beta%{?dist}
Summary: Java bytecode manipulation and analysis framework Summary: Java bytecode manipulation and analysis framework
License: BSD License: BSD
URL: http://asm.ow2.org/ URL: http://asm.ow2.org/
BuildArch: noarch BuildArch: noarch
Source0: http://download.forge.ow2.org/asm/asm-%{version}.tar.gz Source0: http://download.forge.ow2.org/asm/asm-%{version}_BETA.tar.gz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: ant BuildRequires: ant
@ -28,7 +28,7 @@ Summary: API documentation for %{name}
This package provides %{summary}. This package provides %{summary}.
%prep %prep
%setup -q -n asm-%{version} %setup -q -n asm-%{version}_BETA
find -name *.jar -delete find -name *.jar -delete
sed -i /Class-Path/d archive/*.bnd sed -i /Class-Path/d archive/*.bnd
@ -37,13 +37,13 @@ sed -i "s|\${config}/biz.aQute.bnd.jar|`build-classpath aqute-bnd slf4j/api slf4
sed -i -e '/kind="lib"/d' -e 's|output/eclipse|output/build|' .classpath sed -i -e '/kind="lib"/d' -e 's|output/eclipse|output/build|' .classpath
%build %build
%ant -Dobjectweb.ant.tasks.path= jar jdoc %ant -Dobjectweb.ant.tasks.path= -Dbiz.aQute.bnd.path= jar jdoc
%install %install
%mvn_artifact output/dist/lib/asm-parent-%{version}.pom %mvn_artifact output/dist/lib/asm-parent-%{version}_BETA.pom
for m in asm asm-analysis asm-commons asm-tree asm-util asm-xml all/asm-all all/asm-debug-all; do for m in asm asm-analysis asm-commons asm-tree asm-util asm-xml all/asm-all all/asm-debug-all; do
%mvn_artifact output/dist/lib/${m}-%{version}.pom \ %mvn_artifact output/dist/lib/${m}-%{version}_BETA.pom \
output/dist/lib/${m}-%{version}.jar output/dist/lib/${m}-%{version}_BETA.jar
done done
%mvn_install -J output/dist/doc/javadoc/user %mvn_install -J output/dist/doc/javadoc/user
@ -58,6 +58,9 @@ done
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Mon Sep 11 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.0-0.1.beta
- Update to upstream version 6.0 beta
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-8 * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -1,2 +1,2 @@
856246dc75d1c8581e4b12d182c50519 asm-5.1.tar.gz SHA512 (asm-6.0_BETA.tar.gz) = cbdbef0760e2a5f7e07273066351487d0a259ddbecfc8ecd21d7f488a6d76b94a687458e028d99ff6b6615195de091f3d55bcac29f2450515533653fe1eb985e
3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt SHA512 (LICENSE-2.0.txt) = 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8