update for milestone3 [release 2.96.0-1mamba;Thu Sep 11 2014]
This commit is contained in:
parent
9b5b1fb8a5
commit
fd70c6c51b
@ -1,4 +1,4 @@
|
|||||||
# openmamba-release
|
# openmamba-release
|
||||||
|
|
||||||
Release file and Smart Package Manager configuration for openmamba 2.95.0 .
|
Release file and Smart Package Manager configuration for openmamba 2.96.0 .
|
||||||
|
|
||||||
|
@ -9,15 +9,15 @@
|
|||||||
|
|
||||||
%if %branch == stable
|
%if %branch == stable
|
||||||
%define milestone milestone3
|
%define milestone milestone3
|
||||||
%define codename %{milestone}-build11
|
%define codename %{milestone}-build1
|
||||||
%else
|
%else
|
||||||
%define milestone devel
|
%define milestone devel
|
||||||
%define codename rolling
|
%define codename rolling
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: openmamba-release
|
Name: openmamba-release
|
||||||
Version: 2.95.0
|
Version: 2.96.0
|
||||||
Release: 4mamba
|
Release: 1mamba
|
||||||
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
|
||||||
@ -31,7 +31,7 @@ Source11: install-virtual.conf
|
|||||||
Source12: install-extras.lua
|
Source12: install-extras.lua
|
||||||
Source13: install-extras.conf
|
Source13: install-extras.conf
|
||||||
Source14: openmamba-smart-devel.py
|
Source14: openmamba-smart-devel.py
|
||||||
Source15: openmamba-smart-milestone2.py
|
Source15: openmamba-smart-milestone3.py
|
||||||
Source16: RPM-GPG-KEY-Mambasoft
|
Source16: RPM-GPG-KEY-Mambasoft
|
||||||
Source17: gpg-key-openmamba.sh
|
Source17: gpg-key-openmamba.sh
|
||||||
Source18: openmamba-smart-multi-version-select.py
|
Source18: openmamba-smart-multi-version-select.py
|
||||||
@ -121,6 +121,7 @@ install -d %{buildroot}%{_sysconfdir}/rpm
|
|||||||
echo "\
|
echo "\
|
||||||
%%_distrib_id %{distroid}
|
%%_distrib_id %{distroid}
|
||||||
%%_distrib_release %{fullversion}
|
%%_distrib_release %{fullversion}
|
||||||
|
%%_distrib_milestone %{milestone}
|
||||||
%%_distrib_codename %{codename}
|
%%_distrib_codename %{codename}
|
||||||
%%_distrib_description %{distroid} %{fullversion}
|
%%_distrib_description %{distroid} %{fullversion}
|
||||||
%%_openmamba_release %{distroid} release %{fullversion} for %{_target_cpu} %{?codename:(%codename)}" \
|
%%_openmamba_release %{distroid} release %{fullversion} for %{_target_cpu} %{?codename:(%codename)}" \
|
||||||
@ -130,7 +131,7 @@ echo "\
|
|||||||
install -D -m 0644 %{S:14} \
|
install -D -m 0644 %{S:14} \
|
||||||
%{buildroot}%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
|
%{buildroot}%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
|
||||||
install -D -m 0644 %{S:15} \
|
install -D -m 0644 %{S:15} \
|
||||||
%{buildroot}%{_sysconfdir}/smart/distro.d/10-%{distroid}-milestone2-repositories.py
|
%{buildroot}%{_sysconfdir}/smart/distro.d/10-%{distroid}-milestone3-repositories.py
|
||||||
install -D -m 0644 %{S:18} \
|
install -D -m 0644 %{S:18} \
|
||||||
%{buildroot}%{_sysconfdir}/smart/distro.d/95-multi-version-select.py
|
%{buildroot}%{_sysconfdir}/smart/distro.d/95-multi-version-select.py
|
||||||
install -D -m 0644 %{S:20} \
|
install -D -m 0644 %{S:20} \
|
||||||
@ -185,7 +186,7 @@ fi
|
|||||||
%{_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}-milestone3-repositories.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
|
||||||
@ -198,6 +199,9 @@ fi
|
|||||||
%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
|
%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.96.0-1mamba
|
||||||
|
- update for milestone3
|
||||||
|
|
||||||
* Fri Aug 29 2014 Davide Madrisan <davide.madrisan@gmail.com> 2.95.0-4mamba
|
* Fri Aug 29 2014 Davide Madrisan <davide.madrisan@gmail.com> 2.95.0-4mamba
|
||||||
- os-release: update OPENMAMBA_GIT_URL
|
- os-release: update OPENMAMBA_GIT_URL
|
||||||
- provide the file /usr/lib/os-release and the symlink %{_sysconfdir}/os-release
|
- provide the file /usr/lib/os-release and the symlink %{_sysconfdir}/os-release
|
||||||
|
@ -1,120 +0,0 @@
|
|||||||
#
|
|
||||||
# openmamba milestone2 channel configuration for Smart Package Manager
|
|
||||||
#
|
|
||||||
if not sysconf.get(("channels", "milestone2")):
|
|
||||||
sysconf.set(("channels", "milestone2"),
|
|
||||||
{"alias": "milestone2",
|
|
||||||
"type": "apt-rpm",
|
|
||||||
"name": "stable milestone2 base packages",
|
|
||||||
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2",
|
|
||||||
"components": "%ARCH%"})
|
|
||||||
|
|
||||||
#
|
|
||||||
# openmamba milestone2-games channel configuration for Smart Package Manager
|
|
||||||
#
|
|
||||||
|
|
||||||
if not sysconf.get(("channels", "milestone2-games")):
|
|
||||||
sysconf.set(("channels", "milestone2-games"),
|
|
||||||
{"alias": "milestone2-games",
|
|
||||||
"type": "apt-rpm",
|
|
||||||
"name": "stable milestone2 games packages",
|
|
||||||
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-games",
|
|
||||||
"components": "%ARCH%"})
|
|
||||||
|
|
||||||
#
|
|
||||||
# openmamba milestone2-updates channel configuration for Smart Package Manager
|
|
||||||
#
|
|
||||||
|
|
||||||
if not sysconf.get(("channels", "milestone2-updates")):
|
|
||||||
sysconf.set(("channels", "milestone2-updates"),
|
|
||||||
{"alias": "milestone2-updates",
|
|
||||||
"type": "apt-rpm",
|
|
||||||
"name": "stable milestone2 updates packages",
|
|
||||||
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-updates",
|
|
||||||
"components": "%ARCH%"})
|
|
||||||
|
|
||||||
#
|
|
||||||
# openmamba milestone2-kernel channel configuration for Smart Package Manager
|
|
||||||
#
|
|
||||||
|
|
||||||
if not sysconf.get(("channels", "milestone2-kernel")):
|
|
||||||
sysconf.set(("channels", "milestone2-kernel"),
|
|
||||||
{"alias": "milestone2-kernel",
|
|
||||||
"type": "apt-rpm",
|
|
||||||
"name": "newest kernel release for milestone2 stable systems",
|
|
||||||
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-kernel",
|
|
||||||
"components": "%ARCH%",
|
|
||||||
"disabled": "yes"})
|
|
||||||
|
|
||||||
#
|
|
||||||
# openmamba milestone2-kernel-next channel configuration for Smart Package Manager
|
|
||||||
#
|
|
||||||
|
|
||||||
if not sysconf.get(("channels", "milestone2-kernel-next")):
|
|
||||||
sysconf.set(("channels", "milestone2-kernel-next"),
|
|
||||||
{"alias": "milestone2-kernel-next",
|
|
||||||
"type": "apt-rpm",
|
|
||||||
"name": "experimental kernel release for milestone2 stable systems",
|
|
||||||
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-kernel-next",
|
|
||||||
"components": "%ARCH%",
|
|
||||||
"disabled": "yes"})
|
|
||||||
|
|
||||||
#
|
|
||||||
# openmamba milestone2-kde4 channel configuration for Smart Package Manager
|
|
||||||
#
|
|
||||||
|
|
||||||
if not sysconf.get(("channels", "milestone2-kde4")):
|
|
||||||
sysconf.set(("channels", "milestone2-kde4"),
|
|
||||||
{"alias": "milestone2-kde4",
|
|
||||||
"type": "apt-rpm",
|
|
||||||
"name": "newest kde4 release for milestone2 stable systems",
|
|
||||||
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-kde4",
|
|
||||||
"components": "%ARCH%",
|
|
||||||
"disabled": "yes"})
|
|
||||||
|
|
||||||
#
|
|
||||||
# openmamba milestone2-xorg channel configuration for Smart Package Manager
|
|
||||||
#
|
|
||||||
|
|
||||||
if not sysconf.get(("channels", "milestone2-xorg")):
|
|
||||||
sysconf.set(("channels", "milestone2-xorg"),
|
|
||||||
{"alias": "milestone2-xorg",
|
|
||||||
"type": "apt-rpm",
|
|
||||||
"name": "newest X.org release for milestone2 stable systems",
|
|
||||||
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-xorg",
|
|
||||||
"components": "%ARCH%",
|
|
||||||
"disabled": "yes"})
|
|
||||||
|
|
||||||
#
|
|
||||||
# openmamba milestone2-makedist channel configuration for Smart Package Manager
|
|
||||||
#
|
|
||||||
|
|
||||||
if not sysconf.get(("channels", "milestone2-makedist")):
|
|
||||||
sysconf.set(("channels", "milestone2-makedist"),
|
|
||||||
{"alias": "milestone2-makedist",
|
|
||||||
"type": "apt-rpm",
|
|
||||||
"name": "experimental milestone2 makedist packages",
|
|
||||||
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone2-makedist",
|
|
||||||
"components": "%ARCH%",
|
|
||||||
"disabled": "yes"})
|
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
release=os.popen("openmamba-release -c").read()
|
|
||||||
|
|
||||||
for r in ["milestone2","milestone2-updates","milestone2-games","milestone2-makedist","milestone2-kernel","milestone2-kde4","milestone2-xorg","milestone2-kernel-next"]:
|
|
||||||
channel=sysconf.get(("channels", r))
|
|
||||||
if channel:
|
|
||||||
channel['fingerprint']='A402 AA41 82DE 06DD 0C82 943A B771 C004 8746 8781'
|
|
||||||
|
|
||||||
if release.startswith('milestone2'):
|
|
||||||
for r in ["milestone2","milestone2-updates","milestone2-games"]:
|
|
||||||
channel=sysconf.get(("channels", r))
|
|
||||||
if channel:
|
|
||||||
channel['disabled']=False
|
|
||||||
sysconf.set(("channels",r),channel)
|
|
||||||
for r in ["devel","devel-games"]:
|
|
||||||
channel=sysconf.get(("channels", r))
|
|
||||||
if channel:
|
|
||||||
channel['disabled']=True
|
|
||||||
sysconf.set(("channels",r),channel)
|
|
120
openmamba-smart-milestone3.py
Normal file
120
openmamba-smart-milestone3.py
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
#
|
||||||
|
# openmamba milestone3 channel configuration for Smart Package Manager
|
||||||
|
#
|
||||||
|
if not sysconf.get(("channels", "milestone3")):
|
||||||
|
sysconf.set(("channels", "milestone3"),
|
||||||
|
{"alias": "milestone3",
|
||||||
|
"type": "apt-rpm",
|
||||||
|
"name": "stable milestone3 base packages",
|
||||||
|
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone3",
|
||||||
|
"components": "%ARCH%"})
|
||||||
|
|
||||||
|
#
|
||||||
|
# openmamba milestone3-games channel configuration for Smart Package Manager
|
||||||
|
#
|
||||||
|
|
||||||
|
if not sysconf.get(("channels", "milestone3-games")):
|
||||||
|
sysconf.set(("channels", "milestone3-games"),
|
||||||
|
{"alias": "milestone3-games",
|
||||||
|
"type": "apt-rpm",
|
||||||
|
"name": "stable milestone3 games packages",
|
||||||
|
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone3-games",
|
||||||
|
"components": "%ARCH%"})
|
||||||
|
|
||||||
|
#
|
||||||
|
# openmamba milestone3-updates channel configuration for Smart Package Manager
|
||||||
|
#
|
||||||
|
|
||||||
|
if not sysconf.get(("channels", "milestone3-updates")):
|
||||||
|
sysconf.set(("channels", "milestone3-updates"),
|
||||||
|
{"alias": "milestone3-updates",
|
||||||
|
"type": "apt-rpm",
|
||||||
|
"name": "stable milestone3 updates packages",
|
||||||
|
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone3-updates",
|
||||||
|
"components": "%ARCH%"})
|
||||||
|
|
||||||
|
#
|
||||||
|
# openmamba milestone3-kernel channel configuration for Smart Package Manager
|
||||||
|
#
|
||||||
|
|
||||||
|
if not sysconf.get(("channels", "milestone3-kernel")):
|
||||||
|
sysconf.set(("channels", "milestone3-kernel"),
|
||||||
|
{"alias": "milestone3-kernel",
|
||||||
|
"type": "apt-rpm",
|
||||||
|
"name": "newest kernel release for milestone3 stable systems",
|
||||||
|
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone3-kernel",
|
||||||
|
"components": "%ARCH%",
|
||||||
|
"disabled": "yes"})
|
||||||
|
|
||||||
|
#
|
||||||
|
# openmamba milestone3-kernel-next channel configuration for Smart Package Manager
|
||||||
|
#
|
||||||
|
|
||||||
|
if not sysconf.get(("channels", "milestone3-kernel-next")):
|
||||||
|
sysconf.set(("channels", "milestone3-kernel-next"),
|
||||||
|
{"alias": "milestone3-kernel-next",
|
||||||
|
"type": "apt-rpm",
|
||||||
|
"name": "experimental kernel release for milestone3 stable systems",
|
||||||
|
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone3-kernel-next",
|
||||||
|
"components": "%ARCH%",
|
||||||
|
"disabled": "yes"})
|
||||||
|
|
||||||
|
#
|
||||||
|
# openmamba milestone3-kde4 channel configuration for Smart Package Manager
|
||||||
|
#
|
||||||
|
|
||||||
|
if not sysconf.get(("channels", "milestone3-kde4")):
|
||||||
|
sysconf.set(("channels", "milestone3-kde4"),
|
||||||
|
{"alias": "milestone3-kde4",
|
||||||
|
"type": "apt-rpm",
|
||||||
|
"name": "newest kde4 release for milestone3 stable systems",
|
||||||
|
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone3-kde4",
|
||||||
|
"components": "%ARCH%",
|
||||||
|
"disabled": "yes"})
|
||||||
|
|
||||||
|
#
|
||||||
|
# openmamba milestone3-xorg channel configuration for Smart Package Manager
|
||||||
|
#
|
||||||
|
|
||||||
|
if not sysconf.get(("channels", "milestone3-xorg")):
|
||||||
|
sysconf.set(("channels", "milestone3-xorg"),
|
||||||
|
{"alias": "milestone3-xorg",
|
||||||
|
"type": "apt-rpm",
|
||||||
|
"name": "newest X.org release for milestone3 stable systems",
|
||||||
|
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone3-xorg",
|
||||||
|
"components": "%ARCH%",
|
||||||
|
"disabled": "yes"})
|
||||||
|
|
||||||
|
#
|
||||||
|
# openmamba milestone3-makedist channel configuration for Smart Package Manager
|
||||||
|
#
|
||||||
|
|
||||||
|
if not sysconf.get(("channels", "milestone3-makedist")):
|
||||||
|
sysconf.set(("channels", "milestone3-makedist"),
|
||||||
|
{"alias": "milestone3-makedist",
|
||||||
|
"type": "apt-rpm",
|
||||||
|
"name": "experimental milestone3 makedist packages",
|
||||||
|
"baseurl": "http://www.openmamba.org/pub/openmamba/milestone3-makedist",
|
||||||
|
"components": "%ARCH%",
|
||||||
|
"disabled": "yes"})
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
release=os.popen("openmamba-release -c").read()
|
||||||
|
|
||||||
|
for r in ["milestone3","milestone3-updates","milestone3-games","milestone3-makedist","milestone3-kernel","milestone3-kde4","milestone3-xorg","milestone3-kernel-next"]:
|
||||||
|
channel=sysconf.get(("channels", r))
|
||||||
|
if channel:
|
||||||
|
channel['fingerprint']='A402 AA41 82DE 06DD 0C82 943A B771 C004 8746 8781'
|
||||||
|
|
||||||
|
if release.startswith('milestone3'):
|
||||||
|
for r in ["milestone3","milestone3-updates","milestone3-games"]:
|
||||||
|
channel=sysconf.get(("channels", r))
|
||||||
|
if channel:
|
||||||
|
channel['disabled']=False
|
||||||
|
sysconf.set(("channels",r),channel)
|
||||||
|
for r in ["devel","devel-games"]:
|
||||||
|
channel=sysconf.get(("channels", r))
|
||||||
|
if channel:
|
||||||
|
channel['disabled']=True
|
||||||
|
sysconf.set(("channels",r),channel)
|
Loading…
Reference in New Issue
Block a user