%global srcname colcon-cd Name: python-%{srcname} Version: 0.2.1 Release: 1%{?dist} Summary: Extension for colcon to change the current working directory License: Apache-2.0 URL: https://colcon.readthedocs.io Source0: https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch # Not submitted upstream Patch0: %{name}-0.1.1-install-data-files-manually.patch %description A shell function for colcon-core to change the current working directory. %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-setuptools >= 30.3.0 %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %if %{undefined __pythondist_requires} Requires: python%{python3_pkgversion}-colcon-core >= 0.4.1 Requires: python%{python3_pkgversion}-colcon-package-information %endif %description -n python%{python3_pkgversion}-%{srcname} A shell function for colcon-core to change the current working directory. %prep %autosetup -p1 -n %{srcname}-%{version} %build %py3_build %install %py3_install install -p -D function/colcon_cd.sh %{buildroot}%{_datadir}/colcon_cd/function/colcon_cd.sh %check %pytest \ --ignore=test/test_spell_check.py \ --ignore=test/test_flake8.py \ test %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/colcon_cd/ %{python3_sitelib}/colcon_cd-%{version}-py%{python3_version}.egg-info/ %{_datadir}/colcon_cd/ %changelog * Fri Mar 22 2024 Scott K Logan - 0.2.1-1 - Update to 0.2.1 (rhbz#2270216) * Thu Mar 14 2024 Scott K Logan - 0.2.0-1 - Update to 0.2.0 (rhbz#2269533) - Switch to SPDX license identifier * Fri Jan 26 2024 Fedora Release Engineering - 0.1.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.1.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.1.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.1.1-14 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.1.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.1.1-11 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.1.1-8 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 0.1.1-5 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Nov 01 2019 Scott K Logan - 0.1.1-3 - Install files to %%{_datadir} manually for older setuptools compat * Wed Oct 30 2019 Scott K Logan - 0.1.1-2 - Fix ownership of %%{_datadir}/colcon_cd * Wed Oct 30 2019 Scott K Logan - 0.1.1-1 - Initial package