diff --git a/SPECS/guacamole-web.spec b/SPECS/guacamole-web.spec index 97db886..4aa3692 100644 --- a/SPECS/guacamole-web.spec +++ b/SPECS/guacamole-web.spec @@ -15,12 +15,6 @@ Guacamole web application Summary: The main java guacamole war Requires: tomcat%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -%if 0%{?fedora} || 0%{?rhel} >= 7 -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd -%endif - #%prep #%autosetup @@ -28,10 +22,12 @@ Requires(postun): systemd %build %install -cp guacamole-1.0.0.war /var/lib/tomcat/webapps/guacamole.war +mkdir -p %{buildroot}/var/lib/tomcat/webapps +install -m 644 guacamole-1.0.0.war %{buildroot}/var/lib/tomcat/webapps/guacamole.war %files %defattr(-,root,root,-) +/var/lib/tomcat/webapps/guacamole.war %changelog * Tue Apr 09 2019 kjg - 1.0.0-1