require libdnf >= 0.70.0-2mamba (build with python 3.10) [release 0.3.22-3mamba;Thu Mar 23 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 21:51:01 +01:00
parent caf8935ae1
commit a0d478d594

View File

@ -1,6 +1,6 @@
Name: dnfdaemon Name: dnfdaemon
Version: 0.3.22 Version: 0.3.22
Release: 1mamba Release: 3mamba
Summary: DBus daemon for doing package action with the dnf package manager Summary: DBus daemon for doing package action with the dnf package manager
Group: System/Management Group: System/Management
Vendor: openmamba Vendor: openmamba
@ -10,8 +10,9 @@ URL: https://github.com/manatools/dnfdaemon/
Source: https://github.com/manatools/dnfdaemon.git/%{version}/dnfdaemon-%{version}.tar.bz2 Source: https://github.com/manatools/dnfdaemon.git/%{version}/dnfdaemon-%{version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel BuildRequires: libpython310-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: libdnf >= 0.70.0-2mamba
%description %description
dnf-daemon is a 2 DBus services there make part for dnf's API available for application via DBus calls. dnf-daemon is a 2 DBus services there make part for dnf's API available for application via DBus calls.
@ -25,13 +26,14 @@ PolicyKit dialog to ask for password of a privileged user like root.
%prep %prep
%setup -q %setup -q
sed -i "s|%{__python3}$|%{__python310}|" daemon/*.py
%build %build
%make %make PYTHON3=%{__python310}
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall PYTHON3=%{__python310}
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -58,10 +60,16 @@ PolicyKit dialog to ask for password of a privileged user like root.
%{_datadir}/dnfdaemon/dnfdaemon-session %{_datadir}/dnfdaemon/dnfdaemon-session
%{_datadir}/dnfdaemon/dnfdaemon-system %{_datadir}/dnfdaemon/dnfdaemon-system
%{_datadir}/polkit-1/actions/org.baseurl.DnfSystem.policy %{_datadir}/polkit-1/actions/org.baseurl.DnfSystem.policy
%dir %{python3_sitelib}/dnfdaemon %dir %{python310_sitelib}/dnfdaemon
%{python3_sitelib}/dnfdaemon/* %{python310_sitelib}/dnfdaemon/*
%doc COPYING %doc COPYING
%changelog %changelog
* Thu Mar 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.22-3mamba
- require libdnf >= 0.70.0-2mamba (build with python 3.10)
* Wed Mar 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.22-2mamba
- rebuilt with python 3.10
* Sat Nov 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.22-1mamba * Sat Nov 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.22-1mamba
- package created using the webbuild interface - package created using the webbuild interface