Bug 1105874

Summary: "fedpkg/rpkg --path pkgdir local" saves .build-v-r.log in cwd not pkgdir
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: rpkgAssignee: Pavol Babinčák <pbabinca>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dennis, pbabinca, s
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 11:37:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
proposed patch none

Description Jens Petersen 2014-06-08 12:32:34 UTC
Description of problem:
Running "fedpkg/rpkg --path pkgdir local" creates the .build.log
file in the current directory instead in pkgdir.

I think this is a bug, but if not at least then the build.log filename
should include the package too.

Version-Release number of selected component (if applicable):
pyrpkg-1.20-1.fc20

Steps to Reproduce:
$ mkdir test
$ fedpkg --path test clone mypkg
$ VR=$(fedpkg --path test/mypkg verrel | sed -e "s/mypkg-//")
$ fedpkg --path test local
:
$ ls .build-$VR.log

Actual results:
.build.log in current directory

Expected results:
.build.log to be saved in build dir

Comment 1 Jens Petersen 2014-06-08 12:35:36 UTC
Created attachment 903277 [details]
proposed patch

Untested but I think this patch should save the .build.log file to the builddir when using --path.

Comment 2 Jaroslav Reznik 2015-03-03 17:01:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Fedora End Of Life 2016-07-19 11:37:26 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.