Bug 212108 - spectool fetches symlink, not file
spectool fetches symlink, not file
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: rpmdevtools (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-25 00:05 EDT by Chris Weyl
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version: 5.3-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-10-25 12:29:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fetch symlinks as files, not symlinks (452 bytes, patch)
2006-10-25 03:49 EDT, Ville Skyttä
no flags Details | Diff

  None (edit)
Description Chris Weyl 2006-10-25 00:05:20 EDT
Description of problem:
spectools seems to fetch symlinks in certain instances.

Version-Release number of selected component (if applicable):
rpmdevtools-5.2-1.fc6

How reproducible:
Use spectool against, e.g.,
http://www.drizzle.com/~pacifico/perl-Class-Data-Accessor.spec (from bug 211737)


Steps to Reproduce:
spectool -g perl-Class-Data-Accessor.spec

  
Actual results:

[build@zeus perl-Class-Data-Accessor]$ spectool -g perl-Class-Data-Accessor.spec 
--20:48:58-- 
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Class/Class-Data-Accessor-0.03.tar.gz
           => `./.listing'
Resolving ftp.cpan.org... 209.221.142.118, 204.152.191.7
Connecting to ftp.cpan.org|209.221.142.118|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/CPAN/modules/by-module/Class ... done.
==> PASV ... done.    ==> LIST ... done.

    [          <=>                                                             
     ] 255,888     86.2K/s   in 2.9s   

20:49:08 (86.2 KB/s) - `./.listing' saved [255888]

Removed `./.listing'.
Creating symlink ./Class-Data-Accessor-0.03.tar.gz ->
../../../authors/id/C/CL/CLACO/Class-Data-Accessor-0.03.tar.gz
[build@zeus perl-Class-Data-Accessor]$ ls -l
total 12
lrwxrwxrwx 1 build build   62 Oct 24 20:49 Class-Data-Accessor-0.03.tar.gz ->
../../../authors/id/C/CL/CLACO/Class-Data-Accessor-0.03.tar.gz
-rw-rw-r-- 1 build build 5195 Jul 14 11:30 Class-Data-Accessor-0.03.tar.gz.srpm
-rw-rw-r-- 1 build build 1744 Oct 17 22:36 perl-Class-Data-Accessor.spec

Expected results:
Not a symlink, but the file :)
Comment 1 Ville Skyttä 2006-10-25 03:48:23 EDT
Reproduced, Cc'ing spectool upstream maintainer.
Comment 2 Ville Skyttä 2006-10-25 03:49:47 EDT
Created attachment 139312 [details]
Fetch symlinks as files, not symlinks
Comment 3 Nils Philippsen 2006-10-25 07:44:42 EDT
fixed in upstream spectool-1.0.8
Comment 4 Ville Skyttä 2006-10-25 12:29:19 EDT
Thanks, spectool 1.0.8 is included in rpmdevtools 5.3, which will appear in 
the next push.

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