Resolves: RHEL-36310 - Filter provides from sub-package tests
This commit is contained in:
parent
4fa41e77bb
commit
528662258f
@ -14,3 +14,10 @@ decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
|
||||
@ -2,7 +2,7 @@ Name: perl-Pod-Usage
|
||||
# Compete with perl.spec's epoch
|
||||
Epoch: 4
|
||||
Version: 2.03
|
||||
Release: 503%{?dist}
|
||||
Release: 504%{?dist}
|
||||
Summary: Print a usage message from embedded POD documentation
|
||||
# License clarification CPAN RT#102529
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
@ -51,6 +51,7 @@ Requires: perl(Pod::Text) >= 4
|
||||
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude|%{__requires_exclude}|}^perl\\(File::Spec\\)$
|
||||
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
|
||||
|
||||
%description
|
||||
pod2usage will print a usage message for the invoking script (using its
|
||||
@ -130,6 +131,10 @@ make test
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed May 15 2024 Jitka Plesnikova <jplesnik@redhat.com> - 4:2.03-504
|
||||
- Filter provides from sub-package tests
|
||||
- Resolves: RHEL-36310
|
||||
|
||||
* Wed Feb 07 2024 Jitka Plesnikova <jplesnik@redhat.com> - 4:2.03-503
|
||||
- Package tests
|
||||
|
||||
|
||||
18
tests/RHEL-36310-Filter-provides-from-tests.fmf
Normal file
18
tests/RHEL-36310-Filter-provides-from-tests.fmf
Normal file
@ -0,0 +1,18 @@
|
||||
summary: Verify that sub-package tests doesn't provides perl(Pod::Usage)
|
||||
contact: Jitka Plesnikova <jplesnik@redhat.com>
|
||||
component:
|
||||
- perl-Pod-Usage
|
||||
require:
|
||||
- perl-Pod-Usage-tests
|
||||
test: if `rpm -qP perl-Pod-Usage-tests | grep -q 'perl(Pod::Usage)'` ; then echo 1; else echo 0; fi
|
||||
framework: shell
|
||||
enabled: true
|
||||
tag:
|
||||
- rhel-buildroot
|
||||
- TestCaseCopy
|
||||
- Tier1
|
||||
tier: '1'
|
||||
adjust:
|
||||
- enabled: false
|
||||
when: distro < rhel-10 or distro < centos-stream-10
|
||||
continue: false
|
||||
@ -1,4 +1,15 @@
|
||||
summary: Upstream tests
|
||||
contact: Jitka Plesnikova <jplesnik@redhat.com>
|
||||
component: perl-Pod-Usage
|
||||
require: perl-Pod-Usage-tests
|
||||
test: /usr/libexec/perl-Pod-Usage/test
|
||||
enabled: true
|
||||
tag:
|
||||
- rhel-buildroot
|
||||
- TestCaseCopy
|
||||
- Tier1
|
||||
tier: '1'
|
||||
adjust:
|
||||
- enabled: false
|
||||
when: distro < rhel-10 or distro < centos-stream-10
|
||||
continue: false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user