diff --git a/python-unidiff.changes b/python-unidiff.changes index 0f1b95d..203fdf8 100644 --- a/python-unidiff.changes +++ b/python-unidiff.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Dec 29 09:56:02 UTC 2023 - Dirk Müller + +- update to 0.7.5: + * Fixed issue with spaces in filename when using custom git + prefix. + * Support binary patch format. + ------------------------------------------------------------------- Mon Jun 27 07:35:14 UTC 2022 - Martin Liška diff --git a/python-unidiff.spec b/python-unidiff.spec index 8cd6704..11195e6 100644 --- a/python-unidiff.spec +++ b/python-unidiff.spec @@ -1,7 +1,7 @@ # # spec file for package python-unidiff # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-unidiff -Version: 0.7.4 +Version: 0.7.5 Release: 0 Summary: Unified diff parsing/metadata extraction library License: MIT Group: Development/Languages/Python URL: https://github.com/matiasb/python-unidiff Source: https://github.com/matiasb/python-unidiff/archive/v%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -43,10 +44,10 @@ Python library to parse and interact with unified diff data. %setup -q -n python-unidiff-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/unidiff %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -63,6 +64,7 @@ Python library to parse and interact with unified diff data. %doc HISTORY README.rst %license LICENSE %python_alternative %{_bindir}/unidiff -%{python_sitelib}/* +%{python_sitelib}/unidiff +%{python_sitelib}/unidiff-%{version}.dist-info %changelog diff --git a/v0.7.4.tar.gz b/v0.7.4.tar.gz deleted file mode 100644 index abd7af5..0000000 --- a/v0.7.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d3aa7c08a797e09916b5e51492ada9e9c9532a11e7d006184e1b792917d1524 -size 17582 diff --git a/v0.7.5.tar.gz b/v0.7.5.tar.gz new file mode 100644 index 0000000..57bd56e --- /dev/null +++ b/v0.7.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8900d5b9eed98073c181352504ed5d440d876e3e79a008ae4811a6e50f9b777 +size 18334