From dbb711361a44f913247a0e2baa9d0c54e0b21078 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 18 Dec 2014 13:55:08 +0200 Subject: [PATCH] rpm packaging: include python egg-info in -common We need this for the Python pkg_resources. Change-Id: I74c7d466040279b8f34ec357b6947fa2f7c29a15 Signed-off-by: Markus Lehtonen --- packaging/git-buildpackage.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/git-buildpackage.spec b/packaging/git-buildpackage.spec index ad8f0e5..a9a034d 100644 --- a/packaging/git-buildpackage.spec +++ b/packaging/git-buildpackage.spec @@ -163,7 +163,6 @@ GIT_CEILING_DIRECTORIES=%{_builddir} \ %install rm -rf %{buildroot} WITHOUT_NOSETESTS=1 %{__python} ./setup.py install --root=%{buildroot} --prefix=/usr -rm -rf %{buildroot}%{python_sitelib}/*info %if %{with docs} # Install man pages @@ -231,6 +230,7 @@ done %dir %{python_sitelib}/gbp/pkg %dir %{python_sitelib}/gbp/scripts %dir %{python_sitelib}/gbp/scripts/common +%{python_sitelib}/gbp-* %{python_sitelib}/gbp/*.py* %{python_sitelib}/gbp/scripts/__init__.py* %{python_sitelib}/gbp/scripts/clone.py* -- 2.7.4