--- rpms/smeserver-extrarepositories/contribs9/smeserver-extrarepositories.spec 2018/11/12 17:03:10 1.11 +++ rpms/smeserver-extrarepositories/contribs9/smeserver-extrarepositories.spec 2018/12/29 01:48:57 1.12 @@ -1,6 +1,6 @@ %define name smeserver-extrarepositories %define version 0.1 -%define release 7 +%define release 8 Summary: easy configuration of extra yum repo Name: %{name} Version: %{version} @@ -18,6 +18,9 @@ AutoReqProv: no Provides configuration for external yum repository comaptible with Koozali SME Server. %changelog +* Fri Dec 28 2018 Jean-Philipe Pialasse 0.1-8.sme +- zmrepo url has changed [SME: 10675] + * Mon Nov 30 2018 John Crisp 0.1-7.sme - Add libreswan repo [SME: 10605] - remove duplicate remi-safe entry @@ -817,7 +820,7 @@ REPO['fullreponame']='ZoneMinder Repo - REPO['EnableGroups']='no' REPO['Visible']='yes' REPO['status']='disabled' -REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch' +REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch' REPO['MirrorList']='' REPO['GPGCheck']='no' REPO['GPGKey']="" @@ -891,7 +894,18 @@ cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smi EOF +cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel +{ + for my $name ( qw(zmrepo) ) + { + my $repo = $DB->get($name) or next; + my $BaseURL = $repo->prop('BaseURL') || ''; + my $BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; + } + +} +EOF