Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1148353

Summary: [rfe] support glob provides in dnf/hawkey
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: dnfAssignee: Michal Luscon <mluscon>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: akozumpl, jsilhan, mluscon, pnemade, rholy, tla
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-0.6.3-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-13 09:53:44 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 Dominik 'Rathann' Mierzejewski 2014-10-01 09:04:31 UTC
Description of problem:
dnf install "tex(rsfs7*)" doesn't work (no packages to install) while yum does.

Version-Release number of selected component (if applicable):
0.5.4-2.fc20

How reproducible:
Always

Steps to Reproduce:
1. dnf install "tex(rsfs7*)"

Actual results:
No package tex(rsfs7*) available.
Error: Nothing to do.

Expected results:
Package texlive-rsfs.noarch 3:svn15878.0-5.fc20 will be installed

Additional info:
yum works.

Comment 1 Parag Nemade 2014-10-01 12:06:34 UTC
I see following
$sudo dnf repoquery --provides texlive-rsfs
tex(rsfs.map) = 2014
tex(rsfs10.pfb) = 2014
tex(rsfs10.tfm) = 2014
tex(rsfs5.pfb) = 2014
tex(rsfs5.tfm) = 2014
tex(rsfs7.pfb) = 2014
tex(rsfs7.tfm) = 2014
tex(scrload.tex) = 2014
tex-rsfs = 2014
texlive-rsfs = 4:svn15878.0-1.1.fc21

$sudo dnf install tex\(rsfs7.tfm\) also worked

but 
$ sudo dnf install tex\(rsfs7*\)
No package tex(rsfs7*) available.

Comment 2 Honza Silhan 2014-10-01 12:57:32 UTC
Hi, thanks for the report. Hawkey Query and Selector doesn't support glob provides. This feature should be added.

Comment 3 Fedora Update System 2014-12-09 14:06:37 UTC
dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21

Comment 4 Fedora Update System 2014-12-12 04:32:42 UTC
Package dnf-0.6.3-2.fc21, hawkey-0.5.2-1.fc21, dnf-plugins-core-0.1.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.6.3-2.fc21 hawkey-0.5.2-1.fc21 dnf-plugins-core-0.1.4-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16760/dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-12-13 09:53:44 UTC
dnf-0.6.3-2.fc21, hawkey-0.5.2-1.fc21, dnf-plugins-core-0.1.4-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.