Re-enable tests

This commit is contained in:
Ankur Sinha (Ankur Sinha Gmail) 2019-07-12 17:05:17 +01:00
parent f5bf0e522f
commit 74df32d9ca
No known key found for this signature in database
GPG Key ID: F8D8C0BEBAC898BD

View File

@ -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 <ankursinha AT fedoraproject DOT org> - 0.5.2-2
- Re-enable tests
* Fri Jul 12 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.5.2-1
- Own pycache directory to fix permission issues #1723047