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

Update fts-rest.spec

parent e369a509
Pipeline #662945 passed with stage
in 32 seconds
...@@ -193,6 +193,9 @@ if [ "$fts_api_ver" != "$fts_spec_ver" ]; then ...@@ -193,6 +193,9 @@ if [ "$fts_api_ver" != "$fts_spec_ver" ]; then
fi fi
%cmake . -DCMAKE_INSTALL_PREFIX=/ -DPYTHON_SITE_PACKAGES=%{python_sitelib} %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} make %{?_smp_mflags}
%check %check
...@@ -214,9 +217,6 @@ make install DESTDIR=%{buildroot} ...@@ -214,9 +217,6 @@ make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}/%{_var}/cache/fts3rest/ mkdir -p %{buildroot}/%{_var}/cache/fts3rest/
mkdir -p %{buildroot}/%{_var}/log/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} cp --preserve=timestamps -r src/fts3 %{buildroot}/%{python_sitelib}
cat > %{buildroot}/%{python_sitelib}/fts3.egg-info <<EOF cat > %{buildroot}/%{python_sitelib}/fts3.egg-info <<EOF
......
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