From d4f662084ee1a54d0371412c53044f41a81a5f0a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:44:26 +0100 Subject: [PATCH] system-base-openmamba: require python-rpm; add system and desktop-base-openmamba protected.d files for dnf [release 4.95.2-2mamba;Sat Nov 02 2019] --- desktop-base-openmamba.spec | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/desktop-base-openmamba.spec b/desktop-base-openmamba.spec index 94892ef..7b1ffdd 100644 --- a/desktop-base-openmamba.spec +++ b/desktop-base-openmamba.spec @@ -19,8 +19,8 @@ %define distroicon openmamba Name: desktop-base-openmamba -Version: 4.95.1 -Release: 3mamba +Version: 4.95.2 +Release: 2mamba Summary: openmamba default desktop theme and menu entries Group: System/Tools Vendor: openmamba @@ -102,6 +102,8 @@ Requires: audit Requires: PackageKit Requires: dnf Requires: yum-utils +Requires: rpm +Requires: python-rpm #Requires: dnf-plugins-core Requires: dosfstools Requires: fuse-exfat @@ -134,11 +136,23 @@ openmamba base tools for non graphical system. install -d -m0755 %{buildroot}%{_sysconfdir}/udev/rules.d ln -s /dev/null %{buildroot}%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules +install -d -m0755 %{buildroot}%{_sysconfdir}/dnf/protected.d +cat > %{buildroot}%{_sysconfdir}/dnf/protected.d/system-base-openmamba.conf << _EOF +openmamba-release +system-base-openmamba +rpm +_EOF + +cat > %{buildroot}%{_sysconfdir}/dnf/protected.d/desktop-base-openmamba.conf << _EOF +desktop-base-openmamba +_EOF + %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files -n system-base-openmamba -f openmamba-update.lang %defattr(-,root,root) +%{_sysconfdir}/dnf/protected.d/system-base-openmamba.conf %{_sysconfdir}/udev/rules.d/80-net-setup-link.rules %config %{_sysconfdir}/profile.d/proxy.sh %{_sysconfdir}/sudoers.d/proxy @@ -157,6 +171,7 @@ ln -s /dev/null %{buildroot}%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules %files -f mambabase.lang %defattr(-,root,root) +%{_sysconfdir}/dnf/protected.d/desktop-base-openmamba.conf %{_sysconfdir}/xdg/menus/applications-merged/%{distroid}.menu %{_sysconfdir}/polkit-1/rules.d/48-nopasswd_sysadmin.rules %{_sysconfdir}/polkit-1/localauthority/10-vendor.d/60-desktop-policy.pkla @@ -213,6 +228,12 @@ ln -s /dev/null %{buildroot}%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules %{_datadir}/openmamba/desktop/desktop-*.tar.bz2 %changelog +* Sat Nov 02 2019 Silvan Calarco 4.95.2-2mamba +- system-base-openmamba: require python-rpm; add system and desktop-base-openmamba protected.d files for dnf + +* Sat Nov 02 2019 Silvan Calarco 4.95.2-1mamba +- update to 4.95.2 + * Wed Oct 30 2019 Silvan Calarco 4.95.1-3mamba - require pygobject-py3 for mambabase - revert requiring dnf-plugins-core instead of yum-utils