diff --git a/python-augeas-1.1.0.tar.gz b/python-augeas-1.1.0.tar.gz deleted file mode 100644 index 8c18371..0000000 --- a/python-augeas-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a1d2cdaf2ad4c091ed5ec7976c52d16e14ecfbf40b1bdcaced2465255fb0f87 -size 95457 diff --git a/python-augeas-1.2.0.tar.gz b/python-augeas-1.2.0.tar.gz new file mode 100644 index 0000000..278adb2 --- /dev/null +++ b/python-augeas-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee2c1e74cad61124097c5f540f063fa2dd3b8cd3159f1706f11167814c9bfcd5 +size 98197 diff --git a/python-augeas.changes b/python-augeas.changes index 0c8be6b..05252a0 100644 --- a/python-augeas.changes +++ b/python-augeas.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Dec 2 08:38:00 UTC 2024 - Steve Kowalik + +- Update to 1.2.0: + * Includes a number of additional libaugeas bindings: + + load_file + + source + + srun + + preview + + ns_attr + + ns_label + + ns_value + + ns_count + + ns_path + * CFFI mode changed to out-of-line ABI mode +- Package no longer noarch. +- Switch to pyproject and pytest macros. +- Run fdupes. +- No more greedy globs in %files. + ------------------------------------------------------------------- Tue Oct 8 13:50:01 UTC 2024 - Dominik Heidler diff --git a/python-augeas.spec b/python-augeas.spec index 92e509c..6b98926 100644 --- a/python-augeas.spec +++ b/python-augeas.spec @@ -18,22 +18,26 @@ %{?sle15allpythons} Name: python-augeas -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: Python bindings for Augeas License: LGPL-2.1-or-later -Group: Development/Languages/Python URL: http://augeas.net/ Source: https://github.com/hercules-team/python-augeas/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: %{python_module cffi >= 1.0.0} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: augeas-devel BuildRequires: augeas-lenses +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: augeas Requires: python-cffi >= 1.0.0 # We'd always want to have augeas-lenses installed Requires: augeas-lenses -BuildArch: noarch %python_subpackages %description @@ -44,21 +48,20 @@ configuration files. %setup -q %build -%python_build +%pyproject_wheel %install -%python_install - -# do not pack tests -%python_expand rm -rf %{buildroot}%{$python_sitelib}/test +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check -cd test -%python_exec test_augeas.py +%pytest_arch %files %{python_files} -%doc AUTHORS README.txt +%doc AUTHORS README.md %license COPYING -%{python_sitelib}/* +%{python_sitearch}/augeas +%{python_sitearch}/_augeas.abi3.so +%{python_sitearch}/python_augeas-%{version}.dist-info %changelog