Re: multipath-tools make rpm failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On jeu., 2009-10-22 at 10:44 +0200, Eyal Gordon wrote:
> Hello,
> 
> I received the following error while trying to run 'make rpm' for
> multipath-tools. My local git repository is a clone of the upstream
> master branch from today.
> 
> # make rpm
> sed -e "s/__VERSION__//" \
>         multipath-tools.spec.in > multipath-tools.spec
> rpmbuild -bb multipath-tools.spec
> error: line 6: Empty tag: Version:
> make: *** [rpm] Error 1
> 
> 
> After looking at the Makefile and adding echo statements to debug, it
> seems that a ${VERSION} variable is required for the above 'sed'
> statement, but it is not defined.
> 
> Could anyone help me please? 
> 
The make file tries to guess the version from the dirname, which is a
convenient trick for distributors, but admittedly not fair for
developpers.

You can still forge a VERSION value. 0.4.8-git091022 would certainly be
a safe choice.

Regards,
cvaroqui


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux