]> git.pld-linux.org Git - packages/fedmsg.git/commitdiff
disable fedora infra in global config
authorElan Ruusamäe <glen@delfi.ee>
Sun, 23 Nov 2014 01:25:01 +0000 (03:25 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 23 Nov 2014 01:25:03 +0000 (03:25 +0200)
there seems no way to disable it in local config if it's enabled in
global config

config.patch [new file with mode: 0644]
fedmsg.spec

diff --git a/config.patch b/config.patch
new file mode 100644 (file)
index 0000000..93d7173
--- /dev/null
@@ -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",
+         #],
index 9777bdc5a4814a5290abae052ba0458f8579ead2..e132ddad7fae615b6345adcb76eee82107ae1be3 100644 (file)
@@ -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
This page took 0.0935 seconds and 4 git commands to generate.