[packages/fedmsg] Knock 'daemon' out of setuptools requirements, as upstream did

glen glen at pld-linux.org
Wed Nov 11 19:50:40 CET 2015


commit e30699038328663a98feb1cc3fcab8d7c386ee5b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 11 20:47:56 2015 +0200

    Knock 'daemon' out of setuptools requirements, as upstream did
    
    http://pkgs.fedoraproject.org/cgit/fedmsg.git/commit/?id=5c6c5f802925983286f9388e9582bd48c0cc2521
    
    this solves some startup errors:
    
     # sudo -u fedmsg fedmsg-relay
    Traceback (most recent call last):
      File "/usr/bin/fedmsg-relay", line 9, in <module>
        load_entry_point('fedmsg==0.16.2', 'console_scripts', 'fedmsg-relay')()
      File "/usr/share/python2.7/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
      File "/usr/share/python2.7/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
      File "/usr/share/python2.7/site-packages/pkg_resources/__init__.py", line 2354, in load
      File "/usr/share/python2.7/site-packages/pkg_resources/__init__.py", line 2371, in require
      File "/usr/share/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve
    pkg_resources.DistributionNotFound: The 'daemon' distribution was not found and is required by the application

 fedmsg.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/fedmsg.spec b/fedmsg.spec
index 0efa601..286241c 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -133,6 +133,8 @@ rm -f fedmsg/tests/test_crypto_gpg.py
 # so knock it out too.
 sed -i "/'sqlalchemy.*$/d" setup.py
 
+sed -i "/daemon/d" setup.py
+
 # Temporarily disable signature validation while the timestamp precision bug is
 # worked out upstream. -- https://github.com/fedora-infra/fedmsg/pull/186
 sed -i "s/validate_signatures=True/validate_signatures=False/g" fedmsg.d/ssl.py
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list