silence gpg --import in %post [release 2.99.1-2mamba;Sat Mar 14 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 08:14:07 +01:00
parent 2ded5f1f9f
commit 0e30a285f5

View File

@ -18,7 +18,7 @@
Name: openmamba-release Name: openmamba-release
Version: 2.99.1 Version: 2.99.1
Release: 1mamba Release: 2mamba
Summary: Release file and Smart Package Manager configuration for %{distroid} %{fullversion} %{?codename:(%codename)} Summary: Release file and Smart Package Manager configuration for %{distroid} %{fullversion} %{?codename:(%codename)}
Group: System/Configuration Group: System/Configuration
Vendor: openmamba Vendor: openmamba
@ -131,7 +131,7 @@ sed -i "s|\%ARCH\%|%{_host_cpu}|" %{buildroot}%{_sysconfdir}/smart/distro.d/*
%post %post
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
# Import Mambasoft gpg key if needed # Import Mambasoft gpg key if needed
HOME=/root gpg -q --import %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft || : HOME=/root gpg -q --import %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft >/dev/null 2>&1 || :
#rpm -q gpg-pubkey-87468781-4bb78410 >/dev/null 2>&1 || \ #rpm -q gpg-pubkey-87468781-4bb78410 >/dev/null 2>&1 || \
#rpm --import %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft #rpm --import %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft
fi fi
@ -166,6 +166,9 @@ fi
%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py %{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
%changelog %changelog
* Sat Mar 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.99.1-2mamba
- silence gpg --import in %post
* Sun Feb 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.99.1-1mamba * Sun Feb 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.99.1-1mamba
- update to 2.99.1 - update to 2.99.1