diff --git a/ansel-0.2.0.tar.gz b/ansel-0.2.0.tar.gz deleted file mode 100644 index d3fca38..0000000 --- a/ansel-0.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:156d2f7b41c9a604bb6bb28ef9c779c182b183eb06a161b17aede3058f03693a -size 22980 diff --git a/ansel-1.0.0.tar.gz b/ansel-1.0.0.tar.gz new file mode 100644 index 0000000..19243f1 --- /dev/null +++ b/ansel-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d9027b7dd4804928d39f2fc733fbdd4b5dad5f47473b38c7b7d2196acf470dc +size 35966 diff --git a/python-ansel.changes b/python-ansel.changes index 4a8c5c8..1f27cfc 100644 --- a/python-ansel.changes +++ b/python-ansel.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Sep 16 11:06:43 UTC 2022 - pgajdos@suse.com + +- version update to 1.0.0 + * first stable release + https://github.com/haney/python-ansel/releases/tag/v1.0.0 +- python-six is not required + ------------------------------------------------------------------- Fri Nov 19 12:29:38 UTC 2021 - pgajdos@suse.com diff --git a/python-ansel.spec b/python-ansel.spec index 8434306..3d12815 100644 --- a/python-ansel.spec +++ b/python-ansel.spec @@ -1,7 +1,7 @@ # # spec file for package python-ansel # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,22 +18,22 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ansel -Version: 0.2.0 +Version: 1.0.0 Release: 0 Summary: Codecs for reading/writing documents in the ANSEL character set License: MIT Group: Development/Languages/Python URL: https://github.com/haney/python-ansel -Source: https://files.pythonhosted.org/packages/source/a/ansel/ansel-%{version}.tar.gz +Source: https://github.com/haney/python-ansel/archive/refs/tags/v1.0.0.tar.gz#/ansel-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-six BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pyfakefs} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module six} # /SECTION %python_subpackages @@ -41,15 +41,13 @@ BuildRequires: %{python_module six} Codecs for reading/writing documents in the ANSEL character set. %prep -%setup -q -n ansel-%{version} -# https://github.com/haney/python-ansel/issues/109 -sed -i 's:.pytest-runner.::' setup.py +%setup -q -n python-ansel-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check