Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

builddep: test BuildRequires: python3dist(build[foo]) #1425

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions dnf-behave-tests/dnf/plugins-core/builddep.feature
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,12 @@ Scenario: Builddep using macros with source rpm
When I execute dnf with args "builddep -D 'dummy_param 1' {context.dnf.fixturesdir}/repos/dnf-ci-thirdparty/src/SuperRipper-1.0-1.src.rpm"
Then the exit code is 0
And stderr contains "Warning: -D or --define arguments have no meaning for source rpm packages."

@dnf5
Scenario: Builddep where package BuildRequires a pkg spec that contains glob characters
Given I use repository "builddep"
When I execute dnf with args "builddep requires-glob"
Then the exit code is 0
And Transaction is following
| Action | Package |
| install | provides-glob-0:1-1.x86_64 |
18 changes: 18 additions & 0 deletions dnf-behave-tests/fixtures/specs/builddep/provides-glob-1-1.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Name: provides-glob
Epoch: 0
Version: 1
Release: 1

License: Public Domain
URL: None

Summary: Provides a pkg spec that contains glob characters

Provides: python3dist(build[foo])

%description
This package is part of testing builddep

%files

%changelog
18 changes: 18 additions & 0 deletions dnf-behave-tests/fixtures/specs/builddep/requires-glob-1-1.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Name: requires-glob
Epoch: 0
Version: 1
Release: 1

License: Public Domain
URL: None

Summary: BuildRequires a pkg spec that contains glob characters

BuildRequires: python3dist(build[foo])

%description
This package is part of testing builddep

%files

%changelog
Loading