Name: classmate Version: 1.3.1 Release: 7%{?dist} Summary: Java introspection library License: ASL 2.0 Url: http://github.com/cowtowncoder/java-classmate/ Source0: https://github.com/cowtowncoder/java-classmate/archive/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(com.fasterxml:oss-parent:pom:) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildArch: noarch %description Library for introspecting types with full generic information including resolving of field and method types. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n java-%{name}-%{name}-%{version} find . -name "*.class" -delete find . -name "*.jar" -delete %pom_remove_plugin :maven-source-plugin %pom_xpath_remove "pom:plugin[pom:artifactId = 'maven-javadoc-plugin']/pom:executions" sed -i 's/\r//' src/main/resources/META-INF/LICENSE src/main/resources/META-INF/NOTICE cp -p src/main/resources/META-INF/LICENSE . cp -p src/main/resources/META-INF/NOTICE . # this test fails junit.framework.AssertionFailedError: expected: but was: rm -r src/test/java/com/fasterxml/classmate/AnnotationsTest.java %mvn_file :%{name} %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc README.md VERSION.txt %license LICENSE NOTICE %files javadoc -f .mfiles-javadoc %license LICENSE NOTICE %changelog * Wed Jul 24 2019 Fedora Release Engineering - 1.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Aug 20 2016 gil cattaneo 1.3.1-1 - update to 1.3.1 * Wed Feb 03 2016 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 30 2016 gil cattaneo - 1.2.0-2 - rebuilt * Fri Aug 07 2015 gil cattaneo 1.2.0-1 - update to 1.2.0 * Wed Jun 17 2015 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Feb 15 2015 gil cattaneo 1.1.0-1 - update to 1.1.0 * Fri Jan 30 2015 gil cattaneo 0.8.0-6 - introduce license macro * Sat Jun 07 2014 Fedora Release Engineering - 0.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 0.8.0-4 - Use Requires: java-headless rebuild (#1067528) * Sat Aug 03 2013 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 06 2013 gil cattaneo 0.8.0-2 - switch to XMvn - minor changes to adapt to current guideline * Thu Apr 18 2013 gil cattaneo 0.8.0-1 - update to 0.8.0 * Wed Feb 13 2013 Fedora Release Engineering - 0.5.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 0.5.4-3 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Sat May 05 2012 gil cattaneo 0.5.4-2 - changed summary * Sun Apr 22 2012 gil cattaneo 0.5.4-1 - initial rpm