Commit 8a555c54 authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

Remove fts3rest.xml if slc6

parent b3032b85
Pipeline #662905 passed with stage
in 2 minutes and 50 seconds
......@@ -69,15 +69,17 @@ Requires: gfal2-python%{?_isa}
Requires: python-requests
%description
This package provides the FTS3 REST interface
%if %{?rhel}%{!?rhel:0} >= 7
%package firewalld
Summary: FTS3 Rest Firewalld
Group: Applications/Internet
%if %{?rhel}%{!?rhel:0} >= 7
Requires: firewalld-filesystem
%endif
%description firewalld
FTS3 Rest firewalld.
%endif
%package cloud-storage
Summary: FTS3 Rest Cloud Storage extensions
......@@ -214,6 +216,10 @@ make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}/%{_var}/cache/fts3rest/
mkdir -p %{buildroot}/%{_var}/log/fts3rest/
%if %{?rhel}%{!?rhel:0} == 6
rm -rf %{_prefix}/lib/firewalld/services/fts3rest.xml
%endif
cp --preserve=timestamps -r src/fts3 %{buildroot}/%{python_sitelib}
cat > %{buildroot}/%{python_sitelib}/fts3.egg-info <<EOF
Metadata-Version: 1.0
......
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