%global pypi_name git_up Name: git-up Version: 2.2.0 Release: 7%{?dist} Summary: A more friendly "git pull" in Python License: MIT URL: https://github.com/msiemens/PyGitUp Source0: %{pypi_source} Source1: https://raw.githubusercontent.com/msiemens/PyGitUp/v%{version}/LICENCE BuildArch: noarch BuildRequires: python3-devel # Test dependencies: BuildRequires: python3dist(pytest) %description PyGitUp is a Python port of aanand/git-up. It not only fully covers the abilities of git-up and should be a drop-in replacement, but also extends it slightly. %prep %autosetup -n %{pypi_name}-%{version} cp %{SOURCE1} . %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files PyGitUp %check if ! git config user.name ; then git config --global user.name "user" fi if ! git config user.email ; then git config --global user.email "user@example.com" fi %pytest %files -f %{pyproject_files} %license LICENCE %doc README.rst %{_bindir}/git-up %exclude %{python3_sitelib}/PyGitUp/tests %changelog * Thu Jul 18 2024 Fedora Release Engineering - 2.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.2.0-6 - Rebuilt for Python 3.13 * Wed Jan 24 2024 Fedora Release Engineering - 2.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 17 2023 Ewoud Kohl van Wijngaarden - 2.2.0-2 - Rebuilt for Python 3.12 * Wed Jul 05 2023 Ewoud Kohl van Wijngaarden - 2.2.0-1 - Update to 2.2.0 which fixes rhbz#2211331 * Thu Jan 19 2023 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Oct 13 2021 Ewoud Kohl van Wijngaarden - 2.1.0-1 - Update to 2.1.0 * Tue Jan 26 2021 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Oct 5 2020 Martin Jackson - 2.0.1-2 - Add explicit dep on setuptools. * Sat Aug 29 2020 Martin Jackson - 2.0.1-1 - New upstream release. Relaxes dep on colorama. * Sun Aug 23 2020 Martin Jackson - 1.6.1-6 - Comment out %check for now. Change in git broke them. Will be fixed in upstream 2.0.0 * Sat Aug 01 2020 Fedora Release Engineering - 1.6.1-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 1.6.1-3 - Rebuilt for Python 3.9 * Tue Jan 28 2020 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Dec 20 2019 Martin Jackson - 1.6.1-1 - Initial release