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]

This commit is contained in:
Silvan Calarco 2024-01-05 21:44:26 +01:00
parent 7be364c9dd
commit d4f662084e

View File

@ -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 <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 4.95.2-1mamba
- update to 4.95.2
* Wed Oct 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.95.1-3mamba
- require pygobject-py3 for mambabase
- revert requiring dnf-plugins-core instead of yum-utils