RPM construction, a result "Installed (but unpackaged) file(s) found:"
Dear.
my environment is Redhat9. I found latest stable version is
"1.2.3". I want to it. where is "binary-rpm for Redhat9" ?
the first question.
Q1. where is "bincimap-1.2.3-i386.rpm for Redhat9"?
I downloaded "bincimap-1.2.3-1.src.rpm" for trial and did rpmbuild.
result is "RPM build errors: Installed (but unpackaged) file(s) found:".
and "rpmbuild -ta bincimap-1.2.3.tar.gz" is same result.
The second question is whether "bincimap.spec" included in
bincimap-1.2.3.tar.gz and bincimap-1.2.3.src.rpm is right?
build which revised "%_unpackaged_files_terminate_build 1" described
in "/usr/lib/rpm/macros" to "%_unpackaged_files_terminate_build 0"
is succeeded.
However, /etc/opt/bincimap/scripts/checkpassword.pl ,
/etc/opt/bincimap/scripts/toimapdir ,
/etc/opt/bincimap/scripts/tomaildir++"
is not included in "bincimap-1.2.3.i386.rpm".
Q2a. method is right?
On the other hand, as a result of having revised "bincimap.spec"
"bincimap.spec.in"as follows, as for the result of
"rpmbuild -ba /usr/src/redhat/SPECS/bincimap.spec",
an error did not occur, and three "scripts" mentioned above were
contained in "bincimap-1.2.3.i386.rpm".
Line77: "STATIC=--enable-static" to "STATIC="
Line120: "install conf/xinetd-bincimaps $ETC/xinetd/imaps" to
"#install conf/xinetd-bincimaps $ETC/xinetd/imaps"
Line121: "install conf/xinetd-bincimaps $ETC/xinetd/imaps" to
"#install conf/xinetd-bincimaps $ETC/xinetd/imaps"
Line161-1: insert "% dir %{_sysconfdir}/bincimap/scripts"
Line178-1: insert "%config
%{_sysconfdir}/bincimap/scripts/checkpassword.pl"
Line178-2: insert "%config %{_sysconfdir}/bincimap/scripts/toimapdir"
Line178-3: insert "%config %{_sysconfdir}/bincimap/scripts/tomaildir++"
(about bincimap.spec.in) abbreviation.
Q2b. method is right? Because there is a description of
'- Added scripts: "toimapdir", "tomaildir++" and "checkpassword.pl"'
in the top of "%changelog", this is right?
Please teach it.