From 5e6d60b06ba5f4c09fa52dc339a14b9a4c31d553 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 15 Feb 2021 22:52:57 -0500 Subject: [PATCH] structureddata.py parser is no more Signed-off-by: Dan Scott --- python-rdflib.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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