[objectweb-asm3] Fix provides
Michal Srb
msrb at fedoraproject.org
Thu Dec 5 14:27:36 UTC 2013
commit 7a49f22338929667dd304787f67b763b62ee7486
Author: Michal Srb <msrb at redhat.com>
Date: Thu Dec 5 15:24:02 2013 +0100
Fix provides
We don't want provides to be like "mvn(asm:all/asm-all::distroshaded:)"
objectweb-asm3.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/objectweb-asm3.spec b/objectweb-asm3.spec
index 8959b03..31c4187 100644
--- a/objectweb-asm3.spec
+++ b/objectweb-asm3.spec
@@ -1,6 +1,6 @@
Name: objectweb-asm3
Version: 3.3.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Java bytecode manipulation and analysis framework
License: BSD
URL: http://asm.ow2.org/
@@ -49,7 +49,8 @@ sed -i s/org.objectweb.asm.all/org.objectweb.asm/ archive/asm-all.xml
%install
%mvn_artifact output/dist/lib/asm-parent-%{version}.pom
-for m in asm asm-analysis asm-commons asm-tree asm-util asm-xml all/asm-all; do
+mv output/dist/lib/all/* output/dist/lib/
+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}-%{version}-distroshaded.jar
%mvn_artifact asm:${m}::distroshaded:%{version} \
@@ -70,6 +71,9 @@ done
%doc LICENSE.txt
%changelog
+* Thu Dec 05 2013 Michal Srb <msrb at redhat.com> - 3.3.1-6
+- Fix provides
+
* Thu Dec 05 2013 Michal Srb <msrb at redhat.com> - 3.3.1-5
- Build also "distroshaded" JARs and install them
More information about the scm-commits
mailing list