/[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.24 by jcrisp, Mon Sep 4 14:55:43 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 42
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    * Mon Sep 04 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-42.sme
23    - Fix the error in the spec file [SME: 12389]
24    
25    * Wed Jul 26 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-41.sme
26    - fix issues with libreswan repo [SME: 12389]
27    - Remove old mongodb repos prior to 4.0
28    
29  * 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
30  - add mongodb repos [SME: 11905]  - add mongodb repos [SME: 11905]
31  - add onlyoffice repo [SME: 12078]  - add onlyoffice repo [SME: 12078]
# Line 625  REPO['status']='disabled' Line 632  REPO['status']='disabled'
632  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'
633  REPO['MirrorList']=''  REPO['MirrorList']=''
634  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
635  REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'  REPO['GPGKey']='http://download.libreswan.org/RPM-GPG-KEY-libreswan'
636  REPO['Exclude']=''  REPO['Exclude']=''
637  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
638    REPO['Priority']='10'
639  createrepo  createrepo
640    
641    
# Line 636  createrepo Line 644  createrepo
644  # Mongodb  # Mongodb
645  #####################  #####################
646  #####################  #####################
647  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
648  REPO['reponame']="mongodb$nodever"  REPO['reponame']="mongodb$nodever"
649  REPO['pkgname']='mongodb'  REPO['pkgname']='mongodb'
650  REPO['fullreponame']="Mongodb $nodever"  REPO['fullreponame']="Mongodb $nodever"
# Line 1433  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 1441  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
1441              $repo->delete('IncludePkgs');              $repo->delete('IncludePkgs');
1442          }          }
1443    
1444        }
1445    
1446    }
1447    
     }  
1448    
1449    EOF
1450    
1451    
1452    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/30mongodbDeleteOldRepos
1453    {
1454        for my $dbVer (qw( 0.9 1.0 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7)) {
1455            $dataBase = "mongodb$dbVer";
1456            my $repo = $DB->get($dataBase);
1457            $repo->delete if $repo;
1458        }
1459  }  }
1460    
1461  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