diff --git a/saltbundlepy-apt.changes b/saltbundlepy-apt-ubuntu2004.changes similarity index 84% rename from saltbundlepy-apt.changes rename to saltbundlepy-apt-ubuntu2004.changes index 0e1cd8e..5affd09 100644 --- a/saltbundlepy-apt.changes +++ b/saltbundlepy-apt-ubuntu2004.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 20 13:00:36 UTC 2025 - Michael Calmer + +- rename spec to match directory name + ------------------------------------------------------------------- Thu Dec 21 13:14:33 UTC 2023 - Pablo Suárez Hernández diff --git a/saltbundlepy-apt.spec b/saltbundlepy-apt-ubuntu2004.spec similarity index 77% rename from saltbundlepy-apt.spec rename to saltbundlepy-apt-ubuntu2004.spec index 91556d3..cf7fc70 100644 --- a/saltbundlepy-apt.spec +++ b/saltbundlepy-apt-ubuntu2004.spec @@ -18,8 +18,9 @@ %{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} %define pythons saltbundlepy +%define realname saltbundlepy-apt -Name: saltbundlepy-apt +Name: saltbundlepy-apt-ubuntu2004 Version: 2.0.0.0.20.04.4 %define real_version 2.0.0ubuntu0.20.04.4 Release: 0 @@ -35,12 +36,10 @@ BuildRequires: %{saltbundlepy_module setuptools-scm} BuildRequires: fdupes BuildRequires: libapt-pkg-dev BuildRequires: saltbundlepy-rpm-macros -Requires: saltbundlepy-apt-common BuildRoot: %{_tmppath}/%{name}-%{real_version}-build %if ! (0%{?ubuntu} && 0%{?ubuntu} == 2004) ExclusiveArch: do_not_build %endif -%python_subpackages %description Python interface to libapt-pkg @@ -56,13 +55,35 @@ variety of functions, such as: The included 'aptsources' Python interface provides an abstraction of the sources.list configuration on the repository and the distro level. -%package common +%package -n %{realname} +Summary: Python interface to libapt-pkg +License: GPL-2.0-only +Group: Development/Libraries/Python +Requires: saltbundlepy-apt-common +%python_subpackages + +%description -n %{realname} +Python interface to libapt-pkg +The apt_pkg Python interface will provide full access to the internal +libapt-pkg structures allowing Python programs to easily perform a +variety of functions, such as: + +- Access to the APT configuration system +- Access to the APT package information database +- Parsing of Debian package control files, and other files with a + similar structure + +The included 'aptsources' Python interface provides an abstraction of +the sources.list configuration on the repository and the distro level. + + +%package -n %{realname}-common Summary: Python interface to libapt-pkg (locales) Group: Development/Libraries/Python BuildArch: noarch Provides: %{saltbundlepy_module apt-common} -%description common +%description -n %{realname}-common Python interface to libapt-pkg (locales) The apt_pkg Python interface will provide full access to the internal libapt-pkg structures allowing Python programs to easily perform a @@ -83,12 +104,12 @@ DEBVER="%{version}" %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%files %{python_files} +%files -n %{realname} %license COPYING.GPL %doc README.md AUTHORS %{python_sitelib} -%files common +%files -n %{realname}-common %license COPYING.GPL %doc README.md AUTHORS %{_datadir}/python-apt/templates