From 0d864dcc88f2c8686664031fbb5f7b810491aa9d Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 18 Dec 2014 13:55:08 +0200 Subject: 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 48bc5bce..fdb4408d 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* -- cgit v1.2.3