Full subpackage (-n type) with different version from main package

Reindl Harald h.reindl at thelounge.net
Sun Sep 15 17:11:48 UTC 2013


Am 15.09.2013 19:07, schrieb Richard Shaw:
> On Sun, Sep 15, 2013 at 11:58 AM, Dridi Boukelmoune <dridi.boukelmoune at gmail.com
> <mailto:dridi.boukelmoune at 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...

it has nothing to do with the final *package-name*
%setup unpacks the tarball, but it never ever changes %{name}
there are a lot of packages where noth doe snot match in any way

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130915/1877e99b/attachment.sig>


More information about the devel mailing list