[packages/fedmsg] disable fedora infra in global config

glen glen at pld-linux.org
Sun Nov 23 02:25:27 CET 2014


commit d803d01cd4a2979b2643ef8f2bb1772bd1e4059e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 23 03:25:01 2014 +0200

    disable fedora infra in global config
    
    there seems no way to disable it in local config if it's enabled in
    global config

 config.patch | 16 ++++++++++++++++
 fedmsg.spec  |  2 ++
 2 files changed, 18 insertions(+)
---
diff --git a/fedmsg.spec b/fedmsg.spec
index 9777bdc..e132dda 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -12,6 +12,7 @@ Source0:	http://pypi.python.org/packages/source/f/fedmsg/%{name}-%{version}.tar.
 # Source0-md5:	3074d89b779929b338ac609081e10340
 Source1:	%{name}-tmpfiles.conf
 Patch0:		%{name}-kojitests.patch
+Patch1:		config.patch
 URL:		http://github.com/ralphbean/fedmsg
 BuildRequires:	python-devel
 BuildRequires:	python-setuptools
@@ -115,6 +116,7 @@ firewall.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # This only got shipped with fedmsg-0.6.3
 rm -f fedmsg.d/_tweet-real.py
diff --git a/config.patch b/config.patch
new file mode 100644
index 0000000..93d7173
--- /dev/null
+++ b/config.patch
@@ -0,0 +1,16 @@
+--- fedmsg-0.11.1/fedmsg.d//endpoints.py~	2014-10-21 18:34:55.000000000 +0300
++++ fedmsg-0.11.1/fedmsg.d//endpoints.py	2014-11-23 03:23:59.491285537 +0200
+@@ -24,10 +24,10 @@
+     endpoints={
+         # These are here so your local box can listen to the upstream
+         # infrastructure's bus.  Cool, right?  :)
+-        "fedora-infrastructure": [
+-            "tcp://hub.fedoraproject.org:9940",
++        #"fedora-infrastructure": [
++            #"tcp://hub.fedoraproject.org:9940",
+             #"tcp://stg.fedoraproject.org:9940",
+-        ],
++        #],
+         #"debian-infrastructure": [
+         #    "tcp://fedmsg.olasd.eu:9940",
+         #],
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fedmsg.git/commitdiff/d803d01cd4a2979b2643ef8f2bb1772bd1e4059e



More information about the pld-cvs-commit mailing list