diff --git a/python-pytest-lazy-fixture.spec b/python-pytest-lazy-fixture.spec index 325f8b6..5102ced 100644 --- a/python-pytest-lazy-fixture.spec +++ b/python-pytest-lazy-fixture.spec @@ -1,5 +1,5 @@ # Enabled by default -%bcond_with tests +%bcond_without tests %global pypi_name pytest-lazy-fixture @@ -8,7 +8,7 @@ Use fixtures in pytest.mark.parametrize.} Name: python-%{pypi_name} Version: 0.5.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Use fixtures in pytest.mark.parametrize # https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses @@ -35,10 +35,6 @@ BuildRequires: %{py3_dist pytest} %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info -# Comment out to remove /usr/bin/env shebangs -# Can use something similar to correct/remove /usr/bin/python shebangs also -# find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/dev/null ';' - %build %py3_build @@ -58,6 +54,9 @@ PYTHONPATH="%{buildroot}/%{python3_sitelib}/" pytest-3 %{python3_sitelib}/__pycache__ %changelog +* Fri Jul 12 2019 Ankur Sinha - 0.5.2-2 +- Re-enable tests + * Fri Jul 12 2019 Ankur Sinha - 0.5.2-1 - Own pycache directory to fix permission issues #1723047