From cfa6c65336477b53885314676990113db11c6376 Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Feb 17 2015 09:35:50 +0000 Subject: Add in the CentOS-CR repo --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..335ec95 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.tar.gz diff --git a/SOURCES/1000-centos-release-cr.patch b/SOURCES/1000-centos-release-cr.patch new file mode 100644 index 0000000..78c38cd --- /dev/null +++ b/SOURCES/1000-centos-release-cr.patch @@ -0,0 +1,32 @@ +diff -uNr centos-release-7__orig/CentOS-CR.repo centos-release-7/CentOS-CR.repo +--- centos-release-7__orig/CentOS-CR.repo 1970-01-01 01:00:00.000000000 +0100 ++++ centos-release-7/CentOS-CR.repo 2015-02-17 09:31:08.319527338 +0000 +@@ -0,0 +1,28 @@ ++# CentOS-CR.repo ++# ++# The Continuous Release ( CR ) repository contains rpms that are due in the next ++# release for a specific CentOS Version ( eg. next release in CentOS-7 ); these rpms ++# are far less tested, with no integration checking or update path testing having ++# taken place. They are still built from the upstream sources, but might not map ++# to a tangiable stactic upstream release. ++# ++# These packages are made available soon after they are built, for people willing ++# to test their environments, provide feedback on content for the next release, and ++# for people looking for early-access to next release content. ++# ++# The CR repo is shipped in a disabled state by default; its important that users ++# understand the implications of turning this on. ++# ++# NOTE: We do not use a mirrorlist for the CR repos, to ensure content is available ++# to everyone as soon as possible, and not need to wait for the external ++# mirror network to seed first. However, many local mirrors will carry CR repos ++# and if desired you can use one of these local mirrors by editing the baseurl ++# line in the repo config below. ++# ++ ++[CR] ++name=CentOS-$releasever - CR ++baseurl=http://mirror.centos.org/centos/$releasever/cr/$basearch/ ++gpgcheck=1 ++gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 ++enabled=0 diff --git a/SPECS/centos-release.spec b/SPECS/centos-release.spec index 0d82ae9..e569ce9 100644 --- a/SPECS/centos-release.spec +++ b/SPECS/centos-release.spec @@ -13,7 +13,7 @@ Name: centos-release Version: %{base_release_version} -Release: %{centos_rel}%{?dist}.2.5 +Release: %{centos_rel}%{?dist}.2.6 Summary: %{product_family} release file Group: System Environment/Base License: GPLv2 @@ -25,6 +25,7 @@ Provides: system-release(releasever) = %{base_release_version} Source0: centos-release-%{base_release_version}.tar.gz Source1: 85-display-manager.preset Source2: 90-default.preset +Patch1000: 1000-centos-release-cr.patch %description @@ -32,6 +33,7 @@ Source2: 90-default.preset %prep %setup -q -n centos-release-%{base_release_version} +%patch1000 -p1 %build echo OK @@ -139,6 +141,9 @@ rm -rf %{buildroot} %{_prefix}/lib/systemd/system-preset/* %changelog +* Tue Feb 17 2015 Karanbir Singh +- Include the CR repo for upcoming 7.1 release ( and beyond ) + * Thu Aug 21 2014 Karanbir Singh - add a yum var to route mirrorlist accurately - add CentOS-fastrack repo