diff --git a/identify-2.6.10.tar.gz b/identify-2.6.10.tar.gz new file mode 100644 index 0000000..8bf71b7 --- /dev/null +++ b/identify-2.6.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:289f9d03bdce49af3bdb74f4588cd3af1ce65605e6ecc393abe2e21016ec3ee4 +size 101914 diff --git a/identify-2.6.9.tar.gz b/identify-2.6.9.tar.gz deleted file mode 100644 index 4ba6b63..0000000 --- a/identify-2.6.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:06f68e7e60e2ec92408d734b3093b6488461e871bdbc21dafc946edf255b741a -size 101919 diff --git a/python-identify.changes b/python-identify.changes index 5a4f746..77f0291 100644 --- a/python-identify.changes +++ b/python-identify.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 28 15:06:47 UTC 2025 - Markéta Machová + +- Update to 2.6.10 + * Add support for Magik +- Convert to pyproject macros + ------------------------------------------------------------------- Tue Apr 1 12:18:10 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-identify.spec b/python-identify.spec index 688de6f..2c21aa8 100644 --- a/python-identify.spec +++ b/python-identify.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-identify -Version: 2.6.9 +Version: 2.6.10 Release: 0 Summary: File identification library for Python License: MIT @@ -28,6 +28,7 @@ Source: https://github.com/pre-commit/identify/archive/v%{version}.tar.g # PATCH-FIX-OPENSUSE 0001-use-editdistance-not-ukkonen.patch -- ukkonen not packaged for opensuse now Patch1: 0001-use-editdistance-not-ukkonen.patch BuildRequires: %{python_module editdistance} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -46,10 +47,10 @@ File identification library for Python, including license file SPDX identifier. %autopatch -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/identify-cli %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -67,6 +68,6 @@ File identification library for Python, including license file SPDX identifier. %license LICENSE %python_alternative %{_bindir}/identify-cli %{python_sitelib}/identify -%{python_sitelib}/identify-%{version}-*-info +%{python_sitelib}/identify-%{version}*info %changelog