From 0ee4e930841f3a003eafafe1a49c72dd37f78fe9196b1113466a3f0aca0befa2 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 31 Jan 2013 13:25:43 +0000 Subject: [PATCH] - 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 --- python-rdflib.changes | 5 +++++ python-rdflib.spec | 3 ++- python3-rdflib.changes | 5 +++++ python3-rdflib.spec | 2 ++ 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/python-rdflib.changes b/python-rdflib.changes index 5fa8c08..acaf57e 100644 --- a/python-rdflib.changes +++ b/python-rdflib.changes @@ -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 diff --git a/python-rdflib.spec b/python-rdflib.spec index 115caf8..ecd53e8 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -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 diff --git a/python3-rdflib.changes b/python3-rdflib.changes index caccd69..a0f4a04 100644 --- a/python3-rdflib.changes +++ b/python3-rdflib.changes @@ -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 diff --git a/python3-rdflib.spec b/python3-rdflib.spec index 4bcbd30..b0a0b78 100644 --- a/python3-rdflib.spec +++ b/python3-rdflib.spec @@ -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