update guacamole-web.spec

This commit is contained in:
ungleich team 2019-04-10 16:55:03 +00:00
parent 82d94e5d5b
commit 6bb3804425

View file

@ -15,12 +15,6 @@ Guacamole web application
Summary: The main java guacamole war Summary: The main java guacamole war
Requires: tomcat%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: tomcat%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} >= 7
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%endif
#%prep #%prep
#%autosetup #%autosetup
@ -28,10 +22,12 @@ Requires(postun): systemd
%build %build
%install %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 %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
/var/lib/tomcat/webapps/guacamole.war
%changelog %changelog
* Tue Apr 09 2019 kjg <jinguek.kwon@ungleich.ch> - 1.0.0-1 * Tue Apr 09 2019 kjg <jinguek.kwon@ungleich.ch> - 1.0.0-1