> If you add --miredebug to the invocation, you will see the
> result of every pattern match.
>
> The patterns are used to ensure that there aren't any "surprises".

Here is result with --miredebug :


Version to package is 3.0.3
--> mire 0x7fff32c15ae0 ++ 1 mireNew at mire.c:115
<-- mireRegcomp(0x7fff32c15ae0, "^[A-Za-z0-9][A-Za-z0-9+._-]*$") rc 0
<-- mireRegexec(0x7fff32c15ae0, 0x7fff33010e06[8]) rc 0 mode 2 "cimaven3"
--> mire 0x7fff32c15ae0 -- 1 tagValidate at parsePreamble.c:592
<-- mireClean(0x7fff32c15ae0)
--> mire 0x7fff32c15ae0 ++ 1 mireNew at mire.c:115
<-- mireRegcomp(0x7fff32c15ae0, "^[A-Za-z0-9+._]+$") rc 0
error: ^[A-Za-z0-9+._]+$: regexec failed: regexec() failed to match(1)
<-- mireRegexec(0x7fff32c15ae0, 0x7fff33010e09[5]) rc -2 mode 2 "3.0.3"
error: line 8: invalid tag value("^[A-Za-z0-9+._]+$") Version: Version: 3.0.3
--> mire 0x7fff32c15ae0 -- 1 tagValidate at parsePreamble.c:592
<-- mireClean(0x7fff32c15ae0)
error: Package has no %description: cimaven3.x86_64

rpmbuild command is :

rpmbuild -bb --define="_topdir $PWD" --define="_tmppath $PWD/TEMP"
--define="MAVEN_RE 3.0.3"  --miredebug SPECS/cimaven3.spec

And why such error about description ?

...
BuildArch:  noarch
...
%description
Maven %{maven_rel}
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
User Communication List                             rpm-users@rpm5.org

Reply via email to