Name: reflectasm Version: 1.11.0 Release: 9%{?dist} Summary: High performance Java library that provides reflection by using code generation License: BSD URL: https://github.com/EsotericSoftware/reflectasm Source0: https://github.com/EsotericSoftware/reflectasm/archive/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.ow2.asm:asm) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch %description ReflectASM is a very small Java library that provides high performance reflection by using code generation. An access class is generated to set/get fields, call methods, or create a new instance. The access class uses byte-code rather than Java's reflection, so it is much faster. It can also access primitive fields via byte-code to avoid boxing. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} find -name "*.class" -delete find -name "*.jar" -delete sed -i 's/\r//' license.txt # Do not shade asm %pom_remove_plugin :maven-shade-plugin %mvn_file :%{name} %{name} %mvn_alias :%{name} "com.esotericsoftware.%{name}:%{name}" # AssertionFailedError: expected:<1> but was:<0> rm -r test/com/esotericsoftware/reflectasm/ClassLoaderTest.java %build %mvn_build %install %mvn_install %files -f .mfiles %doc README.md %license license.txt %files javadoc -f .mfiles-javadoc %license license.txt %changelog * Fri Jul 26 2019 Fedora Release Engineering - 1.11.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.11.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.11.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.11.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.11.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.11.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Jun 09 2015 gil cattaneo 1.11.0-1 - update to 1.11.0 * Wed Feb 11 2015 gil cattaneo 1.07-6 - introduce license macro * Sun Jun 08 2014 Fedora Release Engineering - 1.07-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Oct 09 2013 gil cattaneo 1.07-4 - upstream update for reflectasm 1.07 (PATCH0) * Sun Aug 04 2013 Fedora Release Engineering - 1.07-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 03 2013 gil cattaneo 1.07-2 - switch to XMvn - minor changes to adapt to current guideline * Fri Mar 08 2013 gil cattaneo 1.07-1 - initial rpm