[PATCH] rpms: add hgext3rd to mercurial.spec

Anton Shestakov av6 at dwimlabs.net
Wed Mar 23 00:39:26 EDT 2016


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1458705191 -28800
#      Wed Mar 23 11:53:11 2016 +0800
# Node ID 51ad333dc6c65822ff90179a9275402759237695
# Parent  62e73d42bd141a39a576a8cfd6f1ffcf06a0b2d0
rpms: add hgext3rd to mercurial.spec

Otherwise build process fails with somethings like this:


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib64/python2.7/site-packages/hgext3rd/__init__.py
   /usr/lib64/python2.7/site-packages/hgext3rd/__init__.pyc
   /usr/lib64/python2.7/site-packages/hgext3rd/__init__.pyo
make: *** [docker-fedora20] Error 1

diff --git a/contrib/mercurial.spec b/contrib/mercurial.spec
--- a/contrib/mercurial.spec
+++ b/contrib/mercurial.spec
@@ -158,4 +158,5 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 %{_libdir}/python%{pythonver}/site-packages/%{name}
 %{_libdir}/python%{pythonver}/site-packages/hgext
+%{_libdir}/python%{pythonver}/site-packages/hgext3rd
 %endif


More information about the Mercurial-devel mailing list