Bug 167205 - Unpackaged files at rebuilding perl
Unpackaged files at rebuilding perl
Product: Fedora
Classification: Fedora
Component: perl (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Warren Togami
David Lawrence
: EasyFix
Depends On:
  Show dependency treegraph
Reported: 2005-08-31 11:06 EDT by Robert Scheck
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-04 06:18:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2005-08-31 11:06:07 EDT
Description of problem:
The following files are unpackaged, but installed - so rpm rebuilding of the 
perl packages dies:

Version-Release number of selected component (if applicable):

How reproducible:
Everytime, rebuild perl against latest Rawhide.

Actual results:
No rebuilding of the package.

Expected results:
Rebuilding ;-)
Comment 1 Robert Scheck 2005-09-01 09:45:17 EDT
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 

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}'


Comment 2 Warren Togami 2005-09-01 20:05:55 EDT
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.
Comment 3 Steven Pritchard 2005-09-02 12:58:35 EDT
Those scripts have always been in /usr/bin in the past, so I'd agree that patch
is the right thing to do.
Comment 4 Ville Skyttä 2005-09-03 10:18:05 EDT
Ditto.  Didn't actually test the patch, but it looks obviously correct. 
Comment 5 Jose Pedro Oliveira 2005-09-03 12:08:20 EDT

I don't see any problem either.
Tested the patch in FC4: no differences in the file lists of the binary RPMS.

Note You need to log in before you can comment on or make changes to this bug.