Philosophical question: rpmbuild and user input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux