packages: closure-compiler/closure-compiler.spec, closure-compiler/closure-...
glen
glen at pld-linux.org
Thu Mar 3 21:15:03 CET 2011
Author: glen Date: Thu Mar 3 20:15:03 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- keep startup wrapper in separate source control
---- Files affected:
packages/closure-compiler:
closure-compiler.spec (1.1 -> 1.2) , closure-compiler.sh (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/closure-compiler/closure-compiler.spec
diff -u packages/closure-compiler/closure-compiler.spec:1.1 packages/closure-compiler/closure-compiler.spec:1.2
--- packages/closure-compiler/closure-compiler.spec:1.1 Tue Mar 16 14:56:10 2010
+++ packages/closure-compiler/closure-compiler.spec Thu Mar 3 21:14:58 2011
@@ -12,6 +12,7 @@
Group: Applications/WWW
Source0: http://closure-compiler.googlecode.com/files/compiler-%{version}.tar.gz
# Source0-md5: 71bb4f8975ffc81fd0b9a82e18318a49
+Source1: %{name}.sh
URL: http://closure-compiler.appspot.com/
BuildRequires: rpm-javaprov
BuildRequires: rpmbuild(macros) >= 1.300
@@ -29,15 +30,10 @@
%prep
%setup -qc
-cat <<'EOF' >> %{name}
-#!/bin/sh
-exec java -jar %{_javadir}/%{name}.jar "$@"
-EOF
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_javadir}}
-install -p %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
+install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name}
# jars
cp -a compiler.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
@@ -58,5 +54,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2011/03/03 20:14:58 glen
+- keep startup wrapper in separate source control
+
Revision 1.1 2010/03/16 13:56:10 glen
- new
================================================================
Index: packages/closure-compiler/closure-compiler.sh
diff -u /dev/null packages/closure-compiler/closure-compiler.sh:1.1
--- /dev/null Thu Mar 3 21:15:03 2011
+++ packages/closure-compiler/closure-compiler.sh Thu Mar 3 21:14:58 2011
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec java -jar /usr/share/java/closure-compiler.jar "$@"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/closure-compiler/closure-compiler.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list