Bug 1375694 - fedpkg copr-build got incorrect rpm name (some from push url) [NEEDINFO]
Summary: fedpkg copr-build got incorrect rpm name (some from push url)
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: cqi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-13 17:53 UTC by Pavel Alexeev
Modified: 2017-08-28 03:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-28 03:39:32 UTC
Type: Bug
cqi: needinfo? (pahan)


Attachments (Terms of Use)

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.


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