- do not collide with asm1 files
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 17 Apr 2007 23:45:01 +0000 (23:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asm2.spec -> 1.7

asm2.spec

index 38657f6..ba4e38b 100644 (file)
--- a/asm2.spec
+++ b/asm2.spec
@@ -58,8 +58,9 @@ install -d $RPM_BUILD_ROOT%{_javadir}/%{name}
 
 for a in output/dist/lib/*.jar; do
        jar=${a##*/}
-       cp -a output/dist/lib/$jar $RPM_BUILD_ROOT%{_javadir}/$jar
-       ln -s $jar $RPM_BUILD_ROOT%{_javadir}/${jar%%-%{version}.jar}.jar
+       jar2=asm2-${jar#asm-}
+       cp -a output/dist/lib/$jar $RPM_BUILD_ROOT%{_javadir}/$jar2
+       ln -s $jar2 $RPM_BUILD_ROOT%{_javadir}/${jar2%%-%{version}.jar}.jar
 done
 
 # javadoc
This page took 0.035328 seconds and 4 git commands to generate.