Tools and libraries for subscription and repository management
e2ccea3d457eab3f6c4c064dc7c1a4a41c1396ba..d6ea01ec9ca4c4e0ed7963d111a6e587c9515918
2015-12-08 Johnny Hughes
add patch to prevent redhat.repo
d6ea01 diff | tree
2015-12-08 Johnny Hughes
add patch to prevent redhat.repo
85b74a diff | tree
1 files added
1 files modified
20 ■■■■■ changed files
SOURCES/subscription-manager-1.15.9-15-centos-remove-redhat.repo.patch 11 ●●●●● patch | view | raw | blame | history
SPECS/subscription-manager.spec 9 ●●●● patch | view | raw | blame | history
SOURCES/subscription-manager-1.15.9-15-centos-remove-redhat.repo.patch
New file
@@ -0,0 +1,11 @@
diff -ur a/src/subscription_manager/repolib.py b/src/subscription_manager/repolib.py
--- a/src/subscription_manager/repolib.py    2015-12-08 20:25:39.065061583 +0200
+++ b/src/subscription_manager/repolib.py    2015-12-08 20:25:48.213068430 +0200
@@ -759,6 +759,7 @@
             return Repo(section, self.items(section))
     def create(self):
+        return
         if self.path_exists(self.path) or not self.manage_repos:
             return
         f = open(self.path, 'w')
SPECS/subscription-manager.spec
@@ -50,7 +50,7 @@
Name: subscription-manager
Version: 1.15.9
Release: 15%{?dist}
Release: 15%{?dist}.0.1
Summary: Tools and libraries for subscription and repository management
Group:   System Environment/Base
License: GPLv2
@@ -76,6 +76,7 @@
Patch12: subscription-manager-1.15.9-13-to-subscription-manager-1.15.9-14.patch
Patch13: subscription-manager-1.15.9-14-to-subscription-manager-1.15.9-15.patch
Patch1001: 0001-debrand-warnings.patch
Patch1002: subscription-manager-1.15.9-15-centos-remove-redhat.repo.patch
URL:     http://www.candlepinproject.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -264,6 +265,9 @@
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch1001 -p1
%patch1002 -p1
%build
make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" OS_DIST="%{dist}" %{?gtk_version}
@@ -581,6 +585,9 @@
%endif
%changelog
* Tue Dec  8 2015 Johnny Hughes <johnny@centos.org> 1.15.9-15
- prevent generation of redhat.repo
* Fri Nov 20 2015 Jim Perrin <jperrin@centos.org> 1.15.9-15
- initial debrand following point release update