From 5adc8ee640817089842e35e82e788e98b80f9f30efc1b22e9d4dabcc9cb2c64f Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Mon, 30 Oct 2023 09:58:24 +0000 Subject: [PATCH 1/4] Accepting request 1120759 from home:nkrapp:branches:devel:microos - Version 0.5.2: * Add python bindings (#188) * docu version 0.5.2 * Fix test (#185) * Plug memory leak (#186) - Python-libeconf Version 1.1.0 * Added tests * Support all functions form libeconf 0.5.2 * Bug fixes OBS-URL: https://build.opensuse.org/request/show/1120759 OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=14 --- _multibuild | 4 +++ _servicedata | 2 +- libeconf-0.5.2.tar.xz | 4 +-- libeconf.changes | 9 ++++++ python-libeconf.changes | 7 +++++ python-libeconf.spec | 67 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 90 insertions(+), 3 deletions(-) create mode 100644 _multibuild create mode 100644 python-libeconf.changes create mode 100644 python-libeconf.spec diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..e250e09 --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + +python-libeconf + + diff --git a/_servicedata b/_servicedata index 994a169..bab298a 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/openSUSE/libeconf.git - 535641ce1131db19d526e0f1d1d43437b87add44 + 9e9adf213476fcf0e0f57691bc69e7a0b061ce92 \ No newline at end of file diff --git a/libeconf-0.5.2.tar.xz b/libeconf-0.5.2.tar.xz index e0c05a9..5bec948 100644 --- a/libeconf-0.5.2.tar.xz +++ b/libeconf-0.5.2.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d1f9a07d9693ec48f416b5ca31ac1d2f23a1f3688252edffec2e12ca8c1b3be2 -size 148804 +oid sha256:0ca1904127f826907778178ea7083e636a75e64c25246672df7c5e2b2eacb20d +size 160396 diff --git a/libeconf.changes b/libeconf.changes index 162f946..81613fe 100644 --- a/libeconf.changes +++ b/libeconf.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Oct 26 14:56:30 UTC 2023 - nico.krapp@suse.com + +- Update to version 0.5.2: + * Add python bindings (#188) + * docu version 0.5.2 + * Fix test (#185) + * Plug memory leak (#186) + ------------------------------------------------------------------- Wed Sep 6 14:38:13 UTC 2023 - Stefan Schubert diff --git a/python-libeconf.changes b/python-libeconf.changes new file mode 100644 index 0000000..50c4633 --- /dev/null +++ b/python-libeconf.changes @@ -0,0 +1,7 @@ +------------------------------------------------------------------- +Fri Oct 27 08:42:26 UTC 2023 - Nico Krapp + +- Version 1.1.0 + * Added tests + * Support all functions form libeconf 0.5.2 + * Bug fixes diff --git a/python-libeconf.spec b/python-libeconf.spec new file mode 100644 index 0000000..c170ed8 --- /dev/null +++ b/python-libeconf.spec @@ -0,0 +1,67 @@ +# +# spec file for package python-libeconf +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-libeconf +Version: 1.1.0 +Release: 0 +Summary: Python bindings for libeconf +License: LGPL-2.1-or-later +Group: Development/Languages/Python +URL: https://github.com/openSUSE/libeconf +Source: libeconf-0.5.2.tar.xz +BuildArch: noarch +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +Requires: libeconf0 >= 0.5.2 +Requires: python3-base +Suggests: python-libeconf-doc == %{version} +%python_subpackages + +%description +Python bindings for libeconf + +%package -n python-libeconf-doc +Summary: Man page for python-libeconf +Requires: python-libeconf + +%description -n python-libeconf-doc +Man page for python-lineconf + +%prep +%autosetup -n libeconf-0.5.2/bindings/python3 + +%build +%pyproject_wheel + +%install +%pyproject_install +mkdir -p %{buildroot}/usr/share/man/man3 +cp docs/python-libeconf.3 %{buildroot}%{_mandir}/man3/ + +%files %python_files +%{python_sitelib}/ +%pycache_only %{python_sitelib}/__pycache__ + +%files -n python-libeconf-doc +%defattr(-,root,root) +%{_mandir}/man3/*python-libeconf* + +%changelog From cf0ed7c1909f0e7e35940031bc710e6c4b0f81b5c01e2ab91a7e9205b7be711a Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Fri, 3 Nov 2023 10:27:48 +0000 Subject: [PATCH 2/4] Accepting request 1123189 from home:aplanas:branches:devel:microos - Support only Python >= 3.10. PEP 604 is used for union types OBS-URL: https://build.opensuse.org/request/show/1123189 OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=15 --- python-libeconf.changes | 5 +++++ python-libeconf.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-libeconf.changes b/python-libeconf.changes index 50c4633..5026755 100644 --- a/python-libeconf.changes +++ b/python-libeconf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 3 10:12:29 UTC 2023 - Alberto Planas Dominguez + +- Support only Python >= 3.10. PEP 604 is used for union types + ------------------------------------------------------------------- Fri Oct 27 08:42:26 UTC 2023 - Nico Krapp diff --git a/python-libeconf.spec b/python-libeconf.spec index c170ed8..068f55b 100644 --- a/python-libeconf.spec +++ b/python-libeconf.spec @@ -16,6 +16,7 @@ # +%define skip_python39 1 Name: python-libeconf Version: 1.1.0 Release: 0 From 12e719a8de588ad2156914c3949b7a12b708333ae0181254e3f9f63287762a9e Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Fri, 10 Nov 2023 12:48:19 +0000 Subject: [PATCH 3/4] Accepting request 1124264 from home:schubi2 - Update to version 0.6.0: * Supporting Linux Userspace API (UAPI) Group chapter "Configuration Files Specification". See: https://uapi-group.org/specifications/specs/ configuration_files_specification/ - Update to version 0.5.3: * Added bindings for python3 and C# ------------------------------------------------------------------ - Fix version comparison operator - Remove explicit python3-base requirement - Update to version 1.1.1: * Supporting Linux Userspace API (UAPI) Group chapter "Configuration Files Specification". See: https://uapi-group.org/specifications/specs/ configuration_files_specification/ OBS-URL: https://build.opensuse.org/request/show/1124264 OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=16 --- _servicedata | 2 +- libeconf-0.5.2.tar.xz | 3 --- libeconf-0.6.0.tar.xz | 3 +++ libeconf.changes | 15 +++++++++++++++ libeconf.spec | 2 +- python-libeconf.changes | 15 +++++++++++++++ python-libeconf.spec | 11 +++++------ 7 files changed, 40 insertions(+), 11 deletions(-) delete mode 100644 libeconf-0.5.2.tar.xz create mode 100644 libeconf-0.6.0.tar.xz diff --git a/_servicedata b/_servicedata index bab298a..3a79d35 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/openSUSE/libeconf.git - 9e9adf213476fcf0e0f57691bc69e7a0b061ce92 + 1eef99e3144811c0acf905bb2e67a78633ee6eaf \ No newline at end of file diff --git a/libeconf-0.5.2.tar.xz b/libeconf-0.5.2.tar.xz deleted file mode 100644 index 5bec948..0000000 --- a/libeconf-0.5.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ca1904127f826907778178ea7083e636a75e64c25246672df7c5e2b2eacb20d -size 160396 diff --git a/libeconf-0.6.0.tar.xz b/libeconf-0.6.0.tar.xz new file mode 100644 index 0000000..d6099e7 --- /dev/null +++ b/libeconf-0.6.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:512bf447bcf4e739fb87e77371a3a8fd870398f605e2dfa2a984a7df2f3cd23f +size 171036 diff --git a/libeconf.changes b/libeconf.changes index 81613fe..5b2b779 100644 --- a/libeconf.changes +++ b/libeconf.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Nov 08 12:20:34 UTC 2023 - schubi@suse.com + +- Update to version 0.6.0: + * Supporting Linux Userspace API (UAPI) Group + chapter "Configuration Files Specification". + See: https://uapi-group.org/specifications/specs/ + configuration_files_specification/ + +------------------------------------------------------------------- +Fri Nov 03 16:44:38 UTC 2023 - schubi@suse.com + +- Update to version 0.5.3: + * Added bindings for python3 and C# + ------------------------------------------------------------------- Thu Oct 26 14:56:30 UTC 2023 - nico.krapp@suse.com diff --git a/libeconf.spec b/libeconf.spec index 5024cdd..d19f980 100644 --- a/libeconf.spec +++ b/libeconf.spec @@ -18,7 +18,7 @@ %define lname libeconf0 Name: libeconf -Version: 0.5.2 +Version: 0.6.0 Release: 0 Summary: Enhanced config file parser ala systemd License: LGPL-2.1-or-later diff --git a/python-libeconf.changes b/python-libeconf.changes index 5026755..cd7bf84 100644 --- a/python-libeconf.changes +++ b/python-libeconf.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------ +Wed Nov 8 12:45:07 UTC 2023 - Alberto Planas Dominguez + +- Fix version comparison operator +- Remove explicit python3-base requirement + +------------------------------------------------------------------- +Fri Nov 03 16:44:38 UTC 2023 - schubi@suse.com + +- Update to version 1.1.1: + * Supporting Linux Userspace API (UAPI) Group + chapter "Configuration Files Specification". + See: https://uapi-group.org/specifications/specs/ + configuration_files_specification/ + ------------------------------------------------------------------- Fri Nov 3 10:12:29 UTC 2023 - Alberto Planas Dominguez diff --git a/python-libeconf.spec b/python-libeconf.spec index 068f55b..358d42f 100644 --- a/python-libeconf.spec +++ b/python-libeconf.spec @@ -18,22 +18,21 @@ %define skip_python39 1 Name: python-libeconf -Version: 1.1.0 +Version: 0.6.0 Release: 0 Summary: Python bindings for libeconf License: LGPL-2.1-or-later Group: Development/Languages/Python URL: https://github.com/openSUSE/libeconf -Source: libeconf-0.5.2.tar.xz +Source: libeconf-%{version}.tar.xz BuildArch: noarch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros -Requires: libeconf0 >= 0.5.2 -Requires: python3-base -Suggests: python-libeconf-doc == %{version} +Requires: libeconf0 = %{version} +Suggests: python-libeconf-doc = %{version} %python_subpackages %description @@ -47,7 +46,7 @@ Requires: python-libeconf Man page for python-lineconf %prep -%autosetup -n libeconf-0.5.2/bindings/python3 +%autosetup -n libeconf-%{version}/bindings/python3 %build %pyproject_wheel From 45025ac905dc33cfc2e3b8bbe3b97c7d36656557e973c068edf7a4100512f71b Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Tue, 14 Nov 2023 10:05:31 +0000 Subject: [PATCH 4/4] Accepting request 1125417 from home:aplanas:branches:devel:microos - Do not requires the library for the documentation OBS-URL: https://build.opensuse.org/request/show/1125417 OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=17 --- python-libeconf.changes | 5 +++++ python-libeconf.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-libeconf.changes b/python-libeconf.changes index cd7bf84..0ad11e8 100644 --- a/python-libeconf.changes +++ b/python-libeconf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 13 07:55:36 UTC 2023 - Alberto Planas Dominguez + +- Do not requires the library for the documentation + ------------------------------------------------------------------ Wed Nov 8 12:45:07 UTC 2023 - Alberto Planas Dominguez diff --git a/python-libeconf.spec b/python-libeconf.spec index 358d42f..cf4612c 100644 --- a/python-libeconf.spec +++ b/python-libeconf.spec @@ -16,6 +16,7 @@ # +%{?sle15_python_module_pythons} %define skip_python39 1 Name: python-libeconf Version: 0.6.0 @@ -40,7 +41,6 @@ Python bindings for libeconf %package -n python-libeconf-doc Summary: Man page for python-libeconf -Requires: python-libeconf %description -n python-libeconf-doc Man page for python-lineconf @@ -57,8 +57,9 @@ mkdir -p %{buildroot}/usr/share/man/man3 cp docs/python-libeconf.3 %{buildroot}%{_mandir}/man3/ %files %python_files -%{python_sitelib}/ -%pycache_only %{python_sitelib}/__pycache__ +%{python_sitelib} +# The cache is not always present +#pycache_only %{python_sitelib}/__pycache__ %files -n python-libeconf-doc %defattr(-,root,root)