diff --git a/django-codemod-0.13.0.tar.gz b/django-codemod-0.13.0.tar.gz deleted file mode 100644 index c5388db..0000000 --- a/django-codemod-0.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5e2424801922efc9e2c13602ab8fce1920ff4d7dee7aedea43eb2fbd76e142dc -size 26206 diff --git a/django-codemod-1.0.0.tar.gz b/django-codemod-1.0.0.tar.gz new file mode 100644 index 0000000..7243081 --- /dev/null +++ b/django-codemod-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3276655feca901653962339d799b5f9aee6e866581aa376781c4ae831f34ab86 +size 63035 diff --git a/python-django-codemod.changes b/python-django-codemod.changes index 66dd945..eb6f973 100644 --- a/python-django-codemod.changes +++ b/python-django-codemod.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 26 08:48:41 UTC 2020 - John Vandenberg + +- Update to v1.0.0 + * See https://github.com/browniebroke/django-codemod/compare/v0.13.0...v1.0.0 + ------------------------------------------------------------------- Sat Aug 8 03:53:00 UTC 2020 - John Vandenberg diff --git a/python-django-codemod.spec b/python-django-codemod.spec index 70a8c17..965605f 100644 --- a/python-django-codemod.spec +++ b/python-django-codemod.spec @@ -18,19 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-django-codemod -Version: 0.13.0 +Version: 1.0.0 Release: 0 Summary: Collections of libCST codemodders to upgrade Django License: MIT Group: Development/Languages/Python URL: https://github.com/browniebroke/django-codemod -Source: https://files.pythonhosted.org/packages/source/d/django-codemod/django-codemod-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +Source: https://github.com/browniebroke/django-codemod/archive/v%{version}.tar.gz#/django-codemod-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-click Requires: python-libcst Requires: python-rich +Recommends: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch @@ -49,14 +51,14 @@ Collections of libCST codemodders to upgrade Django. %prep %setup -q -n django-codemod-%{version} -sed -i 's/rich<5/rich/' setup.cfg -sed -i '/addopts/d' setup.cfg +sed -i 's/rich = ".*"/rich = "*"/' pyproject.toml +sed -i '/addopts/d' pyproject.toml %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/djcodemod %python_expand %fdupes %{buildroot}%{$python_sitelib}