14
0
forked from pool/python-rdflib

- Drop shipped bytecode files and recompile them

- Drop shipped bytecode files and recompile them

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=33
This commit is contained in:
Sascha Peilicke
2013-01-31 13:25:43 +00:00
committed by Git OBS Bridge
parent 9a2c739c4e
commit 0ee4e93084
4 changed files with 14 additions and 1 deletions

View File

@@ -47,7 +47,8 @@ The library also contains both in-memory and persistent Graph backends.
%prep
%setup -q -n rdflib-%{version}
sed -i "1d" rdflib/plugins/parsers/{ntriples,notation3}.py # Fix non-executable bits
# Drop py2.7 bytecode files, we have to rebuild these:
find . -type f -name "*.pyc" -print -delete
%build
python setup.py build