From fd70c6c51b710f54b66b83c6b3a0279518a44362 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:14:06 +0100 Subject: [PATCH] update for milestone3 [release 2.96.0-1mamba;Thu Sep 11 2014] --- README.md | 2 +- openmamba-release.spec | 16 +++-- openmamba-smart-milestone2.py | 120 ---------------------------------- openmamba-smart-milestone3.py | 120 ++++++++++++++++++++++++++++++++++ 4 files changed, 131 insertions(+), 127 deletions(-) delete mode 100644 openmamba-smart-milestone2.py create mode 100644 openmamba-smart-milestone3.py diff --git a/README.md b/README.md index 53bdd5a..fb51d2e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # 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 . diff --git a/openmamba-release.spec b/openmamba-release.spec index 7e33aa5..4c1010a 100644 --- a/openmamba-release.spec +++ b/openmamba-release.spec @@ -9,15 +9,15 @@ %if %branch == stable %define milestone milestone3 - %define codename %{milestone}-build11 + %define codename %{milestone}-build1 %else %define milestone devel %define codename rolling %endif Name: openmamba-release -Version: 2.95.0 -Release: 4mamba +Version: 2.96.0 +Release: 1mamba Summary: Release file and Smart Package Manager configuration for %{distroid} %{fullversion} %{?codename:(%codename)} Group: System/Configuration Vendor: openmamba @@ -31,7 +31,7 @@ Source11: install-virtual.conf Source12: install-extras.lua Source13: install-extras.conf Source14: openmamba-smart-devel.py -Source15: openmamba-smart-milestone2.py +Source15: openmamba-smart-milestone3.py Source16: RPM-GPG-KEY-Mambasoft Source17: gpg-key-openmamba.sh Source18: openmamba-smart-multi-version-select.py @@ -121,6 +121,7 @@ install -d %{buildroot}%{_sysconfdir}/rpm echo "\ %%_distrib_id %{distroid} %%_distrib_release %{fullversion} +%%_distrib_milestone %{milestone} %%_distrib_codename %{codename} %%_distrib_description %{distroid} %{fullversion} %%_openmamba_release %{distroid} release %{fullversion} for %{_target_cpu} %{?codename:(%codename)}" \ @@ -130,7 +131,7 @@ echo "\ install -D -m 0644 %{S:14} \ %{buildroot}%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py 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} \ %{buildroot}%{_sysconfdir}/smart/distro.d/95-multi-version-select.py install -D -m 0644 %{S:20} \ @@ -185,7 +186,7 @@ fi %{_sysconfdir}/sysconfig/release %{_sysconfdir}/issue %{_sysconfdir}/issue.net -%{_sysconfdir}/smart/distro.d/10-%{distroid}-milestone2-repositories.py +%{_sysconfdir}/smart/distro.d/10-%{distroid}-milestone3-repositories.py %ifarch x86_64 %{_sysconfdir}/smart/distro.d/93-multiarch-update-x86_64.py %endif @@ -198,6 +199,9 @@ fi %{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py %changelog +* Thu Sep 11 2014 Silvan Calarco 2.96.0-1mamba +- update for milestone3 + * Fri Aug 29 2014 Davide Madrisan 2.95.0-4mamba - os-release: update OPENMAMBA_GIT_URL - provide the file /usr/lib/os-release and the symlink %{_sysconfdir}/os-release diff --git a/openmamba-smart-milestone2.py b/openmamba-smart-milestone2.py deleted file mode 100644 index 0e8de87..0000000 --- a/openmamba-smart-milestone2.py +++ /dev/null @@ -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) diff --git a/openmamba-smart-milestone3.py b/openmamba-smart-milestone3.py new file mode 100644 index 0000000..018c332 --- /dev/null +++ b/openmamba-smart-milestone3.py @@ -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)