Name: aspectjweaver Version: 1.8.9 Release: 9%{?dist} Summary: Java byte-code weaving library License: EPL URL: http://eclipse.org/aspectj/ Source0: http://repo1.maven.org/maven2/org/aspectj/%{name}/%{version}/%{name}-%{version}-sources.jar # This build.xml file was adapted from the Ubuntu package. The src jar has no build scripts. Source1: aspectjweaver-build.xml Source2: http://repo1.maven.org/maven2/org/aspectj/%{name}/%{version}/%{name}-%{version}.pom Source3: epl-v10.txt BuildRequires: ant BuildRequires: apache-commons-logging BuildRequires: javapackages-local BuildRequires: objectweb-asm BuildRequires: glibc-langpack-en BuildArch: noarch %description The AspectJ Weaver supports byte-code weaving for aspect-oriented programming (AOP) in java. %package javadoc Summary: Javadoc for %{name} %description javadoc API documentation for %{summary}. %prep %setup -q -c sed -i.objectweb-asm "s|import aj.|import |" \ org/aspectj/weaver/bcel/asm/StackMapAdder.java cp %{SOURCE1} build.xml # JRockit is not open source, so we cannot build against it rm org/aspectj/weaver/loadtime/JRockitAgent.java cp %{SOURCE2} pom.xml %pom_xpath_inject "pom:project" " org.ow2.asm asm 5.0.3 " cp %{SOURCE3} . %build %mvn_file org.aspectj:%{name} %{name} %mvn_alias org.aspectj:%{name} "org.aspectj:aspectjrt" "aspectj:aspectjrt" LANG=en_US.ISO8859-1 CLASSPATH=$( build-classpath objectweb-asm/asm commons-logging ) ant LANG=en_US.ISO8859-1 CLASSPATH=$( build-classpath objectweb-asm/asm commons-logging ) ant javadoc %mvn_artifact pom.xml build/%{name}.jar %install %mvn_install -J javadoc %files -f .mfiles %license epl-v10.txt %files javadoc -f .mfiles-javadoc %license epl-v10.txt %changelog * Wed Jul 24 2019 Fedora Release Engineering - 1.8.9-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.8.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Nov 19 2018 Zbigniew Jędrzejewski-Szmek - 1.8.9-7 - Add BR:glibc-langpack-en See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot * Thu Jul 12 2018 Fedora Release Engineering - 1.8.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.8.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.8.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.8.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 12 2016 gil cattaneo 1.8.9-2 - fix FTBFS * Sat Oct 29 2016 gil cattaneo 1.8.9-1 - update to 1.8.9 * Wed Feb 03 2016 Fedora Release Engineering - 1.8.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.8.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jan 29 2015 gil cattaneo 1.8.4-2 - introduce license macro * Tue Dec 09 2014 gil cattaneo 1.8.4-1 - update to 1.8.4 * Sat Jun 07 2014 Fedora Release Engineering - 1.6.12-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 1.6.12-11 - Use Requires: java-headless rebuild (#1067528) * Mon Mar 24 2014 Michal Srb - 1.6.12-10 - Add alias aspectj:aspectjrt * Thu Nov 14 2013 gil cattaneo 1.6.12-9 - use objectweb-asm3 * Tue Oct 15 2013 Michal Srb - 1.6.12-8 - Add alias org.aspectj:aspectjr * Sat Aug 03 2013 Fedora Release Engineering - 1.6.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.6.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.6.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Feb 15 2012 Andy Grimm 1.6.12-4 - Add better comments, reference POM source URL * Wed Feb 15 2012 Andy Grimm 1.6.12-3 - add commons-logging buildreq * Tue Feb 14 2012 Andy Grimm 1.6.12-2 - Add javadoc - Fix description * Tue Dec 20 2011 Andy Grimm 1.6.12-1 - Initial Package