From d1d8269d4282ce77e9f0415fd3083df8168ed7d0 Mon Sep 17 00:00:00 2001 From: Federico Pellegrin Date: Jul 14 2023 03:45:07 +0000 Subject: Bump to 2.2.3 and fix running tests --- diff --git a/python-cookiecutter.spec b/python-cookiecutter.spec index fd750d2..4e91e48 100644 --- a/python-cookiecutter.spec +++ b/python-cookiecutter.spec @@ -6,10 +6,10 @@ A command-line utility that creates projects from cookiecutters (project templates), e.g. creating a Python package project from a Python package project template.} -%bcond_with tests +%bcond_without tests Name: %{pkgname} -Version: 2.1.1 +Version: 2.2.3 %forgemeta Release: %autorelease Summary: CLI utility to create projects from templates @@ -20,6 +20,12 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros +%if %{with tests} +BuildRequires: python3-pytest-cov +BuildRequires: python3-freezegun +BuildRequires: python3-pytest-mock +BuildRequires: git +%endif %description %{common_description} diff --git a/sources b/sources index b8da916..fffeb30 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (2.1.1.tar.gz) = 7833bfc0e6d2d32060e099a97a4477114c2e6f9b09f951c4a5519153fd7c1f9659c22596e443392272f4a6f80eabb2a346417bac56ea7ea4108fc6b36fc0072c +SHA512 (2.2.3.tar.gz) = 40df677c27c0b226cca36ecb983bd3b3e17b5aa0aac39df390064fdd54397971d3d8f2e2242c78459573bd9e49cdee0d42370cf65a6f752e6f372905b05baadb