Bug 1114792

Summary: need "$osrelease" to specify fedora/epel
Product: [Community] Copr Reporter: Jens Petersen <petersen>
Component: backendAssignee: Miroslav Suchý <msuchy>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: praiskup
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: 2014-08-03 20:13:02 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:

Description Jens Petersen 2014-07-01 03:32:03 UTC
Description of problem:
Currently copr supports "$releasever" and "$basearch" in repo urls for
building packages, but "fedora-$releasever-$basearch" only works for
Fedora not EPEL.
If "$osrelease" was "fedora" on Fedora and "epel" on EPEL" then repo urls
for build dep repos could use "$osrelease-$releasever-$basearch" to build
for both fedora and epel.

Steps to Reproduce:
1. Add http://copr-be.cloud.fedoraproject.org/results/USER/REPO/fedora-$releasever-$basearch/ repo url to a COPR repo config.
2. Configure repo for EPEL builds.
3. Build repo

Actual results:
Build fails on EPEL due to missing dep since no fedora-<epel-ver>-arch repo!

Expected results:
Some way to handle both fedora and epel copr dep repos.

Comment 1 Pavel Raiskup 2014-07-28 12:10:37 UTC
Should not this be closed as duplicate to bug 1091640?  (this bug has more
understandable summary & description though)

Comment 2 Miroslav Suchý 2014-08-03 20:13:02 UTC
Yes.

*** This bug has been marked as a duplicate of bug 1091640 ***