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..3a79d35 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/openSUSE/libeconf.git - 535641ce1131db19d526e0f1d1d43437b87add44 + 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 e0c05a9..0000000 --- a/libeconf-0.5.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1f9a07d9693ec48f416b5ca31ac1d2f23a1f3688252edffec2e12ca8c1b3be2 -size 148804 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 162f946..5b2b779 100644 --- a/libeconf.changes +++ b/libeconf.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +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 + +- 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/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 new file mode 100644 index 0000000..0ad11e8 --- /dev/null +++ b/python-libeconf.changes @@ -0,0 +1,32 @@ +------------------------------------------------------------------- +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 + +- 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 + +- Support only Python >= 3.10. PEP 604 is used for union types + +------------------------------------------------------------------- +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..cf4612c --- /dev/null +++ b/python-libeconf.spec @@ -0,0 +1,68 @@ +# +# 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/ +# + + +%{?sle15_python_module_pythons} +%define skip_python39 1 +Name: python-libeconf +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-%{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 = %{version} +Suggests: python-libeconf-doc = %{version} +%python_subpackages + +%description +Python bindings for libeconf + +%package -n python-libeconf-doc +Summary: Man page for python-libeconf + +%description -n python-libeconf-doc +Man page for python-lineconf + +%prep +%autosetup -n libeconf-%{version}/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} +# The cache is not always present +#pycache_only %{python_sitelib}/__pycache__ + +%files -n python-libeconf-doc +%defattr(-,root,root) +%{_mandir}/man3/*python-libeconf* + +%changelog