[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Philosophical question: rpmbuild and user input
- From: Richard Siddall <cobalt elirion net>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Philosophical question: rpmbuild and user input
- Date: Thu, 20 Dec 2007 21:08:54 -0500
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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]