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

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

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

Revision 1.13 by jpp, Sat Dec 29 01:49:30 2018 UTC Revision 1.19 by jpp, Sat Dec 29 05:34:06 2018 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 8  %define release 14
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 18  AutoReqProv: no Line 18  AutoReqProv: no
18  Provides configuration for external yum repository comaptible with Koozali SME Server.  Provides configuration for external yum repository comaptible with Koozali SME Server.
19    
20  %changelog  %changelog
21  * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-8.sme  * Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme
22    - fix typo in asterisk-current
23    - fix typo in migrate fragment for zmrepo
24    - renamed digium as digium-current
25    
26    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
27    - zoneminder needs ffmpeg from zmrepo [SME: 10539]
28    
29    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme
30  - zmrepo url has changed [SME: 10675]  - zmrepo url has changed [SME: 10675]
31    
32  * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme  * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme
# Line 123  REPO['EnableGroups']='yes' Line 131  REPO['EnableGroups']='yes'
131  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
132  REPO['Visible']='no'  REPO['Visible']='no'
133  REPO['status']='disabled'  REPO['status']='disabled'
134  REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/'
135  REPO['MirrorList']=''  REPO['MirrorList']=''
136  REPO['GPGKey']=''  REPO['GPGKey']=''
137  REPO['Exclude']=''  REPO['Exclude']=''
# Line 135  createrepo Line 143  createrepo
143  # Digium Repo  # Digium Repo
144  #####################  #####################
145  #####################  #####################
146  REPO['reponame']='digium'  REPO['reponame']='digium-current'
147  REPO['fullreponame']='Digium packages - EL'  REPO['fullreponame']='Digium packages - EL'
148  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
149  REPO['Visible']='no'  REPO['Visible']='no'
# Line 824  REPO['BaseURL']='http://zmrepo.zoneminde Line 832  REPO['BaseURL']='http://zmrepo.zoneminde
832  REPO['MirrorList']=''  REPO['MirrorList']=''
833  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
834  REPO['GPGKey']=""  REPO['GPGKey']=""
835  REPO['Exclude']='ffmpeg-2.6.4,celt-0.11'  REPO['Exclude']=''
836  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
837  createrepo  createrepo
838    
# Line 894  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 902  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
902    
903  EOF  EOF
904    
905  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo
906  {  {
907      for my $name ( qw(zmrepo) )      for my $name ( qw(zmrepo) )
908      {      {
909          my $repo = $DB->get($name) or next;          my $repo = $DB->get($name) or next;
910          my $BaseURL = $repo->prop('BaseURL') || '';          my $BaseURL = $repo->prop('BaseURL') || '';
911          my $BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g;          $BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g;
912            $repo->set_prop('BaseURL', $BaseURL);
913            $repo->delete('Exclude');
914        }
915    
916    }
917    
918    EOF
919    
920    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk
921    {
922        for my $name ( qw(asterisk-current) )
923        {
924            my $repo = $DB->get($name) or next;
925            my $BaseURL = $repo->prop('BaseURL') || '';
926            $BaseURL =~ s/centos\$/centos\/\$/g;
927            $repo->set_prop('BaseURL', $BaseURL);
928      }      }
929    
930  }  }


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