summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-12-18 13:55:08 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-12-18 14:00:14 +0200
commit0d864dcc88f2c8686664031fbb5f7b810491aa9d (patch)
treef9cbc42625537c4bcda3d1078b9576d5b5d7d4ef /packaging
parent7c1a2a4c55e1e16f33e398acefba22c61936fa00 (diff)
downloadgit-buildpackage-0d864dcc88f2c8686664031fbb5f7b810491aa9d.tar.gz
git-buildpackage-0d864dcc88f2c8686664031fbb5f7b810491aa9d.tar.bz2
git-buildpackage-0d864dcc88f2c8686664031fbb5f7b810491aa9d.zip
rpm packaging: include python egg-info in -common
We need this for the Python pkg_resources. Change-Id: I74c7d466040279b8f34ec357b6947fa2f7c29a15 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/git-buildpackage.spec2
1 files changed, 1 insertions, 1 deletions
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*