Resolves: RHEL-43260 - Update to 3.21

This commit is contained in:
Jitka Plesnikova 2024-06-18 17:16:34 +02:00
parent ebdf3058c0
commit dd301325bf
5 changed files with 40 additions and 10 deletions

BIN
Encode-3.21.tar.gz Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/internal.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/sanity.functional}

View File

@ -1,6 +1,6 @@
# Because encoding sub-package has an independent version, version macro gets
# redefined.
%global cpan_version 3.20
%global cpan_version 3.21
Name: perl-Encode
Epoch: 4
Version: %{cpan_version}
@ -8,14 +8,16 @@ Version: %{cpan_version}
# perl-encoding sub-package has independent version which does not change
# often and consecutive builds would clash on perl-encoding NEVRA. This is the
# same case as in perl.spec.
Release: 503%{?dist}
Release: 504%{?dist}
Summary: Character encodings in Perl
# ucm: UCD
# ucm: license in this repository can be ingored based on
# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/30#note_1435176617
# bin/encguess: Artistic-2.0
# other files: GPL-1.0-or-later OR Artistic-1.0-Perl
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Artistic-2.0 AND UCD
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Artistic-2.0
URL: https://metacpan.org/release/Encode
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/Encode-%{cpan_version}.tar.gz
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
@ -114,7 +116,7 @@ The easiest and the best alternative is to write your script in UTF-8.
%package devel
Summary: Perl Encode Module Generator
Version: %{cpan_version}
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND UCD
License: GPL-1.0-or-later OR Artistic-1.0-Perl
Requires: %{name}%{?_isa} = %{epoch}:%{cpan_version}-%{release}
Recommends: perl-devel%{?_isa}
Requires: perl(Encode)
@ -214,6 +216,10 @@ make test
%{_libexecdir}/%{name}
%changelog
* Tue Jun 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 4:3.21-504
- Resolves: RHEL-43260 - Update to 3.21
- Update License tag
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:3.20-503
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

12
plans/internal.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: Private (RHEL) beakerlib tests
enabled: false
adjust:
- when: distro == rhel
enabled: true
because: private tests are accesible only within rhel pipline
discover:
- name: rhel
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/perl-Encode
execute:
how: tmt

View File

@ -1,4 +1,16 @@
summary: Upstream tests
contact: Jitka Plesnikova <jplesnik@redhat.com>
component: perl-Encode
require: perl-Encode-tests
require:
- perl-Encode-tests
test: /usr/libexec/perl-Encode/test
enabled: true
tag:
- rhel-buildroot
- TestCaseCopy
- Tier1
tier: '1'
adjust:
- enabled: false
when: distro < rhel-10 or distro < centos-stream-10
continue: false