On Sun, Sep 15, 2013 at 12:07 PM, Richard Shaw <hobbes1069@gmail.com> wrote:
On Sun, Sep 15, 2013 at 11:58 AM, Dridi Boukelmoune <dridi.boukelmoune@gmail.com> wrote:
Hi,

Have you tried to tweak the %setup macro with the -n option ?

Yes, I have to because the source name doesn't match the package name anymore...

%setup -q -n %{srcname}-%{version}

where srcname is defines at "tqsl"

I could make another version definition but that seems wrong somehow and even if that fixes cd'ing into the source dir, I'm not sure it would fix the final package names...

Just tried that (%global tqslver 1.14.3) and it worked. Even named the packages correctly! 

Thanks,
Richard