From 79dde8adeed51dddc283b19d0312bde5e2653446 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Jan 15 2023 03:26:41 +0000 Subject: Update to 2.0.2 Use SPDX License tag --- diff --git a/.gitignore b/.gitignore index 72d4258..bf1e382 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /conda-package-handling-1.7.3.tar.gz /conda-package-handling-1.8.1.tar.gz /conda-package-handling-1.9.0.tar.gz +/conda-package-handling-2.0.2.tar.gz diff --git a/python-conda-package-handling.spec b/python-conda-package-handling.spec index fd39111..bb92741 100644 --- a/python-conda-package-handling.spec +++ b/python-conda-package-handling.spec @@ -3,16 +3,15 @@ %global pkgname conda_package_handling Name: python-%{srcname} -Version: 1.9.0 +Version: 2.0.2 Release: 1%{?dist} Summary: Create and extract conda packages of various formats -License: BSD +License: BSD-3-Clause URL: https://github.com/conda/%{srcname} Source0: https://github.com/conda/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz -BuildRequires: gcc -BuildRequires: libarchive-devel +BuildArch: noarch %description Create and extract conda packages of various formats. @@ -21,6 +20,7 @@ Create and extract conda packages of various formats. Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-conda-package-streaming BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{python3_pkgversion}-six BuildRequires: python%{python3_pkgversion}-tqdm @@ -46,18 +46,20 @@ sed -i -E '/--(no-)?cov/d' setup.cfg %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' +PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc AUTHORS.md CHANGELOG.md README.md %{_bindir}/cph -%{python3_sitearch}/%{pkgname}-*.egg-info/ -%{python3_sitearch}/%{pkgname}/ +%{python3_sitelib}/%{pkgname}-*.egg-info/ +%{python3_sitelib}/%{pkgname}/ %changelog +* Sat Jan 14 2023 Orion Poplawski - 2.0.2-1 +- Update to 2.0.2 +- Use SPDX License tag + * Fri Sep 23 2022 Orion Poplawski - 1.9.0-1 - Update to 1.9.0 diff --git a/sources b/sources index 0198ad8..323eab1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (conda-package-handling-1.9.0.tar.gz) = da24352458eb8385f55b96348dc946acfcad0b6a557e79db6f2b02884128c964d52a7df3f14b1bb07964ca2df604c9b4e1c1a2df6be5c69799d52e13b54c0c9d +SHA512 (conda-package-handling-2.0.2.tar.gz) = 36abdfff766d2367f35a720724a1e9f8d5f5ccfe348c7015356072193526c2da65756a231c6fe4c9949d5108fac15a4023e7d7131251c9bf6303f9a8d6d946b7