/[smecontribs]/rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec
ViewVC logotype

Diff of /rpms/smeserver-extrarepositories/contribs10/smeserver-extrarepositories.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.21 by jpp, Thu Jun 23 02:17:54 2022 UTC Revision 1.23 by jcrisp, Mon Sep 4 14:47:22 2023 UTC
# Line 1  Line 1 
1  %define name smeserver-extrarepositories  %define name smeserver-extrarepositories
2  %define version 0.1  %define version 0.1
3  %define release 40  %define release 41
4  Summary: easy configuration of extra yum repo  Summary: easy configuration of extra yum repo
5  Name: %{name}  Name: %{name}
6  Version: %{version}  Version: %{version}
# Line 19  Source0: https://raw.githubusercontent.c Line 19  Source0: https://raw.githubusercontent.c
19  Provides configuration for external yum repository comaptible with Koozali SME Server.  Provides configuration for external yum repository comaptible with Koozali SME Server.
20    
21  %changelog  %changelog
22    * Wed Jul 26 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-41.sme
23    - fix issues with libreswan repo [SME: 12389]
24    - Remove old mongodb repos prior to 4.0
25    
26  * Wed Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme  * Wed Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme
27  - add mongodb repos [SME: 11905]  - add mongodb repos [SME: 11905]
28  - add onlyoffice repo [SME: 12078]  - add onlyoffice repo [SME: 12078]
# Line 625  REPO['status']='disabled' Line 629  REPO['status']='disabled'
629  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'
630  REPO['MirrorList']=''  REPO['MirrorList']=''
631  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
632  REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'  REPO['GPGKey']='http://download.libreswan.org/RPM-GPG-KEY-libreswan'
633  REPO['Exclude']=''  REPO['Exclude']=''
634  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
635    REPO['Priority']='10'
636  createrepo  createrepo
637    
638    
# Line 636  createrepo Line 641  createrepo
641  # Mongodb  # Mongodb
642  #####################  #####################
643  #####################  #####################
644  for nodever  in "0.9" "1.0" "3.0" "3.1" "3.2" "3.3" "3.4" "3.5" "3.6" "3.7" "4.0" "4.1" "4.2" "4.3" "4.4" "5.0"; do  for nodever  in "4.0" "4.1" "4.2" "4.3" "4.4" "5.0" "6.0" "7.0"; do
645  REPO['reponame']="mongodb$nodever"  REPO['reponame']="mongodb$nodever"
646  REPO['pkgname']='mongodb'  REPO['pkgname']='mongodb'
647  REPO['fullreponame']="Mongodb $nodever"  REPO['fullreponame']="Mongodb $nodever"
# Line 1433  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 1438  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
1438              $repo->delete('IncludePkgs');              $repo->delete('IncludePkgs');
1439          }          }
1440    
1441        }
1442    
1443    }
1444    
     }  
1445    
1446    EOF
1447    
1448    
1449    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30mongodbDeleteOldRepos
1450    {
1451        for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) {
1452            $dataBase = "mongodb$dbVer";
1453            my $repo = $DB->get($dataBase);
1454            $repo->delete if $repo;
1455        }
1456  }  }
1457    
1458  EOF  EOF


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed