diff --git a/ShellCheck.spec b/ShellCheck.spec deleted file mode 100644 index 92d0421..0000000 --- a/ShellCheck.spec +++ /dev/null @@ -1,51 +0,0 @@ -%global pypi_name fuzzywuzzy - -Name: python-%{pypi_name} -Version: 0.18.0 -Release: 1 -Summary: Fuzzy string matching in Python - -License: GPL-2.0 -URL: https://github.com/seatgeek/fuzzywuzzy/ -Source0: %{pypi_source} -BuildArch: noarch - -%description -Fuzzy string matching module that uses Levenshtein Distance to calculate the -differences between sequences in a simple-to-use package. - -%package -n python3-%{pypi_name} -Summary: %{summary} - -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pycodestyle - -%description -n python3-%{pypi_name} -Fuzzy string matching module that uses Levenshtein Distance to calculate the -differences between sequences in a simple-to-use package. - -%prep -%setup -q -n %{pypi_name}-%{version} -# These scripts shouldn't be executable -sed -i '1d' %{pypi_name}/{fuzz.py,process.py,StringMatcher.py} -find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' - -%build -%py3_build - -%install -%py3_install - -%check -%{__python3} -m unittest - -%files -n python3-%{pypi_name} -%doc CHANGES.rst README.rst -%license LICENSE.txt -%{python3_sitelib}/%{pypi_name}/ -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ - -%changelog -* Mon Jun 20 2022 liukuo - 0.18.0-1 -- Package init diff --git a/fuzzywuzzy-0.3.0.tar.gz b/fuzzywuzzy-0.3.0.tar.gz deleted file mode 100644 index 70a1ea0..0000000 Binary files a/fuzzywuzzy-0.3.0.tar.gz and /dev/null differ diff --git a/python-fuzzywuzzy.spec b/python-fuzzywuzzy.spec index 7eb83f5..99e7b9a 100644 --- a/python-fuzzywuzzy.spec +++ b/python-fuzzywuzzy.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-fuzzywuzzy -Version: 0.3.0 +Version: 0.18.0 Release: 1 Summary: Fuzzy string matching in python License: GPL-2.0 URL: https://github.com/seatgeek/fuzzywuzzy/ -Source0: https://files.pythonhosted.org/packages/1d/09/5d5f09ceab99e7163ba302eba977638c969b92e2288111986460f4d2ca59/fuzzywuzzy-0.3.0.tar.gz +Source0: https://files.pythonhosted.org/packages/11/4b/0a002eea91be6048a2b5d53c5f1b4dafd57ba2e36eea961d05086d7c28ce/fuzzywuzzy-0.18.0.tar.gz BuildArch: noarch %description Fuzzy string matching like a boss. @@ -19,6 +19,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel +BuildRequires: python3-pycodestyle %description -n python3-fuzzywuzzy Fuzzy string matching like a boss. @@ -73,6 +74,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Aug 9 2022 caodongxia - 0.18.0-1 +- Update to 0.18.0 + * Thu Jun 23 2022 OpenStack_SIG - 0.3.0-1 - Init package python3-fuzzywuzzy of version 0.3.0 diff --git a/ShellCheck.yaml b/python-fuzzywuzzy.yaml similarity index 100% rename from ShellCheck.yaml rename to python-fuzzywuzzy.yaml