## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 20; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname vcstool Name: python-%{srcname} Version: 0.3.0 Release: %autorelease Summary: Tool to invoke vcs commands on multiple repositories # Automatically converted from old format: ASL 2.0 - review is highly recommended. License: Apache-2.0 URL: https://github.com/dirk-thomas/%{srcname} Source0: https://github.com/dirk-thomas/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: git BuildRequires: python3-devel BuildRequires: python3-pkg_resources BuildRequires: python3-pytest BuildRequires: python3-setuptools %description Vcstool is a version control system (VCS) tool, designed to make working with multiple repositories easier. Note: This tool should not be confused with vcstools (with a trailing s) which provides a Python API for interacting with different version control systems. The biggest differences between the two are: - vcstool doesn't use any state beside the repository working copies available in the filesystem. - The file format of vcstool export uses the relative paths of the repositories as keys in YAML which avoids collisions by design. - vcstool has significantly less lines of code than vcstools including the command line tools built on top. %package -n python3-%{srcname} Summary: %{summary} Recommends: git %description -n python3-%{srcname} Vcstool is a version control system (VCS) tool, designed to make working with multiple repositories easier. Note: This tool should not be confused with vcstools (with a trailing s) which provides a Python API for interacting with different version control systems. The biggest differences between the two are: - vcstool doesn't use any state beside the repository working copies available in the filesystem. - The file format of vcstool export uses the relative paths of the repositories as keys in YAML which avoids collisions by design. - vcstool has significantly less lines of code than vcstools including the command line tools built on top. %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} # Integrate bash completion with the bash-completion package install -d %{buildroot}%{_datadir}/bash-completion/completions cp -af %{buildroot}%{_datadir}/%{srcname}-completion/vcs.bash %{buildroot}%{_datadir}/bash-completion/completions/vcs %check # We skip two classes of test: # 1. Code style # 2. Tests which require network access PYTHONWARNINGS=ignore %pytest --ignore=test/test_flake8.py --ignore=test/test_commands.py %files -n python3-%{srcname} -f %{pyproject_files} %doc CONTRIBUTING.md README.rst %{_bindir}/vcs* %{_datadir}/%{srcname}-completion/ %{_datadir}/bash-completion/completions/vcs %changelog ## START: Generated by rpmautospec * Tue Jul 21 2026 Filipe Rosset - 0.3.0-20 - Fix F45FTBFS * Thu Jul 16 2026 Fedora Release Engineering - 0.3.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 03 2026 Python Maint - 0.3.0-17 - Rebuilt for Python 3.15 * Sat Jan 17 2026 Fedora Release Engineering - 0.3.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Wed Nov 19 2025 Scott K Logan - 0.3.0-15 - Ignore warnings during pytest (rhbz#2403567) * Fri Sep 19 2025 Python Maint - 0.3.0-14 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 0.3.0-13 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 0.3.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jun 02 2025 Python Maint - 0.3.0-11 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 0.3.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Jul 24 2024 Miroslav Suchý - 0.3.0-9 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.3.0-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.3.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Oct 16 2022 Scott K Logan - 0.3.0-1 - Update to 0.3.0 (rhbz#1991775) - Drop Python 2 subpackage, which is no longer supported upstream * Fri Jul 22 2022 Fedora Release Engineering - 0.2.15-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.15-6 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.2.15-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.15-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 02 2020 Scott K Logan - 0.2.15-1 - Update to 0.2.15 (rhbz#1891662) * Sun Aug 16 2020 Scott K Logan - 0.2.14-1 - Update to 0.2.14 (rhbz#1862412) * Mon Jul 27 2020 Scott K Logan - 0.2.13-1 - Update to 0.2.13 (rhbz#1859022) * Thu Jul 02 2020 Scott K Logan - 0.2.12-1 - Update to 0.2.12 (rhbz#1853214) * Thu Jun 18 2020 Scott K Logan - 0.2.11-1 - Update to 0.2.11 (rhbz#1847809) * Mon Jun 15 2020 Scott K Logan - 0.2.10-1 - Update to 0.2.10 (rhbz#1846217) * Fri May 29 2020 Scott K Logan - 0.2.9-1 - Update to 0.2.9 (rhbz#1838404) * Tue May 26 2020 Miro Hrončok - 0.2.8-2 - Rebuilt for Python 3.9 * Sun May 10 2020 Scott K Logan - 0.2.8-1 - Update to 0.2.8 (rhbz#1833742) * Wed Apr 15 2020 Scott K Logan - 0.2.7-1 - Update to 0.2.7 (rhbz#1787844) * Thu Jan 30 2020 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 30 2019 Scott K Logan - 0.2.4-1 - Update to 0.2.4 (rhbz#1764143) * Thu Oct 03 2019 Miro Hrončok - 0.2.3-3 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.2.3-2 - Rebuilt for Python 3.8 * Thu Aug 08 2019 Scott K Logan - 0.2.3-1 - Update to 0.2.3 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jul 17 2019 Scott K Logan - 0.2.2-1 - Update to 0.2.2 * Mon Jun 10 2019 Scott K Logan - 0.2.1-1 - Update to 0.2.1 (rhbz#1718722) * Mon Mar 18 2019 Scott K Logan - 0.1.40-1 - Update to 0.1.40 - Drop python3_other subpackage * Tue Feb 19 2019 Scott K Logan - 0.1.39-1 - Update to 0.1.39 * Thu Jan 17 2019 Scott K Logan - 0.1.38-1 - Update to 0.1.38 * Tue Oct 16 2018 Scott K Logan - 0.1.37-1 - Initial package ## END: Generated by rpmautospec