From: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
To: Anders Larsen <al@alarsen.net>
Cc: git@vger.kernel.org, Junio Hamano <junkio@cox.net>
Subject: Re: rpmbuild fails
Date: Wed, 11 Oct 2006 00:18:18 +0200 [thread overview]
Message-ID: <200610110018.19035.Josef.Weidendorfer@gmx.de> (raw)
In-Reply-To: <pan.2006.10.10.20.31.48.692444@alarsen.net>
On Tuesday 10 October 2006 22:31, Anders Larsen wrote:
> The current git fails when building rpms:
>
> RPM build errors:
> Installed (but unpackaged) file(s) found:
> /usr/lib/perl5/vendor_perl/5.8.6/Git.pm
I got the same.
I'm no rpm guru, but changing %{perl_vendorarch} into
%{perl_vendorlib} in git.spec.in helped for me.
Obviously, the generated perl/Makefile installs Git.pm
into the perl vendor *library* directory, and not the arch
one.
I do not provide a real patch, as I have no idea if
this is really the correct fix (we have no arch-dependent
perl files anymore, yes?).
However, something like the above should go into git-1.4.3.
> Indeed git.spec.in does not specify any files for perl-Git, only
> %files -n perl-Git -f perl-files
> %defattr(-,root,root)
> nothing more.
Hmm... Obviously the "... -f perl-files" includes all files
mentioned in file "perl-files" into perl-Git. The problem was
that without the above change this file was empty.
Josef
next prev parent reply other threads:[~2006-10-10 22:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-10 20:31 rpmbuild fails Anders Larsen
2006-10-10 22:18 ` Josef Weidendorfer [this message]
2006-10-11 0:38 ` [RFH] RPM gurus? (Re: rpmbuild fails) Junio C Hamano
2006-10-11 8:25 ` Junio C Hamano
2006-10-11 12:20 ` Josef Weidendorfer
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=200610110018.19035.Josef.Weidendorfer@gmx.de \
--to=josef.weidendorfer@gmx.de \
--cc=al@alarsen.net \
--cc=git@vger.kernel.org \
--cc=junkio@cox.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