/[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.15 by jpp, Sat Dec 29 03:16:02 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 10
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  * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-10.sme
22  - zmrepo url has changed [SME: 10675]  - zmrepo url has changed [SME: 10675]
23    
24  * 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 894  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 894  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
894    
895  EOF  EOF
896    
897  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
898  {  {
899      for my $name ( qw(zmrepo) )      for my $name ( qw(zmrepo) )
900      {      {
901          my $repo = $DB->get($name) or next;          my $repo = $DB->get($name) or next;
902          my $BaseURL = $repo->prop('BaseURL') || '';          my $BaseURL = $repo->prop('BaseURL') || '';
903          my $BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g;          my $BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g;
904            $repo->set_prop('Exclude', join(',', @exclude));
905      }      }
906    
907  }  }
# Line 909  EOF Line 910  EOF
910    
911    
912    
913    
914    
915  ##########################################################  ##########################################################
916    


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