Commit e570d3e1 authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

Remove the firewalld file after make install.

parent c196c84a
Pipeline #662969 passed with stage
in 30 seconds
......@@ -193,9 +193,7 @@ if [ "$fts_api_ver" != "$fts_spec_ver" ]; then
fi
%cmake . -DCMAKE_INSTALL_PREFIX=/ -DPYTHON_SITE_PACKAGES=%{python_sitelib}
%if %{?rhel}%{!?rhel:0} == 6
rm -rf %{_prefix}/lib/firewalld/services/fts3rest.xml
%endif
make %{?_smp_mflags}
%check
......@@ -213,7 +211,9 @@ popd
%install
mkdir -p %{buildroot}
make install DESTDIR=%{buildroot}
%if %{?rhel}%{!?rhel:0} == 6
rm -rf %{_prefix}/lib/firewalld/services/fts3rest.xml
%endif
mkdir -p %{buildroot}/%{_var}/cache/fts3rest/
mkdir -p %{buildroot}/%{_var}/log/fts3rest/
......
Markdown is supported
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