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
|
Name: openmamba-release
|
||||||
Version: 2.95.0
|
Version: 2.95.0
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
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
|
||||||
@ -83,7 +83,8 @@ echo "\
|
|||||||
> %{buildroot}%{_sysconfdir}/sysconfig/release
|
> %{buildroot}%{_sysconfdir}/sysconfig/release
|
||||||
|
|
||||||
# http://www.freedesktop.org/software/systemd/man/os-release.html
|
# 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}
|
NAME=%{distroid}
|
||||||
VERSION="%{fullversion}%{?codename: (%codename)}"
|
VERSION="%{fullversion}%{?codename: (%codename)}"
|
||||||
ID=%{distroid}
|
ID=%{distroid}
|
||||||
@ -96,9 +97,10 @@ BUG_REPORT_URL="http://bugs.openmamba.org/"
|
|||||||
OPENMAMBA_MILESTONE="%{?milestone:%milestone}"
|
OPENMAMBA_MILESTONE="%{?milestone:%milestone}"
|
||||||
OPENMAMBA_CODENAME="%{?codename:%codename}"
|
OPENMAMBA_CODENAME="%{?codename:%codename}"
|
||||||
OPENMAMBA_FORUM_URL="http://forum.openmamba.org/"
|
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"
|
OPENMAMBA_WEBBUILD_URL="http://www.openmamba.org/distribution/webbuild.php"
|
||||||
EOF
|
EOF
|
||||||
|
ln -sf ..%{_usr}/lib/os-release %{buildroot}%{_sysconfdir}/os-release
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
%{distroid} release %{version} (%{?codename} %{fullversion})
|
%{distroid} release %{version} (%{?codename} %{fullversion})
|
||||||
@ -161,7 +163,7 @@ install -D -m 755 %{SOURCE17} %{buildroot}/etc/xprofile.d/gpg-key-openmamba.sh
|
|||||||
%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 || 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 -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
|
||||||
@ -169,32 +171,37 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/%{distroid}-release
|
||||||
|
%{_datadir}/openmamba/pkggroups.db
|
||||||
%dir %{_sysconfdir}/pki/rpm-gpg
|
%dir %{_sysconfdir}/pki/rpm-gpg
|
||||||
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft
|
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-Mambasoft
|
||||||
%{_sysconfdir}/profile.d/gpg-key-openmamba.sh
|
%{_sysconfdir}/profile.d/gpg-key-openmamba.sh
|
||||||
%{_sysconfdir}/xprofile.d/gpg-key-openmamba.sh
|
%{_sysconfdir}/xprofile.d/gpg-key-openmamba.sh
|
||||||
%{_sysconfdir}/%{distroid}-release
|
%{_sysconfdir}/%{distroid}-release
|
||||||
%{_sysconfdir}/os-release
|
%{_sysconfdir}/os-release
|
||||||
|
%{_usr}/lib/os-release
|
||||||
%{_sysconfdir}/system-release
|
%{_sysconfdir}/system-release
|
||||||
%{_sysconfdir}/rpm/macros.openmamba_release
|
%{_sysconfdir}/rpm/macros.openmamba_release
|
||||||
%{_sysconfdir}/sysconfig/release
|
%{_sysconfdir}/sysconfig/release
|
||||||
%{_sysconfdir}/issue
|
%{_sysconfdir}/issue
|
||||||
%{_sysconfdir}/issue.net
|
%{_sysconfdir}/issue.net
|
||||||
%{_sysconfdir}/smart/distro.d/10-%{distroid}-milestone2-repositories.py
|
%{_sysconfdir}/smart/distro.d/10-%{distroid}-milestone2-repositories.py
|
||||||
%{_sysconfdir}/smart/distro.d/95-multi-version-select.py
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%{_sysconfdir}/smart/distro.d/93-multiarch-update-x86_64.py
|
%{_sysconfdir}/smart/distro.d/93-multiarch-update-x86_64.py
|
||||||
%endif
|
%endif
|
||||||
|
%{_sysconfdir}/smart/distro.d/95-multi-version-select.py
|
||||||
%{_sysconfdir}/smart/distro.d/95-virtual-packages-select.py
|
%{_sysconfdir}/smart/distro.d/95-virtual-packages-select.py
|
||||||
%{_sysconfdir}/smart/distro.d/98-configure-once.py
|
%{_sysconfdir}/smart/distro.d/98-configure-once.py
|
||||||
%{_bindir}/%{distroid}-release
|
|
||||||
%{_datadir}/openmamba/pkggroups.db
|
|
||||||
|
|
||||||
%files -n openmamba-devel
|
%files -n openmamba-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
|
%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Aug 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.95.0-3mamba
|
||||||
- groups.db: remove ntp which installed chrony (replaced by systemd)
|
- groups.db: remove ntp which installed chrony (replaced by systemd)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user