%global srcname vcs2l Name: python-%{srcname} Version: 1.1.4 Release: 1%{?dist} Summary: Command line tool designed to make working with multiple repositories easier License: Apache-2.0 URL: https://github.com/ros-infrastructure/vcs2l/ Source0: https://github.com/ros-infrastructure/vcs2l/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch %global _description %{expand: Vcs2l is a fork of Dirk Thomas's vcstool which is a version control system (VCS) tool, designed to make working with multiple repositories easier. This fork is created to continue the development of vcstool, as it is no longer actively maintained. The commands provided by vcs2l have the same naming structure as the original fork, so it can be used as a drop-in replacement. Therefore, the repository is renamed to vcs2l while maintaining the command names to vcstool to ensure compatibility with existing scripts and workflows.} %description %_description %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel # Currently required for tests, but should be switched to using # the 'test' extra in the next release. BuildRequires: python%{python3_pkgversion}-pytest Conflicts: python%{python3_pkgversion}-vcstool Recommends: git %description -n python%{python3_pkgversion}-%{srcname} %_description %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l vcs2l %check # We can't run all of the tests right now because they require access to # GitHub. If/when that changes, we'll additionally need dependencies on # the relevant SCMs to run those tests. See ros-infrastructure/vcs2l#59. %pytest test -k 'not test_commands.py' %files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} %doc CHANGELOG.rst README.md SECURITY.md %{_bindir}/vcs* %{_datadir}/vcs2l-completion/ %changelog * Tue Sep 09 2025 Scott K Logan - 1.1.4-1 - Initial package