diff --git a/python-pyjavaproperties.changes b/python-pyjavaproperties.changes index d53a4c7..b8d9717 100644 --- a/python-pyjavaproperties.changes +++ b/python-pyjavaproperties.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 10 07:25:47 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Sep 11 10:44:33 UTC 2020 - John Vandenberg diff --git a/python-pyjavaproperties.spec b/python-pyjavaproperties.spec index dccd7fc..3c50923 100644 --- a/python-pyjavaproperties.spec +++ b/python-pyjavaproperties.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyjavaproperties # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2012 Abel Luck # # All modifications and additions to the file contributed by third parties @@ -25,7 +25,9 @@ License: MIT Group: Development/Languages/Python URL: https://bitbucket.org/skeptichacker/pyjavaproperties Source0: https://files.pythonhosted.org/packages/source/p/pyjavaproperties/pyjavaproperties-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-base @@ -40,10 +42,10 @@ A python library for parsing Java properties files. sed -i '/^#!/d' pyjavaproperties.py pyjavaproperties_test.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install # Upstream patch to not install test module # https://bitbucket.org/skeptichacker/pyjavaproperties/pull-requests/1 %{python_expand rm %{buildroot}%{$python_sitelib}/pyjavaproperties_test.py @@ -56,6 +58,7 @@ sed -i '/^#!/d' pyjavaproperties.py pyjavaproperties_test.py %files %{python_files} %license LICENSE %doc README.rst CHANGELOG.txt -%{python_sitelib}/* +%{python_sitelib}/pyjavaproperties +%{python_sitelib}/pyjavaproperties-%{version}*-info %changelog