1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 7 |
%define release 12 |
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} |
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 |
* Mon Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme |
22 |
|
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
23 |
|
|
24 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme |
25 |
|
- zmrepo url has changed [SME: 10675] |
26 |
|
|
27 |
|
* Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
28 |
- Add libreswan repo [SME: 10605] |
- Add libreswan repo [SME: 10605] |
29 |
- remove duplicate remi-safe entry |
- remove duplicate remi-safe entry |
30 |
|
|
823 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
824 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
825 |
REPO['status']='disabled' |
REPO['status']='disabled' |
826 |
REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch' |
REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch' |
827 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
828 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
829 |
REPO['GPGKey']="" |
REPO['GPGKey']="" |
830 |
REPO['Exclude']='ffmpeg-2.6.4,celt-0.11' |
REPO['Exclude']='' |
831 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
832 |
createrepo |
createrepo |
833 |
|
|
897 |
|
|
898 |
EOF |
EOF |
899 |
|
|
900 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo |
901 |
|
{ |
902 |
|
for my $name ( qw(zmrepo) ) |
903 |
|
{ |
904 |
|
my $repo = $DB->get($name) or next; |
905 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
906 |
|
$BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
907 |
|
$repo->set_prop('Exclude', join(',', @exclude)); |
908 |
|
} |
909 |
|
|
910 |
|
} |
911 |
|
|
912 |
|
EOF |
913 |
|
|
914 |
|
|
915 |
|
|