%?python_enable_dependency_generator %global srcname conda-package-handling %global pkgname conda_package_handling Name: python-%{srcname} Version: 1.7.0 Release: 2%{?dist} Summary: Create and extract conda packages of various formats License: BSD URL: https://github.com/conda/%{srcname} Source0: https://github.com/conda/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildRequires: gcc BuildRequires: libarchive-devel %description Create and extract conda packages of various formats. %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{python3_pkgversion}-six BuildRequires: python%{python3_pkgversion}-tqdm BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-pytest-cov BuildRequires: python%{python3_pkgversion}-pytest-mock Requires: python%{python3_pkgversion}-six Requires: python%{python3_pkgversion}-tqdm %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %description -n python%{python3_pkgversion}-%{srcname} Create and extract conda packages of various formats. %prep %autosetup -n %{srcname}-%{version} sed -i -e s/archive_and_deps/archive/ setup.py %build %py3_build %install %py3_install %check # test_secure_refusal_to_extract_abs_paths is not ready upstream # https://github.com/conda/conda-package-handling/issues/59 PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v tests -k 'not test_secure_refusal_to_extract_abs_paths' %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc AUTHORS.txt CHANGELOG.md README.md %{_bindir}/cph %{python3_sitearch}/%{pkgname}-*.egg-info/ %{python3_sitearch}/%{pkgname}/ %changelog * Tue May 26 2020 Miro Hrončok - 1.7.0-2 - Rebuilt for Python 3.9 * Thu May 07 2020 Orion Poplawski - 1.7.0-1 - Update to 1.7.0 * Thu May 07 2020 Orion Poplawski - 1.6.1-1 - Update to 1.6.1 * Sun Feb 2 2020 Orion Poplawski - 1.6.0-3 - Exclude failing test that is not ready upstream * Thu Jan 30 2020 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Nov 8 2019 Orion Poplawski - 1.6.0-1 - Update to 1.6.0 * Thu Oct 03 2019 Miro Hrončok - 1.4.1-3 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.4.1-2 - Rebuilt for Python 3.8 * Fri Aug 16 2019 Orion Poplawski - 1.4.1-1 - Update to 1.4.1 - Enable python dependency generator * Mon Jul 29 2019 Orion Poplawski - 1.3.11-1 - Update to 1.3.11 * Fri Jul 26 2019 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 11 2019 Orion Poplawski - 1.3.1-1 - Update to 1.3.1 * Sat May 18 2019 Orion Poplawski - 1.1.1-1 - Initial Fedora package