From 227c419e9ef6d98c7dee5537532d1335f70d5fa5 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Mar 12 2020 18:51:49 +0000 Subject: add a Devel repo file for the Devel variant --- diff --git a/SOURCES/CentOS-Devel.repo b/SOURCES/CentOS-Devel.repo new file mode 100644 index 0000000..404fbd7 --- /dev/null +++ b/SOURCES/CentOS-Devel.repo @@ -0,0 +1,19 @@ +# CentOS-Devel.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[Devel] +name=CentOS-$releasever - Devel WARNING! FOR BUILDROOT USE ONLY! +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=Devel&infra=$infra +#baseurl=http://mirror.centos.org/$contentdir/$releasever/Devel/$basearch/os/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial diff --git a/SPECS/centos-release.spec b/SPECS/centos-release.spec index 869b239..3340a5d 100644 --- a/SPECS/centos-release.spec +++ b/SPECS/centos-release.spec @@ -77,6 +77,7 @@ Source308: CentOS-AppStream.repo Source309: CentOS-PowerTools.repo Source310: CentOS-centosplus.repo Source311: CentOS-HA.repo +Source312: CentOS-Devel.repo %ifarch %{arm} %description -n %{pkg_name} @@ -176,6 +177,7 @@ install -m 644 %{SOURCE308} %{buildroot}/etc/yum.repos.d install -m 644 %{SOURCE309} %{buildroot}/etc/yum.repos.d install -m 644 %{SOURCE310} %{buildroot}/etc/yum.repos.d install -m 644 %{SOURCE311} %{buildroot}/etc/yum.repos.d +install -m 644 %{SOURCE312} %{buildroot}/etc/yum.repos.d mkdir -p -m 755 %{buildroot}/etc/dnf/vars echo "%{infra_var}" > %{buildroot}/etc/dnf/vars/infra