tis 2009-08-04 klockan 12:14 +0300 skrev Jussi Lehtola:
> What's the correct way to do this?
I don't know about correct, but this should work:
mkdir foo
cd foo
cat >configure <<'EOF'
#!/bin/bash
exec ../configure "$@"
EOF
chmod 755 configure
%configure
/abo
--
fedora-devel-list mailing list
On Tue, 2009-08-04 at 15:58 +0300, Jussi Lehtola wrote:
> On Tue, 2009-08-04 at 14:47 +0200, Andreas Schwab wrote:
> > Jussi Lehtola writes:
> >
> > > So far I've tried
> > >
> > > %global dconfigure %(echo "%{configure}" | sed
> > > 's|./configure|../configure|g')
> >
> > Since %configure expan
On Tue, 2009-08-04 at 14:47 +0200, Andreas Schwab wrote:
> Jussi Lehtola writes:
>
> > So far I've tried
> >
> > %global dconfigure %(echo "%{configure}" | sed
> > 's|./configure|../configure|g')
>
> Since %configure expands to a text containing double quotes this gets
> the quoting wrong. Usin
Am Dienstag, den 04.08.2009, 14:15 +0200 schrieb Ralf Corsepius:
> On 08/04/2009 02:01 PM, Jussi Lehtola wrote:
> > On Tue, 2009-08-04 at 13:42 +0200, Mattias Ellert wrote:
> >>> What's the correct way to do this?
> >>
> >> %global dconfigure %(rpm -E %%configure | sed
> 's!./configure!../configure
Jussi Lehtola writes:
> So far I've tried
>
> %global dconfigure %(echo "%{configure}" | sed
> 's|./configure|../configure|g')
Since %configure expands to a text containing double quotes this gets
the quoting wrong. Using single quotes work here (albeit still not
general enough):
%global dconf
On 08/04/2009 02:01 PM, Jussi Lehtola wrote:
On Tue, 2009-08-04 at 13:42 +0200, Mattias Ellert wrote:
What's the correct way to do this?
%global dconfigure %(rpm -E %%configure | sed 's!./configure!../configure!g')
%dconfigure
This works, but isn't it bad style to call rpm from within a spec
On Tue, 2009-08-04 at 13:42 +0200, Mattias Ellert wrote:
> > What's the correct way to do this?
>
> %global dconfigure %(rpm -E %%configure | sed 's!./configure!../configure!g')
> %dconfigure
This works, but isn't it bad style to call rpm from within a spec
file..?
--
Jussi Lehtola
Fedora Projec
tis 2009-08-04 klockan 12:14 +0300 skrev Jussi Lehtola:
> Hi,
>
>
> related to the MPI packaging draft
> http://www.fedoraproject.org/wiki/PackagingDrafts/MPI
> I have a need to redefine %configure to use ../configure instead
> of ./configure to do off-root builds.
>
>
> So far I've tried
>
>
On Tue, 04 Aug 2009 12:14:34 +0300, Jussi wrote:
> Hi,
>
>
> related to the MPI packaging draft
> http://www.fedoraproject.org/wiki/PackagingDrafts/MPI
> I have a need to redefine %configure to use ../configure instead
> of ./configure to do off-root builds.
>
>
> So far I've tried
>
> %glob
Hi,
related to the MPI packaging draft
http://www.fedoraproject.org/wiki/PackagingDrafts/MPI
I have a need to redefine %configure to use ../configure instead
of ./configure to do off-root builds.
So far I've tried
%global dconfigure %(echo "%{configure}" | sed
's|./configure|../configure|g')
10 matches
Mail list logo