From: Junio C Hamano <gitster@pobox.com>
To: git@vger.kernel.org
Cc: Johan Herland <johan@herland.net>
Subject: [RFH] rpm packaging failure
Date: Sat, 30 Jan 2010 01:24:36 -0800 [thread overview]
Message-ID: <7v8wbgueqz.fsf@alter.siamese.dyndns.org> (raw)
Subject: [PATCH] experimental RPM spec change
"make rpm" with recent 'master' fails with:
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib/python2.6/site-packages/git_remote_helpers-0.1.0-py2.6.egg-info
/usr/lib/python2.6/site-packages/git_remote_helpers/__init__.py
/usr/lib/python2.6/site-packages/git_remote_helpers/__init__.pyc
/usr/lib/python2.6/site-packages/git_remote_helpers/git/__init__.py
/usr/lib/python2.6/site-packages/git_remote_helpers/git/__init__.pyc
/usr/lib/python2.6/site-packages/git_remote_helpers/git/git.py
/usr/lib/python2.6/site-packages/git_remote_helpers/git/git.pyc
/usr/lib/python2.6/site-packages/git_remote_helpers/util.py
/usr/lib/python2.6/site-packages/git_remote_helpers/util.pyc
Here is an attempt to fix it, but help is very appreciated, as I don't
know what the accepted way is to ship Python modules is in the RPM world.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
git.spec.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git.spec.in b/git.spec.in
index ab224f7..1aeba90 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -121,6 +121,7 @@ find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
(find $RPM_BUILD_ROOT%{perl_vendorlib} -type f | sed -e s@^$RPM_BUILD_ROOT@@) >> perl-files
%if %{!?_without_docs:1}0
(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE "archimport|svn|git-cvs|email|gitk|git-gui|git-citool" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files
+(find $RPM_BUILD_ROOT%{_libdir}/python* -type f | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files
%else
rm -rf $RPM_BUILD_ROOT%{_mandir}
%endif
--
1.7.0.rc0
next reply other threads:[~2010-01-30 9:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-30 9:24 Junio C Hamano [this message]
2010-01-30 15:19 ` [RFH] rpm packaging failure Todd Zullinger
2010-01-30 17:10 ` Junio C Hamano
2010-01-30 19:47 ` Todd Zullinger
2010-01-30 22:22 ` Junio C Hamano
2010-01-31 4:12 ` Todd Zullinger
2010-01-31 19:18 ` Junio C Hamano
2010-01-31 23:14 ` David Aguilar
2010-01-31 23:46 ` David Aguilar
2010-01-31 0:06 ` Johan Herland
2010-01-31 0:56 ` Sverre Rabbelier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7v8wbgueqz.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=johan@herland.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).