Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
>
guacamole
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
guacamole.spec
@@ -10,9 +10,7 @@ %endif Requires: guacd >= 0.6 Requires: guacd < 0.7 -Requires: guacamole-common >= 0.6 -Requires: guacamole-common-js >= 0.6 -Requires: guacamole-ext >= 0.6 +Requires: tomcat6 Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -44,5 +42,15 @@ %config(noreplace) /etc/guacamole/user-mapping.xml %dir /var/lib/guacamole /var/lib/guacamole/guacamole.war +%ghost /usr/share/tomcat6/webapps/guacamole.war +%ghost /usr/share/tomcat6/lib/guacamole.properties + +%post +ln -sf /var/lib/guacamole/guacamole.war /usr/share/tomcat6/webapps/ +ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat6/lib/ + +%postun +rm -f /usr/share/tomcat6/webapps/guacamole.war +rm -f /usr/share/tomcat6/lib/guacamole.properties %changelog