diff --git a/pythran.spec b/pythran.spec index 299ef3c..a5f19cf 100644 --- a/pythran.spec +++ b/pythran.spec @@ -1,10 +1,10 @@ Name: pythran -Version: 0.9.11 -%global uver 0.9.11 -Release: 2%{?dist} +Version: 0.9.12 +Release: 1%{?dist} Summary: Ahead of Time Python compiler for numeric kernels # pythran is BSD +# pythran/graph.py has bits of networkx, also BSD # pythran/pythonic/patch/complex is MIT or NCSA License: BSD and (MIT or NCSA) @@ -12,10 +12,15 @@ License: BSD and (MIT or NCSA) # The version is probably somewhat around 3 Provides: bundled(libcxx) = 3 +# see pythran/graph.py +# Only bundles one function from networkx +Provides: bundled(python3dist(networkx)) = 2.6.1 + + %py_provides python3-%{name} URL: https://github.com/serge-sans-paille/pythran -Source0: %{url}/archive/%{uver}/%{name}-%{uver}.tar.gz +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # there is no actual arched content # yet we want to test on all architectures @@ -55,7 +60,7 @@ instruction units. %prep -%autosetup -p1 -n %{name}-%{uver} +%autosetup -p1 -n %{name}-%{version} find -name '*.hpp' -exec chmod -x {} + sed -i '1{/#!/d}' pythran/run.py @@ -75,6 +80,11 @@ sed -i 's|include_dirs=|include_dirs=/usr/include/flexiblas|' pythran/pythran-li # not yet available in Fedora sed -i '/guzzle_sphinx_theme/d' docs/conf.py docs/requirements.txt +# The tests have some cflags in them +# We need to adapt the flags to play nicely with other Fedora's flags +# E.g. fortify source implies at least -O1 +sed -i -e 's/-O0/-O1/g' -e 's/-Werror/-w/g' pythran/tests/__init__.py + %generate_buildrequires %pyproject_buildrequires -x doc @@ -106,6 +116,11 @@ rm -rf docs/_build/html/.{doctrees,buildinfo} %changelog +* Wed Jul 14 2021 Miro HronĨok - 0.9.12-1 +- Update to 0.9.12 +- Fixes: rhbz#1981981 +- Fixes: rhbz#1927172 + * Fri Jun 04 2021 Python Maint - 0.9.11-2 - Rebuilt for Python 3.10 diff --git a/sources b/sources index c895e16..070f89f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pythran-0.9.11.tar.gz) = c8939b918216803ad8e2a133b16f0d8ea939e4d87d07ddb1a3d131afb0ddb76962c489270431808fbf129e76b5f9dbdc2b625097f37df2eefdb9834d319d028a +SHA512 (pythran-0.9.12.tar.gz) = e9fbb236dab57b4be12720be0b8188546d105203d23d32f97b2d61798a284fbb2bbfdc2b322f5934933a503f778156b03a467346293f589635a65f54d35d7090