structureddata.py parser is no more

Signed-off-by: Dan Scott <dan@coffeecode.net>
epel9
Dan Scott 4 years ago
parent 051ae67774
commit 5e6d60b06b

@ -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

Loading…
Cancel
Save