From d5a408b23bcc0c54d6946fde0301af925088d7d9 Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: Oct 07 2015 22:03:12 +0000 Subject: Keep upstream egg _metadata_ Upstream egg metadata MUST be preserved, it was a misguided guideline making packagers do it, corrected in the meantime: https://fedorahosted.org/fpc/ticket/488 Issue is that egginfo cannot be fully regenerated by PBR when running from sdist, like it is the case during rpmbuild. --- diff --git a/python-designateclient.spec b/python-designateclient.spec index 954a732..2949de4 100644 --- a/python-designateclient.spec +++ b/python-designateclient.spec @@ -29,9 +29,6 @@ Client library and command line utility for interacting with OpenStack DNSaaS AP # Remove requirements listings rm -rf {,test-}requirements.txt -# Remove bundled egg-info -rm -rf %{pypi_name}.egg-info - %build %{__python2} setup.py build