packages: phpstorm/phpstorm.spec - workaround for stupid rpm breakage
glen
glen at pld-linux.org
Wed Dec 7 00:35:24 CET 2011
Author: glen Date: Tue Dec 6 23:35:24 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- workaround for stupid rpm breakage
---- Files affected:
packages/phpstorm:
phpstorm.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: packages/phpstorm/phpstorm.spec
diff -u packages/phpstorm/phpstorm.spec:1.14 packages/phpstorm/phpstorm.spec:1.15
--- packages/phpstorm/phpstorm.spec:1.14 Wed Dec 7 00:34:53 2011
+++ packages/phpstorm/phpstorm.spec Wed Dec 7 00:35:18 2011
@@ -81,6 +81,17 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+if [ "$1" = 1 ]; then
+ # NOTE: rpm is broken and does not install the symlinks. need to fixup manually.
+ # see the log: http://carme.pld-linux.org/~glen/phpstorm.log
+ # it seems to work on upgrades, so need to do that just once
+ cd %{_appdir}
+ ln -s %{_javadir}/commons-codec-1.3.jar lib
+ ln -s %{_javadir}/jgoodies-forms.jar lib/jgoodies-forms.jar
+ ln -s %{_javadir}/log4j.jar lib/log4j.jar
+fi
+
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/%{name}
@@ -106,6 +117,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2011/12/06 23:35:18 glen
+- workaround for stupid rpm breakage
+
Revision 1.14 2011/12/06 23:34:53 glen
- use original filenames, less patching and could do with 32bit jdk for lesser memory usage
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phpstorm/phpstorm.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list