Commit 88bb0606 authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

Update fts-rest.spec

parent 244becfd
Pipeline #662141 passed with stage
in 28 seconds
...@@ -134,14 +134,13 @@ Requires: python-sqlalchemy0.8 ...@@ -134,14 +134,13 @@ Requires: python-sqlalchemy0.8
%description -n python-fts %description -n python-fts
This package provides an object model of the FTS3 This package provides an object model of the FTS3
database, using sqlalchemy ORM. database, using sqlalchemy ORM.
%if %{?rhel}%{!?rhel:0} >= 7 %if %{?rhel}%{!?rhel:0} >= 7
%files %files
%{_prefix}/lib/firewalld/services %{_prefix}/lib/firewalld/services
%config(noreplace) %{_sysconfdir}/fts3/fts3rest.xml %config(noreplace) %{_sysconfdir}/fts3/fts3rest.xml
%post
%firewalld_reload
%endif %endif
%post %post
/sbin/service httpd condrestart >/dev/null 2>&1 || : /sbin/service httpd condrestart >/dev/null 2>&1 || :
if [ "$1" -eq "2" ]; then # Upgrade if [ "$1" -eq "2" ]; then # Upgrade
...@@ -149,6 +148,10 @@ if [ "$1" -eq "2" ]; then # Upgrade ...@@ -149,6 +148,10 @@ if [ "$1" -eq "2" ]; then # Upgrade
chown fts3.fts3 /var/log/fts3rest chown fts3.fts3 /var/log/fts3rest
chown fts3.fts3 /var/log/fts3rest/fts3rest.log || true chown fts3.fts3 /var/log/fts3rest/fts3rest.log || true
fi fi
%if %{?rhel}%{!?rhel:0} >= 7
%firewalld_reload
%endif
%postun %postun
if [ "$1" -eq "0" ] ; then if [ "$1" -eq "0" ] ; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment