rename spec to match directory name #1
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 20 13:00:36 UTC 2025 - Michael Calmer <mc@suse.com>
|
||||
|
||||
- rename spec to match directory name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 21 13:14:33 UTC 2023 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user