[fedmsg] Knock out sqlalchemy buildreq.

Ralph Bean ralph at fedoraproject.org
Thu Sep 5 15:42:44 UTC 2013


commit 6c5ec933fe34a35e883fc5ff993c99ace49918e4
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Sep 5 11:42:32 2013 -0400

    Knock out sqlalchemy buildreq.

 fedmsg.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/fedmsg.spec b/fedmsg.spec
index 205cf00..1cf7c91 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -5,7 +5,7 @@
 
 Name:           fedmsg
 Version:        0.7.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Tools for Fedora Infrastructure real-time messaging
 Group:          Applications/Internet
 License:        LGPLv2+
@@ -21,6 +21,8 @@ BuildRequires:  python-setuptools-devel
 BuildRequires:  python-nose
 BuildRequires:  python-six
 BuildRequires:  python-mock
+# Only for the test-replay test which is patched out
+#BuidlRequires:  python-sqlalchemy
 
 BuildRequires:  python-moksha-hub >= 1.0.9
 BuildRequires:  python-bunch
@@ -132,6 +134,9 @@ rm -f fedmsg.d/_tweet-real.py
 # We probably just need a new BuildReq
 rm -f fedmsg/tests/test_replay.py
 rm -f fedmsg/tests/test_crypto_gpg.py
+# Also, sqlalchemy is required for those tests we're knocking out,
+# so knock it out too.
+sed -i "/'sqlalchemy.*$/d" setup.py
 
 
 %build
@@ -303,6 +308,9 @@ fi
 %config(noreplace) %{_sysconfdir}/fedmsg.d/gateway.py*
 
 %changelog
+* Thu Sep 05 2013 Ralph Bean <rbean at redhat.com> - 0.7.0-2
+- Knock out sqlalchemy test dep.
+
 * Thu Sep 05 2013 Ralph Bean <rbean at redhat.com> - 0.7.0-1
 - Latest upstream.
 - Add new fedmsg-trigger command.


More information about the scm-commits mailing list