Bug 1375694

Summary: fedpkg copr-build got incorrect rpm name (some from push url)
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: fedpkgAssignee: cqi
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: bochecha, cqi, dennis, lsedlar, pahan, pbabinca, s
Target Milestone: ---Flags: cqi: needinfo? (pahan)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-28 03:39:32 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:

Description Pavel Alexeev 2016-09-13 17:53:58 UTC
Description of problem:
$ git remote -v
githubHubbitus  git:Hubbitus/rpm-openssh-epel-include.git (fetch)
githubHubbitus  git:Hubbitus/rpm-openssh-epel-include.git (push)
origin  ssh://hubbitus.org/rpms/openssh (fetch)
origin  DISABLED (push)

$ fedpkg -v copr-build epel-openssh-include
Generating an srpm
Creating repo object from /home/pasha/SOFT/FEDORA/_NOT_my/openssh/master
Running rpmbuild --define '_sourcedir /home/pasha/SOFT/FEDORA/_NOT_my/openssh/master' --define '_specdir /home/pasha/SOFT/FEDORA/_NOT_my/openssh/master' --define '_builddir /home/pasha/SOFT/FEDORA/_NOT_my/openssh/master' --define '_srcrpmdir /home/pasha/SOFT/FEDORA/_NOT_my/openssh/master' --define '_rpmdir /home/pasha/SOFT/FEDORA/_NOT_my/openssh/master' --define 'dist .fc26' --define 'fedora 26' --eval '%undefine rhel' --define 'fc26 1' --eval '%undefine fc24' --nodeps -bs /home/pasha/SOFT/FEDORA/_NOT_my/openssh/master/openssh.spec directly on the tty


Wrote: /home/pasha/SOFT/FEDORA/_NOT_my/openssh/master/openssh-7.3p1-3.1.fc26.src.rpm
Running copr-cli build epel-openssh-include DISABLED-7.3p1-3.1.fc26.src.rpm directly on the tty

Something went wrong:
Error: [Errno 2] No such file or directory: 'DISABLED-7.3p1-3.1.fc26.src.rpm'

Version-Release number of selected component (if applicable):
$ rpm -q fedpkg
fedpkg-1.25-1.fc24.noarch

Comment 1 Lubomír Sedlář 2016-09-14 06:17:38 UTC
Did you set the push URL manually to DISABLED?

If you instead set it to an empty string, fedpkg will fall back to determining module named based on spec file. It will still prevent you from pushing to the remote repository.

    $ git remote set-url --push origin ''

Comment 2 Fedora Admin XMLRPC Client 2017-02-21 16:41:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Admin XMLRPC Client 2017-02-28 08:31:25 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora End Of Life 2017-02-28 10:15:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 5 cqi 2017-08-01 03:40:18 UTC
Does this problem still happen to you, and is Lubomir's comment 1 helpful to fix your problem?

Comment 6 cqi 2017-08-28 03:39:32 UTC
Close this bug. Feel free to close if it still happens.