Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cookiecutter for openSUSE:Factory checked in at 2022-04-24 20:37:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cookiecutter (Old) and /work/SRC/openSUSE:Factory/.cookiecutter.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cookiecutter" Sun Apr 24 20:37:41 2022 rev:9 rq:972407 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/cookiecutter/cookiecutter.changes 2022-04-13 22:15:28.288200615 +0200 +++ /work/SRC/openSUSE:Factory/.cookiecutter.new.1538/cookiecutter.changes 2022-04-24 20:37:42.537264315 +0200 @@ -1,0 +2,7 @@ +Sun Apr 24 16:57:17 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- update fix-setup-version.patch to cookiecutter-fix-setup.patch + gh#cookiecutter/cookiecutter#1656 +- Sync rpm requirements metadata to setuptools generated metadata + +------------------------------------------------------------------- Old: ---- fix-setup-version.patch New: ---- cookiecutter-fix-setup.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cookiecutter.spec ++++++ --- /var/tmp/diff_new_pack.c5yUZU/_old 2022-04-24 20:37:43.325265107 +0200 +++ /var/tmp/diff_new_pack.c5yUZU/_new 2022-04-24 20:37:43.329265111 +0200 @@ -27,13 +27,13 @@ URL: https://github.com/audreyr/cookiecutter Source: https://github.com/cookiecutter/cookiecutter/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz # recent versions are not published on PyPI: https://github.com/cookiecutter/cookiecutter/issues/1636 -#Source: https://files.pythonhosted.org/packages/source/c/cookiecutter/cookiecutter-%{version}.tar.gz +#Source: https://files.pythonhosted.org/packages/source/c/cookiecutter/cookiecutter-%%{version}.tar.gz Source1: ccext.py -# PATCH-FIX-UPSTREAM -- fix-setup-version.patch https://github.com/cookiecutter/cookiecutter/pull/1656 -Patch0: https://github.com/cookiecutter/cookiecutter/pull/1656.patch#/fix-setup-version.patch -BuildRequires: %{python_module Jinja2 >= 2.7} +# PATCH-FIX-UPSTREAM -- cookiecutter-fix-setup.patch https://github.com/cookiecutter/cookiecutter/pull/1656 +Patch0: cookiecutter-fix-setup.patch +BuildRequires: %{python_module Jinja2 >= 2.7 with %python-Jinja2 < 4} BuildRequires: %{python_module binaryornot >= 0.2.0} -BuildRequires: %{python_module click >= 7.0} +BuildRequires: %{python_module click >= 7 with %python-click < 9} BuildRequires: %{python_module future >= 0.15.2} BuildRequires: %{python_module jinja2-time >= 0.1.0} BuildRequires: %{python_module poyo >= 0.1.0} @@ -44,16 +44,16 @@ BuildRequires: git-core BuildRequires: python-rpm-macros Requires: git-core -Requires: python-Jinja2 >= 2.7 Requires: python-PyYAML Requires: python-binaryornot >= 0.2.0 -Requires: python-click >= 7.0 Requires: python-future >= 0.15.2 Requires: python-jinja2-time >= 0.1.0 Requires: python-poyo >= 0.1.0 Requires: python-python-slugify Requires: python-requests >= 2.18.0 Requires: python-whichcraft >= 0.4.0 +Requires: (python-Jinja2 >= 2.7 with python-Jinja2 < 4) +Requires: (python-click >= 7 with python-click < 9) Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch @@ -98,8 +98,7 @@ This package contains the documentation for cookiecutter. %prep -%setup -q -n cookiecutter-%{version} -%patch0 -p1 +%autosetup -p1 -n cookiecutter-%{version} cp %{SOURCE1} docs # Remove pytest addopts: rm setup.cfg @@ -139,7 +138,8 @@ %files %{python_files} %license LICENSE %python_alternative cookiecutter -%{python_sitelib}/cookiecutter* +%{python_sitelib}/cookiecutter +%{python_sitelib}/cookiecutter-%{version}*-info %files -n cookiecutter-doc %license LICENSE ++++++ cookiecutter-fix-setup.patch ++++++ >From 0eceeecf20541e11cc1cc1bef750003309c41eac Mon Sep 17 00:00:00 2001 From: Sebastian Wagner <se...@sebix.at> Date: Mon, 28 Mar 2022 11:46:50 +0200 Subject: [PATCH] setup: fix version number minor change to fix the version number in setup.py. that mistake leads to wrong version numbers on the local installation --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: cookiecutter-2.0.2/setup.py =================================================================== --- cookiecutter-2.0.2.orig/setup.py +++ cookiecutter-2.0.2/setup.py @@ -2,7 +2,7 @@ """cookiecutter distutils configuration.""" from setuptools import setup -version = "2.0.0" +version = "2.0.2" with open('README.md', encoding='utf-8') as readme_file: readme = readme_file.read() @@ -10,7 +10,7 @@ with open('README.md', encoding='utf-8') requirements = [ 'binaryornot>=0.4.4', 'Jinja2>=2.7,<4.0.0', - 'click>=7.0,<8.0.0', + 'click>=7.0,<9.0.0', 'pyyaml>=5.3.1', 'jinja2-time>=0.2.0', 'python-slugify>=4.0.0',