Philosophical question: rpmbuild and user input

Richard Siddall <[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
I know there's a general prohibition on RPMs requiring user input so
that they can be installed unattended.  Does the same rule apply to spec
files, so that RPMs can be built unattended?

(I'm asking because I noticed that the programs I'm using to make RPMs
from Perl modules don't do anything with standard input when executing
"perl Makefile.PL" and some of the makefiles ask for input.  You can get
a rather interesting infinite loop if you add a "< /dev/null" to the end
of the perl Makefile.PL line and then try building some modules on a
machine on which cpan has not been configured and some of the mandatory
prerequisite Perl modules have not been installed. ;>)

I guess I'm actually asking if Perl module spec files should use
	perl Makefile.PL < /dev/null
instead of just
	perl Makefile.PL

Regards,

	Richard.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.