Re-enable tests
This commit is contained in:
parent
f5bf0e522f
commit
74df32d9ca
@ -1,5 +1,5 @@
|
|||||||
# Enabled by default
|
# Enabled by default
|
||||||
%bcond_with tests
|
%bcond_without tests
|
||||||
|
|
||||||
%global pypi_name pytest-lazy-fixture
|
%global pypi_name pytest-lazy-fixture
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ Use fixtures in pytest.mark.parametrize.}
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.5.2
|
Version: 0.5.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Use fixtures in pytest.mark.parametrize
|
Summary: Use fixtures in pytest.mark.parametrize
|
||||||
|
|
||||||
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
|
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
|
||||||
@ -35,10 +35,6 @@ BuildRequires: %{py3_dist pytest}
|
|||||||
%autosetup -n %{pypi_name}-%{version}
|
%autosetup -n %{pypi_name}-%{version}
|
||||||
rm -rf %{pypi_name}.egg-info
|
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
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
@ -58,6 +54,9 @@ PYTHONPATH="%{buildroot}/%{python3_sitelib}/" pytest-3
|
|||||||
%{python3_sitelib}/__pycache__
|
%{python3_sitelib}/__pycache__
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 12 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.5.2-1
|
||||||
- Own pycache directory to fix permission issues #1723047
|
- Own pycache directory to fix permission issues #1723047
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user