/[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.17 by jpp, Sat Dec 29 04:21:21 2018 UTC Revision 1.26 by jpp, Sat Mar 21 11:19:24 2020 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 12  %define release 21
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    * Sat Mar 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-21.sme
22    - update zabbix repo [SME: 10900]
23    - add Springdale / PUIAS repo [SME: 10673]
24    
25    * Sun Jan 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-20.sme
26    - add node repos [SME: 10727]
27    
28    * Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-19.sme
29    - improve zmrepo migrate fragment to avoid action if not needed.
30    - migrate fragment for openfusion
31    
32    * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-18.sme
33    - remove perl-version from pkg lists
34    
35    * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-17.sme
36    - revised Include and Exclude to prevident accidental update
37    - updated incorrect changelog dates
38    
39    * Thu Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme
40    - Add more Excludes to Openfusion
41    
42    * Tue Jan 01 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme
43    - Exclude mod_perl and other files from OpenFusion repo
44    
45    * Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme
46    - fix typo in asterisk-current
47    - fix typo in migrate fragment for zmrepo
48    - renamed digium as digium-current
49    
50  * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme  * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
51  - zoneminder needs ffmpeg from zmrepo [SME: 10539]  - zoneminder needs ffmpeg from zmrepo [SME: 10539]
52    
# Line 126  REPO['EnableGroups']='yes' Line 155  REPO['EnableGroups']='yes'
155  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
156  REPO['Visible']='no'  REPO['Visible']='no'
157  REPO['status']='disabled'  REPO['status']='disabled'
158  REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/'
159  REPO['MirrorList']=''  REPO['MirrorList']=''
160  REPO['GPGKey']=''  REPO['GPGKey']=''
161  REPO['Exclude']=''  REPO['Exclude']=''
# Line 138  createrepo Line 167  createrepo
167  # Digium Repo  # Digium Repo
168  #####################  #####################
169  #####################  #####################
170  REPO['reponame']='digium'  REPO['reponame']='digium-current'
171  REPO['fullreponame']='Digium packages - EL'  REPO['fullreponame']='Digium packages - EL'
172  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
173  REPO['Visible']='no'  REPO['Visible']='no'
# Line 416  REPO['fullreponame']='Libreswan' Line 445  REPO['fullreponame']='Libreswan'
445  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
446  REPO['Visible']='no'  REPO['Visible']='no'
447  REPO['status']='disabled'  REPO['status']='disabled'
448  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/'  REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/$releasever/$basearch/'
449  REPO['MirrorList']=''  REPO['MirrorList']=''
450  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
451  REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'  REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'
# Line 425  REPO['IncludePkgs']='' Line 454  REPO['IncludePkgs']=''
454  createrepo  createrepo
455    
456    
457    #####################
458    #####################
459    # NodeJS 4
460    #####################
461    #####################
462    REPO['reponame']='node4'
463    REPO['fullreponame']='NodeJS 4'
464    REPO['EnableGroups']='no'
465    REPO['Visible']='no'
466    REPO['status']='disabled'
467    REPO['BaseURL']='https://rpm.nodesource.com/pub_4.x/el/$releasever/$basearch/'
468    REPO['MirrorList']=''
469    REPO['GPGCheck']='no'
470    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
471    REPO['Exclude']=''
472    REPO['IncludePkgs']=''
473    createrepo
474    
475    #####################
476    #####################
477    # NodeJS 5
478    #####################
479    #####################
480    REPO['reponame']='node5'
481    REPO['fullreponame']='NodeJS 5'
482    REPO['EnableGroups']='no'
483    REPO['Visible']='no'
484    REPO['status']='disabled'
485    REPO['BaseURL']='https://rpm.nodesource.com/pub_5.x/el/$releasever/$basearch/'
486    REPO['MirrorList']=''
487    REPO['GPGCheck']='no'
488    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
489    REPO['Exclude']=''
490    REPO['IncludePkgs']=''
491    createrepo
492    
493    #####################
494    #####################
495    # NodeJS 6
496    #####################
497    #####################
498    REPO['reponame']='node6'
499    REPO['fullreponame']='NodeJS 6'
500    REPO['EnableGroups']='no'
501    REPO['Visible']='no'
502    REPO['status']='disabled'
503    REPO['BaseURL']='https://rpm.nodesource.com/pub_6.x/el/$releasever/$basearch/'
504    REPO['MirrorList']=''
505    REPO['GPGCheck']='no'
506    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
507    REPO['Exclude']=''
508    REPO['IncludePkgs']=''
509    createrepo
510    
511    #####################
512    #####################
513    # NodeJS 7
514    #####################
515    #####################
516    REPO['reponame']='node7'
517    REPO['fullreponame']='NodeJS 7'
518    REPO['EnableGroups']='no'
519    REPO['Visible']='no'
520    REPO['status']='disabled'
521    REPO['BaseURL']='https://rpm.nodesource.com/pub_7.x/el/$releasever/$basearch/'
522    REPO['MirrorList']=''
523    REPO['GPGCheck']='no'
524    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
525    REPO['Exclude']=''
526    REPO['IncludePkgs']=''
527    createrepo
528    
529    #####################
530    #####################
531    # NodeJS
532    #####################
533    #####################
534    REPO['reponame']='node8'
535    REPO['fullreponame']='NodeJS 8'
536    REPO['EnableGroups']='no'
537    REPO['Visible']='no'
538    REPO['status']='disabled'
539    REPO['BaseURL']='https://rpm.nodesource.com/pub_8.x/el/$releasever/$basearch/'
540    REPO['MirrorList']=''
541    REPO['GPGCheck']='no'
542    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
543    REPO['Exclude']=''
544    REPO['IncludePkgs']=''
545    createrepo
546    
547    #####################
548    #####################
549    # NodeJS 9
550    #####################
551    #####################
552    REPO['reponame']='node9'
553    REPO['fullreponame']='NodeJS 9'
554    REPO['EnableGroups']='no'
555    REPO['Visible']='no'
556    REPO['status']='disabled'
557    REPO['BaseURL']='https://rpm.nodesource.com/pub_9.x/el/$releasever/$basearch/'
558    REPO['MirrorList']=''
559    REPO['GPGCheck']='no'
560    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
561    REPO['Exclude']=''
562    REPO['IncludePkgs']=''
563    createrepo
564    
565    #####################
566    #####################
567    # NodeJS 10
568    #####################
569    #####################
570    REPO['reponame']='node10'
571    REPO['fullreponame']='NodeJS 10'
572    REPO['EnableGroups']='no'
573    REPO['Visible']='no'
574    REPO['status']='disabled'
575    REPO['BaseURL']='https://rpm.nodesource.com/pub_10.x/el/$releasever/$basearch/'
576    REPO['MirrorList']=''
577    REPO['GPGCheck']='no'
578    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
579    REPO['Exclude']=''
580    REPO['IncludePkgs']=''
581    createrepo
582    
583    #####################
584    #####################
585    # NodeJS 11
586    #####################
587    #####################
588    REPO['reponame']='node11'
589    REPO['fullreponame']='NodeJS 11'
590    REPO['EnableGroups']='no'
591    REPO['Visible']='no'
592    REPO['status']='disabled'
593    REPO['BaseURL']='https://rpm.nodesource.com/pub_11.x/el/$releasever/$basearch/'
594    REPO['MirrorList']=''
595    REPO['GPGCheck']='no'
596    REPO['GPGKey']='https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
597    REPO['Exclude']=''
598    REPO['IncludePkgs']=''
599    createrepo
600    
601    
602    
603  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
604  #####################  #####################
605  #####################  #####################
# Line 495  REPO['BaseURL']='http://repo.openfusion. Line 670  REPO['BaseURL']='http://repo.openfusion.
670  REPO['MirrorList']=''  REPO['MirrorList']=''
671  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
672  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
673  REPO['Exclude']=''  REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent'
674  REPO['IncludePkgs']=''  REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent'
675  createrepo  createrepo
676    
677  #####################  #####################
# Line 718  createrepo Line 893  createrepo
893    
894  #####################  #####################
895  #####################  #####################
896    #Springdale
897    #####################
898    #####################
899    REPO['reponame']='springdale-core'
900    REPO['fullreponame']='PUIAS core Base'
901    REPO['EnableGroups']='no'
902    REPO['Visible']='yes'
903    REPO['status']='disabled'
904    REPO['BaseURL']=''
905    REPO['MirrorList']='http://puias.math.ias.edu/data/puias/$releasever/$basearch/os/mirrorlist'
906    REPO['GPGCheck']='yes'
907    REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
908    REPO['Exclude']=''
909    REPO['IncludePkgs']=''
910    createrepo
911    
912    REPO['reponame']='springdale-updates'
913    REPO['fullreponame']='PUIAS core Updates'
914    REPO['EnableGroups']='no'
915    REPO['Visible']='yes'
916    REPO['status']='disabled'
917    REPO['BaseURL']=''
918    REPO['MirrorList']='http://puias.math.ias.edu/data/puias/updates/$releasever/$basearch/en/os/mirrorlist'
919    REPO['GPGCheck']='yes'
920    REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/updates/$basearch/en/os/RPM-GPG-KEY-puias'
921    REPO['Exclude']=''
922    REPO['IncludePkgs']=''
923    createrepo
924    
925    REPO['reponame']='springdale-addons'
926    REPO['fullreponame']='PUIAS Addons'
927    REPO['EnableGroups']='no'
928    REPO['Visible']='yes'
929    REPO['status']='disabled'
930    REPO['BaseURL']=''
931    REPO['MirrorList']='http://puias.math.ias.edu/data/puias/$releasever/$basearch/os/Addons/mirrorlist'
932    REPO['GPGCheck']='yes'
933    REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
934    REPO['Exclude']=''
935    REPO['IncludePkgs']=''
936    createrepo
937    
938    REPO['reponame']='springdale-addons-updates'
939    REPO['fullreponame']='PUIAS Addons Updates'
940    REPO['EnableGroups']='no'
941    REPO['Visible']='yes'
942    REPO['status']='disabled'
943    REPO['BaseURL']=''
944    REPO['MirrorList']='http://puias.math.ias.edu/data/puias/updates/Addons/$releasever/$basearch/mirrorlist'
945    REPO['GPGCheck']='yes'
946    REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
947    REPO['Exclude']=''
948    REPO['IncludePkgs']=''
949    createrepo
950    
951    
952    REPO['reponame']='springdale-unsupported'
953    REPO['fullreponame']='PUIAS Unsupported'
954    REPO['EnableGroups']='no'
955    REPO['Visible']='yes'
956    REPO['status']='disabled'
957    REPO['BaseURL']=''
958    REPO['MirrorList']='http://puias.math.ias.edu/data/puias/unsupported/$releasever/$basearch/mirrorlist'
959    REPO['GPGCheck']='yes'
960    REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
961    REPO['Exclude']=''
962    REPO['IncludePkgs']=''
963    createrepo
964    
965    REPO['reponame']='springdale-computational'
966    REPO['fullreponame']='PUIAS Computational'
967    REPO['EnableGroups']='no'
968    REPO['Visible']='yes'
969    REPO['status']='disabled'
970    REPO['BaseURL']=''
971    REPO['MirrorList']='http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch/mirrorlist'
972    REPO['GPGCheck']='yes'
973    REPO['GPGKey']='http://puias.princeton.edu/data/puias/$releasever/$basearch/os/RPM-GPG-KEY-puias'
974    REPO['Exclude']=''
975    REPO['IncludePkgs']=''
976    createrepo
977    
978    
979    
980    
981    #####################
982    #####################
983  #stephDL  #stephDL
984  #####################  #####################
985  #####################  #####################
# Line 797  createrepo Line 1059  createrepo
1059  #Zabbix2.4  #Zabbix2.4
1060  #####################  #####################
1061  #####################  #####################
1062  declare -A zabshort=( ['2.4']='24' ['2.5']='25' ['3.0']='30' ['3.1']='31' ['3.2']='32' ['3.4']='35' ['3.5']='35')  declare -A zabshort=( ['1.8']='18' ['2.0']='20' ['2.0']='20' ['2.4']='24' ['3.0']='30' ['3.2']='32' ['3.4']='34' ['4.0']='40' ['4.2']='42' ['4.4']='44')
1063  for elasver  in "2.4" "2.5" "3.0"; do  for elasver  in "4.2" "4.4" ; do
1064  REPO['reponame']="zabbix${zabshort[$elasver]}"  REPO['reponame']="zabbix${zabshort[$elasver]}"
1065  REPO['fullreponame']="Zabbix $elasver Official Repository"  REPO['fullreponame']="Zabbix $elasver Official Repository"
1066  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
# Line 903  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 1165  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
1165      {      {
1166          my $repo = $DB->get($name) or next;          my $repo = $DB->get($name) or next;
1167          my $BaseURL = $repo->prop('BaseURL') || '';          my $BaseURL = $repo->prop('BaseURL') || '';
1168          $BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g;          if ($BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g)
1169          $repo->set_prop('Exclude', join(',', @exclude));                  {$repo->set_prop('BaseURL', $BaseURL);}
1170            $repo->delete('Exclude') if $repo->prop('delete');
1171      }      }
1172    
1173  }  }
1174    
1175  EOF  EOF
1176    
1177    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk
1178    {
1179        for my $name ( qw(asterisk-current) )
1180        {
1181            my $repo = $DB->get($name) or next;
1182            my $BaseURL = $repo->prop('BaseURL') || '';
1183            if ($BaseURL =~ s/centos\$/centos\/\$/g)
1184                    {$repo->set_prop('BaseURL', $BaseURL);}
1185        }
1186    
1187    }
1188    
1189    EOF
1190    
1191    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion
1192    {
1193        my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent");
1194        my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version');
1195        my @addinclude = split(/,/,"perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent");
1196        my %removeinclude = map { $_ => 1 } split(/[,; ]+/, '');
1197    
1198        for my $name ( qw(openfusion) )
1199        {
1200            my $repo = $DB->get($name) or next;
1201    
1202            my @exclude = split(/,/, $repo->prop('Exclude') || '');
1203            push @exclude, @addexclude;
1204            @exclude = grep(!defined $removeexclude{$_} , @exclude);
1205            # remove duplicates
1206            undef %saw;
1207            @exclude = grep(!$saw{$_}++, @exclude);
1208            if ($#exclude >= 0)
1209            {
1210                $repo->set_prop('Exclude', join(',', @exclude));
1211            }
1212            else
1213            {
1214                $repo->delete('Exclude');
1215            }
1216    
1217            my @include = split(/,/, $repo->prop('IncludePkgs') || '');
1218            push @include, @addinclude;
1219            @include = grep(!defined $removeinclude{$_} , @include);
1220            # remove duplicates
1221            undef %saw;
1222            @include = grep(!$saw{$_}++, @include);
1223            if ($#include >= 0)
1224            {
1225                $repo->set_prop('IncludePkgs', join(',', @include));
1226            }
1227            else
1228            {
1229                $repo->delete('IncludePkgs');
1230            }
1231    
1232    
1233    
1234        }
1235    
1236    }
1237    
1238    EOF
1239    
1240    
1241    
# Line 936  cat %{name}-%{version}-filelist| grep od Line 1261  cat %{name}-%{version}-filelist| grep od
1261  fi  fi
1262  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay
1263  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion
1264    cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node
1265  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp
1266  cat %{name}-%{version}-filelist| grep remi-safe                 > %{name}-%{version}-filelist-remi-safe  cat %{name}-%{version}-filelist| grep remi-safe                 > %{name}-%{version}-filelist-remi-safe
1267  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory
# Line 944  cat %{name}-%{version}-filelist| grep re Line 1270  cat %{name}-%{version}-filelist| grep re
1270  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion
1271  cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo  cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo
1272  cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2  cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2
1273    cat %{name}-%{version}-filelist| grep springdale                > %{name}-%{version}-filelist-springdale
1274  cat %{name}-%{version}-filelist| grep stephdl                   > %{name}-%{version}-filelist-stephdl  cat %{name}-%{version}-filelist| grep stephdl                   > %{name}-%{version}-filelist-stephdl
1275  cat %{name}-%{version}-filelist| grep virtualbox                > %{name}-%{version}-filelist-virtualbox  cat %{name}-%{version}-filelist| grep virtualbox                > %{name}-%{version}-filelist-virtualbox
1276  cat %{name}-%{version}-filelist| grep webtatic                  > %{name}-%{version}-filelist-webtatic  cat %{name}-%{version}-filelist| grep webtatic                  > %{name}-%{version}-filelist-webtatic
# Line 1057  Geekery Repository Line 1384  Geekery Repository
1384  %package libreswan  %package libreswan
1385  Summary: Libreswan Repository  Summary: Libreswan Repository
1386  %description libreswan  %description libreswan
1387  Geekery Repository  Libreswan Repository
1388  %files libreswan -f  %{name}-%{version}-filelist-libreswan  %files libreswan -f  %{name}-%{version}-filelist-libreswan
1389  %defattr(-,root,root)  %defattr(-,root,root)
1390    
1391    %package node
1392    Summary: NodeJS Repositories
1393    %description node
1394    NodeJS Repositories
1395    %files node -f  %{name}-%{version}-filelist-node
1396    %defattr(-,root,root)
1397    
1398  %package odoo  %package odoo
1399  Summary: Odoo 10 Nightly - EL7 Repository  Summary: Odoo 10 Nightly - EL7 Repository
1400  Distribution: el7  Distribution: el7
# Line 1140  Spectrum2 Repository Line 1474  Spectrum2 Repository
1474  %files spectrum2 -f  %{name}-%{version}-filelist-spectrum2  %files spectrum2 -f  %{name}-%{version}-filelist-spectrum2
1475  %defattr(-,root,root)  %defattr(-,root,root)
1476    
1477    %package springdale
1478    Summary: Springdale PUIAS Linux repos
1479    %description springdale
1480    Springdale PUIAS Linux repos
1481    %files springdale -f  %{name}-%{version}-filelist-springdale
1482    %defattr(-,root,root)
1483    
1484  %package stephdl  %package stephdl
1485  Summary: Stephane De Labrusse Repository  Summary: Stephane De Labrusse Repository
1486  %description stephdl  %description stephdl


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