Update to upstream version 6.2

This commit is contained in:
Michael Simacek 2017-12-11 10:27:35 +02:00
parent 089d5fcb15
commit bbaa7844e9
3 changed files with 7 additions and 19 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/bcel-5.2-src.tar.gz
/bcel-1592769.tar.xz
/bcel-6.1-src.tar.gz
/bcel-6.2-src.tar.gz

View File

@ -1,8 +1,8 @@
%bcond_without jna
Name: bcel
Version: 6.1
Release: 2%{?dist}
Version: 6.2
Release: 1%{?dist}
Epoch: 0
Summary: Byte Code Engineering Library
License: ASL 2.0
@ -13,7 +13,6 @@ BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
%if %{with jna}
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(net.java.dev.jna:jna)
@ -48,24 +47,9 @@ This package provides %{summary}.
%pom_remove_plugin :maven-source-plugin
%pom_xpath_set /pom:project/pom:packaging bundle
%pom_add_plugin org.apache.felix:maven-bundle-plugin '
<extensions>true</extensions>
<configuration>
<instructions>
<_nouses>true</_nouses>
<Export-Package>org.apache.bcel.*</Export-Package>
</instructions>
</configuration>
'
%mvn_alias : bcel: apache:
%mvn_file : %{name}
# different path in test
sed -i '\|lib/dt\.jar|s|javaHome|javaHome.substring(0, javaHome.length() - 4)|' \
src/test/java/org/apache/bcel/PerformanceTest.java
%build
%if %{without jna}
%mvn_build -f
@ -84,6 +68,9 @@ sed -i '\|lib/dt\.jar|s|javaHome|javaHome.substring(0, javaHome.length() - 4)|'
%license LICENSE.txt NOTICE.txt
%changelog
* Sun Dec 10 2017 Michael Simacek <msimacek@redhat.com> - 0:6.2-1
- Update to upstream version 6.2
* Fri Sep 22 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:6.1-2
- Conditionally build without jna

View File

@ -1 +1 @@
SHA512 (bcel-6.1-src.tar.gz) = 6a0957d4a46a8caed5f39719691c23c30246a16ee5ea71ceb2436d2b5be6bdf3d70418be1a232673814f8e11eae0438b9a97e1fda4a389b47025c36210637e36
SHA512 (bcel-6.2-src.tar.gz) = f12d7e51baab0c44a4a125bcefc8d6aae62ef941615b47dbb0895ff59121a4f02990290a40a30b1fbfe7fca3c2fed8cf0d4788d58fdc8fc5a1c0d7c9c67cec28