From 41fa256adaa6a45ff8e6b317c78586ddf4bdb1de Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Feb 25 2024 20:58:26 +0000 Subject: feat: minor spec fixes (fixes rh#2264045) --- diff --git a/python-netpyne.spec b/python-netpyne.spec index 76beb2f..365d665 100644 --- a/python-netpyne.spec +++ b/python-netpyne.spec @@ -9,7 +9,7 @@ # manually # mock -r fedora-rawhide-x86_64 rebuild --enablerepo=neurofedora-copr --with=pyneuroml -%bcond_with pyneuroml +%bcond pyneuroml 0 # disable debuginfo # sub package is noarch, but keep the main package archful to run tests on all arches. @@ -112,31 +112,24 @@ nrnivmodl mod %{python3} tut7.py --nogui || true popd -pushd examples/HHTut -%{python3} HHTut_run.py -nogui || true -%if %{with pyneuroml} -%{python3} HHTut_export.py -nogui || true -%endif +# some of these are currently broken upstream +pushd examples/HHTut/src +%{python3} init.py -nogui || true popd -pushd examples/HybridTut -nrnivmodl . -%{python3} HybridTut_run.py -nogui || true -%if %{with pyneuroml} -%{python3} HybridTut_export.py -nogui || true -%endif +pushd examples/HybridTut/src/ +nrnivmodl ../mod/ +%{python3} init.py -nogui || true popd -pushd examples/M1 -nrnivmodl . -%{python3} M1_run.py -nogui || true -%if %{with pyneuroml} -%{python3} M1_export.py -nogui || true -%endif +pushd examples/M1/src +nrnivmodl ../mod +%{python3} init.py -nogui || true popd -pushd examples/PTcell -nrnivmodl mod +# this one failes, there's no init.py file in the main directory +pushd examples/PTcell/src +nrnivmodl ../mod/ %{python3} init.py -nogui || true popd