Description of problem: The following files are unpackaged, but installed - so rpm rebuilding of the perl packages dies: /usr/share/scripts/c2ph /usr/share/scripts/cpan /usr/share/scripts/dprofpp /usr/share/scripts/enc2xs /usr/share/scripts/find2perl /usr/share/scripts/h2ph /usr/share/scripts/h2xs /usr/share/scripts/instmodsh /usr/share/scripts/libnetcfg /usr/share/scripts/perlbug /usr/share/scripts/perlcc /usr/share/scripts/perldoc /usr/share/scripts/perlivp /usr/share/scripts/piconv /usr/share/scripts/pl2pm /usr/share/scripts/pod2html /usr/share/scripts/pod2latex /usr/share/scripts/pod2man /usr/share/scripts/pod2text /usr/share/scripts/pod2usage /usr/share/scripts/podchecker /usr/share/scripts/podselect /usr/share/scripts/prove /usr/share/scripts/psed /usr/share/scripts/pstruct /usr/share/scripts/s2p /usr/share/scripts/splain /usr/share/scripts/xsubpp Version-Release number of selected component (if applicable): perl-5.8.7-0.1.fc5 How reproducible: Everytime, rebuild perl against latest Rawhide. Actual results: No rebuilding of the package. Expected results: Rebuilding ;-)
I had time to look for it and got it, Warren: My build system has /usr/share/ scripts, which is prefered, if no other directory is specified. The directory / usr/share/scripts is used by some irssi (rpm) packages for example for sharing public irssi perl scripts. I think, it really should hurt absolutely nobody, if we define /usr/bin for the scripts in the perl spec file to avoid the auto-detection of perl's configure script. The following change solves the problem in a very sane way for me, could this patch applied to CVS/Rawhide, please?! Marking this bug as EasyFix: ------ --- perl.spec 2005-08-29 00:56:18.000000000 +0200 +++ perl.spec.rsc 2005-09-01 15:42:42.000000000 +0200 @@ -312,7 +312,8 @@ -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \ -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \ -Ud_endservent_r_proto -Ud_setservent_r_proto \ - -Dinc_version_list='%{perlmodcompat}' + -Dinc_version_list='%{perlmodcompat}' \ + -Dscriptdir='%{_bindir}' make ------
I don't understand perl very well and I don't have time to investigate this anytime soon, so I hope Ville or JPO or others on fedora-perl-devel-list can confirm this is the proper thing to do.
Those scripts have always been in /usr/bin in the past, so I'd agree that patch is the right thing to do.
Ditto. Didn't actually test the patch, but it looks obviously correct.
+1 I don't see any problem either. Tested the patch in FC4: no differences in the file lists of the binary RPMS.