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 --- !Policy
product_versions: product_versions:
- fedora-* - rhel-*
decision_context: bodhi_update_push_stable decision_context: osci_compose_gate
subject_type: koji_build
rules: 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 # Because encoding sub-package has an independent version, version macro gets
# redefined. # redefined.
%global cpan_version 3.20 %global cpan_version 3.21
Name: perl-Encode Name: perl-Encode
Epoch: 4 Epoch: 4
Version: %{cpan_version} Version: %{cpan_version}
@ -8,14 +8,16 @@ Version: %{cpan_version}
# perl-encoding sub-package has independent version which does not change # perl-encoding sub-package has independent version which does not change
# often and consecutive builds would clash on perl-encoding NEVRA. This is the # often and consecutive builds would clash on perl-encoding NEVRA. This is the
# same case as in perl.spec. # same case as in perl.spec.
Release: 503%{?dist} Release: 504%{?dist}
Summary: Character encodings in Perl 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 # bin/encguess: Artistic-2.0
# other files: GPL-1.0-or-later OR Artistic-1.0-Perl # 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 URL: https://metacpan.org/release/Encode
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/Encode-%{cpan_version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/Encode-%{cpan_version}.tar.gz
BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
@ -114,7 +116,7 @@ The easiest and the best alternative is to write your script in UTF-8.
%package devel %package devel
Summary: Perl Encode Module Generator Summary: Perl Encode Module Generator
Version: %{cpan_version} 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} Requires: %{name}%{?_isa} = %{epoch}:%{cpan_version}-%{release}
Recommends: perl-devel%{?_isa} Recommends: perl-devel%{?_isa}
Requires: perl(Encode) Requires: perl(Encode)
@ -214,6 +216,10 @@ make test
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%changelog %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 * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:3.20-503
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - 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 summary: Upstream tests
contact: Jitka Plesnikova <jplesnik@redhat.com>
component: perl-Encode component: perl-Encode
require: perl-Encode-tests require:
- perl-Encode-tests
test: /usr/libexec/perl-Encode/test 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