SPECS: jakarta-commons-digester.spec - simplify install

glen glen at pld-linux.org
Fri Dec 14 00:23:15 CET 2007


Author: glen                         Date: Thu Dec 13 23:23:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- simplify install

---- Files affected:
SPECS:
   jakarta-commons-digester.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/jakarta-commons-digester.spec
diff -u SPECS/jakarta-commons-digester.spec:1.17 SPECS/jakarta-commons-digester.spec:1.18
--- SPECS/jakarta-commons-digester.spec:1.17	Fri Dec 14 00:20:42 2007
+++ SPECS/jakarta-commons-digester.spec	Fri Dec 14 00:23:10 2007
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Jakarta Commons Digester - odwzorowanie XML-a na obiekty Javy
 Name:		jakarta-commons-digester
 Version:	1.7
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Development/Languages/Java
 Source0:	http://www.apache.org/dist/jakarta/commons/digester/source/commons-digester-%{version}-src.tar.gz
@@ -70,11 +70,9 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_javadir}
 
-for a in dist/*.jar; do
-	jar=${a##*/}
-	cp -a dist/$jar $RPM_BUILD_ROOT%{_javadir}/${jar%%.jar}-%{version}.jar
-	ln -s ${jar%%.jar}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/$jar
-done
+# jars
+cp -a dist/commons-digester.jar $RPM_BUILD_ROOT%{_javadir}/commons-digester-%{version}.jar
+ln -s commons-digester-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/commons-digester.jar
 
 # javadoc
 install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
@@ -103,6 +101,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2007-12-13 23:23:10  glen
+- simplify install
+
 Revision 1.17  2007-12-13 23:20:42  glen
 - unify java package
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/jakarta-commons-digester.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list