On 08.11.2013 13:47, Michael Schwendt wrote:
On Thu, 07 Nov 2013 14:10:19 +0100, Sandro Mani wrote:
Well, a Shell Function would be more readable, for example. It would
accept normal arguments to fill in variables -- instead of global RPM
macros, which are substituted in the entire spec file.
On Thu, 07 Nov 2013 14:10:19 +0100, Sandro Mani wrote:
> > Well, a Shell Function would be more readable, for example. It would
> > accept normal arguments to fill in variables -- instead of global RPM
> > macros, which are substituted in the entire spec file.
> Uhm, how can one this be done? Shel
For some time I am looking for a reason to test the Lua RPM feature:
http://rpm.org/wiki/PackagerDocs/RpmLua
Can you point me to the .spec in the question and a few more words
which is the desired result.
Kind Regards,
Alek
Hi Alek,
I've uploaded the spec here [1]. About the scenario and
Hi Sandro,
On 07.11.2013 15:10, Sandro Mani wrote:
Uhm, how can one this be done? Shell variables are substituted after
macro expansion, so i.e.
function do_build {
arch=$1
qt_version=$2
%{mingw${arch}_qmake_${qt_version}}
}
would hardly work? Or are you suggesting passing the entire macros as
On 07.11.2013 12:38, Michael Schwendt wrote:
On Sat, 02 Nov 2013 18:40:46 +0100, Sandro Mani wrote:
On 02.11.2013 18:18, Kevin Kofler wrote:
Hi,
Sandro Mani wrote:
%define do_build() \
mkdir build_win%{1}_%{2}; \
(cd build_win%{1}_%{2}; \
%{mingw%{1}_qmake_%{2}} 'PREFIX=%{mingw%{1}_prefix}'
On Sat, 02 Nov 2013 18:40:46 +0100, Sandro Mani wrote:
>
> On 02.11.2013 18:18, Kevin Kofler wrote:
> > Hi,
> >
> > Sandro Mani wrote:
> >> %define do_build() \
> >> mkdir build_win%{1}_%{2}; \
> >> (cd build_win%{1}_%{2}; \
> >> %{mingw%{1}_qmake_%{2}} 'PREFIX=%{mingw%{1}_prefix}'
> >> 'TARGET=q
On 02.11.2013 18:18, Kevin Kofler wrote:
Hi,
Sandro Mani wrote:
%define do_build() \
mkdir build_win%{1}_%{2}; \
(cd build_win%{1}_%{2}; \
%{mingw%{1}_qmake_%{2}} 'PREFIX=%{mingw%{1}_prefix}'
'TARGET=quazip-%{2}' ../libquazip; \
%{mingw%{1}_make} %{?_smp_mflags}; \
)\
%{nil}
Ewww!
Sorry to r
Hi,
Sandro Mani wrote:
> %define do_build() \
> mkdir build_win%{1}_%{2}; \
> (cd build_win%{1}_%{2}; \
> %{mingw%{1}_qmake_%{2}} 'PREFIX=%{mingw%{1}_prefix}'
> 'TARGET=quazip-%{2}' ../libquazip; \
> %{mingw%{1}_make} %{?_smp_mflags}; \
> )\
> %{nil}
Ewww!
Sorry to rain on your parade, but are y
On Fri, Nov 1, 2013 at 6:16 PM, Panu Matilainen
wrote:
> On 11/01/2013 05:12 PM, Sandro Mani wrote:
>>
>>
>> On 01.11.2013 16:09, Sandro Mani wrote:
>>>
>>>
>>> On 01.11.2013 16:07, Dridi Boukelmoune wrote:
On Fri, Nov 1, 2013 at 3:59 PM, Sandro Mani
wrote:
>
> Hi,
>
>>
On 11/01/2013 05:12 PM, Sandro Mani wrote:
On 01.11.2013 16:09, Sandro Mani wrote:
On 01.11.2013 16:07, Dridi Boukelmoune wrote:
On Fri, Nov 1, 2013 at 3:59 PM, Sandro Mani
wrote:
Hi,
I'm trying to do some rpm macro magic:
%define do_build() \
mkdir build_win%{1}_%{2}; \
(cd build_win%{1}
On 01.11.2013 16:09, Sandro Mani wrote:
On 01.11.2013 16:07, Dridi Boukelmoune wrote:
On Fri, Nov 1, 2013 at 3:59 PM, Sandro Mani
wrote:
Hi,
I'm trying to do some rpm macro magic:
%define do_build() \
mkdir build_win%{1}_%{2}; \
(cd build_win%{1}_%{2}; \
%{mingw%{1}_qmake_%{2}} 'PREFIX=%{m
On 01.11.2013 16:07, Dridi Boukelmoune wrote:
On Fri, Nov 1, 2013 at 3:59 PM, Sandro Mani wrote:
Hi,
I'm trying to do some rpm macro magic:
%define do_build() \
mkdir build_win%{1}_%{2}; \
(cd build_win%{1}_%{2}; \
%{mingw%{1}_qmake_%{2}} 'PREFIX=%{mingw%{1}_prefix}' 'TARGET=quazip-%{2}'
../
On 01.11.2013 15:59, Sandro Mani wrote:
Hi,
I'm trying to do some rpm macro magic:
%define do_build() \
mkdir build_win%{1}_%{2}; \
(cd build_win%{1}_%{2}; \
%{mingw%{1}_qmake_%{2}} 'PREFIX=%{mingw%{1}_prefix}'
'TARGET=quazip-%{2}' ../libquazip; \
%{mingw%{1}_make} %{?_smp_mflags}; \
)\
%{ni
On Fri, Nov 1, 2013 at 3:59 PM, Sandro Mani wrote:
> Hi,
>
> I'm trying to do some rpm macro magic:
>
> %define do_build() \
> mkdir build_win%{1}_%{2}; \
> (cd build_win%{1}_%{2}; \
> %{mingw%{1}_qmake_%{2}} 'PREFIX=%{mingw%{1}_prefix}' 'TARGET=quazip-%{2}'
> ../libquazip; \
> %{mingw%{1}_make} %
Hi,
I'm trying to do some rpm macro magic:
%define do_build() \
mkdir build_win%{1}_%{2}; \
(cd build_win%{1}_%{2}; \
%{mingw%{1}_qmake_%{2}} 'PREFIX=%{mingw%{1}_prefix}'
'TARGET=quazip-%{2}' ../libquazip; \
%{mingw%{1}_make} %{?_smp_mflags}; \
)\
%{nil}
Problem: when I call i.e. "%do_build 3
15 matches
Mail list logo