From 5e6d60b06ba5f4c09fa52dc339a14b9a4c31d553 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Feb 16 2021 03:52:57 +0000 Subject: structureddata.py parser is no more Signed-off-by: Dan Scott --- diff --git a/python-rdflib.spec b/python-rdflib.spec index 40147bd..a3e10a1 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -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