From 41a858a649acb55afb76cb091e48a9c165e06612 Mon Sep 17 00:00:00 2001 From: Darryl L. Pierce Date: Aug 29 2014 18:23:38 +0000 Subject: Commented out BR on objectweb-asm3 to enable building on EPEL7. --- diff --git a/objectweb-asm3.spec b/objectweb-asm3.spec index 0419350..2b8c25f 100644 --- a/objectweb-asm3.spec +++ b/objectweb-asm3.spec @@ -1,6 +1,6 @@ Name: objectweb-asm3 Version: 3.3.1 -Release: 10%{?dist} +Release: 10%{?dist}.1 Summary: Java bytecode manipulation and analysis framework License: BSD URL: http://asm.ow2.org/ @@ -12,7 +12,7 @@ Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: ant BuildRequires: maven-local # shade-jar utility used in this spec file needs this -BuildRequires: objectweb-asm3 +# BuildRequires: objectweb-asm3 %description ASM is an all purpose Java bytecode manipulation and analysis @@ -53,32 +53,32 @@ for m in asm asm-analysis asm-commons asm-tree asm-util asm-xml asm-all; do done # Fix inter-module dependecies in POMs for shaded artifacts -pushd output/dist/lib -for m in asm-analysis asm-commons asm-util; do - %pom_remove_dep :asm-tree ${m}-distroshaded-%{version}.pom - %pom_add_dep asm:asm-tree-distroshaded:3.3.1 ${m}-distroshaded-%{version}.pom -done -%pom_remove_dep :asm-util asm-xml-distroshaded-%{version}.pom -%pom_add_dep asm:asm-util-distroshaded:3.3.1 asm-xml-distroshaded-%{version}.pom - -%pom_remove_dep :asm asm-tree-distroshaded-%{version}.pom -%pom_add_dep asm:asm-distroshaded:3.3.1 asm-tree-distroshaded-%{version}.pom -popd - -for m in asm asm-analysis asm-commons asm-tree asm-util asm-xml asm-all; do - shade-jar org.objectweb.asm org.objectweb.distroshaded.asm output/dist/lib/${m}-%{version}.jar \ - output/dist/lib/${m}-distroshaded-%{version}.jar - jar xf output/dist/lib/${m}-distroshaded-%{version}.jar META-INF/MANIFEST.MF - sed -i /Bundle-/d META-INF/MANIFEST.MF - jar ufM output/dist/lib/${m}-distroshaded-%{version}.jar META-INF/MANIFEST.MF -done +#pushd output/dist/lib +#for m in asm-analysis asm-commons asm-util; do +# %pom_remove_dep :asm-tree ${m}-distroshaded-%{version}.pom +# %pom_add_dep asm:asm-tree-distroshaded:3.3.1 ${m}-distroshaded-%{version}.pom +#done +#%pom_remove_dep :asm-util asm-xml-distroshaded-%{version}.pom +#%pom_add_dep asm:asm-util-distroshaded:3.3.1 asm-xml-distroshaded-%{version}.pom +# +#%pom_remove_dep :asm asm-tree-distroshaded-%{version}.pom +#%pom_add_dep asm:asm-distroshaded:3.3.1 asm-tree-distroshaded-%{version}.pom +#popd +# +#for m in asm asm-analysis asm-commons asm-tree asm-util asm-xml asm-all; do +# shade-jar org.objectweb.asm org.objectweb.distroshaded.asm output/dist/lib/${m}-%{version}.jar \ +# output/dist/lib/${m}-distroshaded-%{version}.jar +# jar xf output/dist/lib/${m}-distroshaded-%{version}.jar META-INF/MANIFEST.MF +# sed -i /Bundle-/d META-INF/MANIFEST.MF +# jar ufM output/dist/lib/${m}-distroshaded-%{version}.jar META-INF/MANIFEST.MF +#done %install %mvn_artifact output/dist/lib/asm-parent-%{version}.pom for m in asm asm-analysis asm-commons asm-tree asm-util asm-xml asm-all; do - %mvn_artifact output/dist/lib/${m}-distroshaded-%{version}.pom \ - output/dist/lib/${m}-distroshaded-%{version}.jar +# %mvn_artifact output/dist/lib/${m}-distroshaded-%{version}.pom \ +# output/dist/lib/${m}-distroshaded-%{version}.jar %mvn_artifact output/dist/lib/${m}-%{version}.pom \ output/dist/lib/${m}-%{version}.jar done @@ -95,6 +95,9 @@ done %doc LICENSE.txt %changelog +* Fri Aug 29 2014 Darryl L. Pierce - 3.3.1-10.1 +- Commented out BR on objectweb-asm3 to enable building on EPEL7. + * Sat Jun 07 2014 Fedora Release Engineering - 3.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild