|
|
|
@ -104,8 +104,7 @@ chmod +x %{buildroot}%{python3_sitelib}/rdflib/extras/infixowl.py \
|
|
|
|
|
|
|
|
|
|
# sed these headers out as they include no __main__
|
|
|
|
|
for lib in %{buildroot}%{python3_sitelib}/rdflib/extras/describer.py \
|
|
|
|
|
%{buildroot}%{python3_sitelib}/rdflib/plugins/parsers/pyRdfa/extras/httpheader.py \
|
|
|
|
|
%{buildroot}%{python3_sitelib}/rdflib/plugins/parsers/structureddata.py; do
|
|
|
|
|
%{buildroot}%{python3_sitelib}/rdflib/plugins/parsers/pyRdfa/extras/httpheader.py; do
|
|
|
|
|
sed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new &&
|
|
|
|
|
touch -r $lib $lib.new &&
|
|
|
|
|
mv $lib.new $lib
|
|
|
|
|