On Sun, 10 Dec 2006 21:31:16 -0600, Chris wrote about [newbie] Building MDK
10.1 RPM:

>I'm trying to build an RPM of Mutt V1.5.12 for MKD 10.1, this is only the
>2nd RPM I've built. I ran across an error when trying to build it which
>was:
>
>rpmbuild -bb /home/chris/rpm/SPECS/mutt.spec
>error: line 23: Tag takes single token only: Release:   %mkrel 12
>
>I changed the line %define pversion 1.5.9 to 1.5.12 but shouldn't the next 
>line, %define release  %mkrel 9, also be 12? Changing that to 12
>caused the error above.

If you're building version 1.5.12 for the first time you should have these
lines:

%define version 1.5.12           
%define release %mkrel 1  

so the package will become mutt-1.5.12-1md*.

If you use %mkrel 12, that should be for the 12th build of the same version.

HTH
=Dick Gevers=
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to