Should there be BuildRequires for perl/libtool/auto*?

Warren Togami warren at togami.com
Sat Dec 27 20:11:54 UTC 2003


David T Hollis wrote:
> On Sat, 2003-12-27 at 10:04, Toshio wrote:
> 
>>Hi, I'm fighting with BuildRequires here and was wondering about the
>>auto* family of tools.  configure checks for them at build time and
>>during builds of some packages.  Are these tools actually needed for
>>the package to build (ie: should they be a BuildRequire?)
>>
>>A related question:  If I change something up the tool chain (A
>>configure.in or Makefile.am) should I do my auto*'ing inside the .spec
>>or do it in my work area before hand and create a patch?  The latter
>>will generate a bigger patch, but it seems cleaner....
>>
>>-Toshio
> 
>>From what I have seen, if you patch configure.in/ac or a Makefile.am,
> you should call the auto* tools from the spec file - typically in the
> build section from what I have seen.  In those cases, you should
> probably supply a BuildRequires especially if you require specific
> versions of the auto tools (autoconf >= 2.57 for example).  
> 

If you require a specific version of any package, then you MUST include 
an Epoch in that dependency.  If the Epoch is blank, then make it "0".

Warren





More information about the fedora-devel-list mailing list