ligo-segments.spec: remove unwanted files

need to remove the `` file that is required for the inplace testing, otherwise it will get included in the distribution
parent 3d973af0
......@@ -64,6 +64,12 @@ echo "import site; site.addsitedir('$RPM_BUILD_ROOT%{python3_sitearch}')" > $RPM
# run the tests
make check PYTHON=%{__python2} PYTHONPATH="$RPM_BUILD_ROOT%{python2_sitearch}"
make check PYTHON=%{__python3} PYTHONPATH="$RPM_BUILD_ROOT%{python3_sitearch}"
# clean up the sitecustomize hack
rm -v \
$RPM_BUILD_ROOT%{python2_sitearch}/* \
$RPM_BUILD_ROOT%{python3_sitearch}/* \
rm -vd $RPM_BUILD_ROOT%{python3_sitearch}/__pycache__/
%files -n python2-%{srcname}
%license LICENSE
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