openmamba-smart-devel.py: disable milestone3 repositories [release 2.96.0-2mamba;Sat Sep 13 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 08:14:06 +01:00
parent fd70c6c51b
commit 9800729835
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,4 @@
### AUTOUPDATE-OFF: 0 1
%define branch devel
#% define branch stable
%define distroid openmamba
@ -17,7 +18,7 @@
Name: openmamba-release
Version: 2.96.0
Release: 1mamba
Release: 2mamba
Summary: Release file and Smart Package Manager configuration for %{distroid} %{fullversion} %{?codename:(%codename)}
Group: System/Configuration
Vendor: openmamba
@ -199,6 +200,9 @@ fi
%{_sysconfdir}/smart/distro.d/90-%{distroid}-devel-repositories.py
%changelog
* Sat Sep 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.96.0-2mamba
- openmamba-smart-devel.py: disable milestone3 repositories
* Thu Sep 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.96.0-1mamba
- update for milestone3

View File

@ -198,7 +198,8 @@ for r in ["devel-embedded","devel-autodist","devel-future","devel-past","devel-c
if channel:
channel['manual']=True
sysconf.set(("channels",r),channel)
for r in ["milestone2","milestone2-games","milestone2-updates","milestone2-makedist"]:
for r in ["milestone2","milestone2-games","milestone2-updates","milestone2-makedist",\
"milestone3","milestone3-games","milestone3-updates","milestone3-makedist"]:
channel=sysconf.get(("channels", r))
if channel:
channel['disabled']=True