- 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

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 31 13:27:04 UTC 2013 - saschpe@suse.de
- Drop shipped bytecode files and recompile them
-------------------------------------------------------------------
Wed Jan 30 13:06:06 UTC 2013 - saschpe@suse.de

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 31 13:27:29 UTC 2013 - saschpe@suse.de
- Drop shipped bytecode files and recompile them
-------------------------------------------------------------------
Wed Jan 30 13:06:17 UTC 2013 - saschpe@suse.de

View File

@ -47,6 +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
python3 setup.py build