diff --git a/python-cram.spec b/python-cram.spec index a0ec3a1..6934257 100644 --- a/python-cram.spec +++ b/python-cram.spec @@ -3,7 +3,7 @@ Name: python-cram Version: 0.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Simple testing framework for command line applications License: GPLv2+ URL: https://bitheap.org/cram/ @@ -30,8 +30,8 @@ output. %prep %autosetup -n %{srcname}-%{version} -# Fix shebang -pathfix.py -pni "%python3 %py3_shbang_opts" scripts/cram +# Fix shebang - cram install adds -s so we avoid adding %%py3_shbang_opts here +pathfix.py -pni "%python3" scripts/cram # remove shebangs find . -type f -name '*.py' \ @@ -56,6 +56,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHON=%python3 scripts/cram -v tests %{_bindir}/cram %changelog +* Sat Nov 23 2019 Orion Poplawski - 0.7-4 +- Fix cram shebang + * Fri Nov 22 2019 Orion Poplawski - 0.7-3 - Fix license (GPLv2+)