From 6bb38044252bd2981faa4cc30ecf01b808718d43 Mon Sep 17 00:00:00 2001 From: ungleich team Date: Wed, 10 Apr 2019 16:55:03 +0000 Subject: [PATCH] update guacamole-web.spec --- SPECS/guacamole-web.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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