os-release: update OPENMAMBA_GIT_URL
provide the file /usr/lib/os-release and the symlink %{_sysconfdir}/os-release [release 2.95.0-4mamba;Fri Aug 29 2014]
This commit is contained in:
parent
b958cafb79
commit
9b5b1fb8a5
@ -17,7 +17,7 @@
|
||||
|
||||
Name: openmamba-release
|
||||
Version: 2.95.0
|
||||
Release: 3mamba
|
||||
Release: 4mamba
|
||||
Summary: Release file and Smart Package Manager configuration for %{distroid} %{fullversion} %{?codename:(%codename)}
|
||||
Group: System/Configuration
|
||||
Vendor: openmamba
|
||||
@ -83,7 +83,8 @@ echo "\
|
||||
> %{buildroot}%{_sysconfdir}/sysconfig/release
|
||||
|
||||
# http://www.freedesktop.org/software/systemd/man/os-release.html
|
||||
cat > %{buildroot}%{_sysconfdir}/os-release <<EOF
|
||||
install -d %{buildroot}/usr/lib
|
||||
cat > %{buildroot}%{_usr}/lib/os-release <<EOF
|
||||
NAME=%{distroid}
|
||||
VERSION="%{fullversion}%{?codename: (%codename)}"
|
||||
ID=%{distroid}
|
||||
@ -96,9 +97,10 @@ BUG_REPORT_URL="http://bugs.openmamba.org/"
|
||||
OPENMAMBA_MILESTONE="%{?milestone:%milestone}"
|
||||
OPENMAMBA_CODENAME="%{?codename:%codename}"
|
||||
OPENMAMBA_FORUM_URL="http://forum.openmamba.org/"
|
||||
OPENMAMBA_GIT_URL="http://git.openmamba.org/"
|
||||
OPENMAMBA_GIT_URL="http://gitlab.mambasoft.it/openmamba/"
|
||||
OPENMAMBA_WEBBUILD_URL="http://www.openmamba.org/distribution/webbuild.php"
|
||||
EOF
|
||||
ln -sf ..%{_usr}/lib/os-release %{buildroot}%{_sysconfdir}/os-release
|
||||
|
||||
echo "
|
||||
%{distroid} release %{version} (%{?codename} %{fullversion})
|
||||
@ -161,7 +163,7 @@ install -D -m 755 %{SOURCE17} %{buildroot}/etc/xprofile.d/gpg-key-openmamba.sh
|
||||
%post
|
||||
if [ $1 -ge 1 ]; then
|
||||
# Import Mambasoft gpg key if needed
|
||||
HOME=/root gpg -q --import %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft || true
|
||||
HOME=/root gpg -q --import %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft || :
|
||||
#rpm -q gpg-pubkey-87468781-4bb78410 >/dev/null 2>&1 || \
|
||||
#rpm --import %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft
|
||||
fi
|
||||
@ -169,32 +171,37 @@ fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/%{distroid}-release
|
||||
%{_datadir}/openmamba/pkggroups.db
|
||||
%dir %{_sysconfdir}/pki/rpm-gpg
|
||||
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft
|
||||
%{_sysconfdir}/profile.d/gpg-key-openmamba.sh
|
||||
%{_sysconfdir}/xprofile.d/gpg-key-openmamba.sh
|
||||
%{_sysconfdir}/%{distroid}-release
|
||||
%{_sysconfdir}/os-release
|
||||
%{_usr}/lib/os-release
|
||||
%{_sysconfdir}/system-release
|
||||
%{_sysconfdir}/rpm/macros.openmamba_release
|
||||
%{_sysconfdir}/sysconfig/release
|
||||
%{_sysconfdir}/issue
|
||||
%{_sysconfdir}/issue.net
|
||||
%{_sysconfdir}/smart/distro.d/10-%{distroid}-milestone2-repositories.py
|
||||
%{_sysconfdir}/smart/distro.d/95-multi-version-select.py
|
||||
%ifarch x86_64
|
||||
%{_sysconfdir}/smart/distro.d/93-multiarch-update-x86_64.py
|
||||
%endif
|
||||
%{_sysconfdir}/smart/distro.d/95-multi-version-select.py
|
||||
%{_sysconfdir}/smart/distro.d/95-virtual-packages-select.py
|
||||
%{_sysconfdir}/smart/distro.d/98-configure-once.py
|
||||
%{_bindir}/%{distroid}-release
|
||||
%{_datadir}/openmamba/pkggroups.db
|
||||
|
||||
%files -n openmamba-devel
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
|
||||
|
||||
%changelog
|
||||
* Fri Aug 29 2014 Davide Madrisan <davide.madrisan@gmail.com> 2.95.0-4mamba
|
||||
- os-release: update OPENMAMBA_GIT_URL
|
||||
- provide the file /usr/lib/os-release and the symlink %{_sysconfdir}/os-release
|
||||
|
||||
* Thu Aug 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.95.0-3mamba
|
||||
- groups.db: remove ntp which installed chrony (replaced by systemd)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user