Skip to content

Commit f5dfbcb

Browse files
authored
Upgrade: perl-Term-UI version to 0.50 (#12801)
1 parent 7435ba5 commit f5dfbcb

3 files changed

Lines changed: 17 additions & 16 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"perl-Term-UI-0.46.tar.gz": "91946c80d7f4aab0ca4bfedc3bbe0a75b37cab1a29bd7bca3b3b7456d417e9a6"
3+
"Term-UI-0.50.tar.gz": "60bfdd6d4c158b88d370133fc65b20485a36a45b12d906000b81c78ca524163d"
44
}
55
}

SPECS-EXTENDED/perl-Term-UI/perl-Term-UI.spec

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
Vendor: Microsoft Corporation
22
Distribution: Azure Linux
33
Name: perl-Term-UI
4-
Version: 0.46
5-
Release: 16%{?dist}
4+
Version: 0.50
5+
Release: 1%{?dist}
66
Summary: Term::ReadLine user interface made easy
7-
License: GPL+ or Artistic
7+
License: GPL-1.0-or-later OR Artistic-1.0-Perl
88
URL: https://metacpan.org/release/Term-UI
9-
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Term-UI-%{version}.tar.gz#/perl-Term-UI-%{version}.tar.gz
9+
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Term-UI-%{version}.tar.gz
1010
BuildArch: noarch
11+
BuildRequires: make
1112
BuildRequires: perl-interpreter
1213
BuildRequires: perl-generators
1314
BuildRequires: perl(ExtUtils::MakeMaker)
1415
BuildRequires: perl(strict)
1516
# Run-time:
1617
BuildRequires: perl(base)
1718
BuildRequires: perl(Carp)
18-
%if 0%(perl -e 'print $] > 5.017')
1919
BuildRequires: perl(deprecate)
20-
%endif
2120
BuildRequires: perl(Exporter)
2221
BuildRequires: perl(if)
2322
BuildRequires: perl(Locale::Maketext::Simple)
@@ -30,10 +29,9 @@ BuildRequires: perl(vars)
3029
BuildRequires: perl(File::Spec)
3130
BuildRequires: perl(lib)
3231
BuildRequires: perl(Test::More) >= 0.31
33-
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
34-
%if 0%(perl -e 'print $] > 5.017')
3532
Requires: perl(deprecate)
36-
%endif
33+
Requires: perl(Exporter)
34+
Requires: perl(Log::Message::Simple)
3735

3836
%description
3937
Term::UI is a transparent way of eliminating the overhead of having to
@@ -44,13 +42,12 @@ answer was not proper and re-issuing the question.
4442
%setup -q -n Term-UI-%{version}
4543

4644
%build
47-
perl Makefile.PL INSTALLDIRS=vendor
45+
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
4846
make %{?_smp_mflags}
4947

5048
%install
51-
make pure_install DESTDIR=$RPM_BUILD_ROOT
52-
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
53-
%{_fixperms} $RPM_BUILD_ROOT/*
49+
%{make_install}
50+
%{_fixperms} %{buildroot}/*
5451

5552
%check
5653
make test
@@ -61,6 +58,10 @@ make test
6158
%{_mandir}/man3/*
6259

6360
%changelog
61+
* Mon Feb 27 2025 Sumit Jena <v-sumitjena@microsoft.com> - 0.50-1
62+
- Update to version 0.50
63+
- License verified
64+
6465
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.46-16
6566
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
6667

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19913,8 +19913,8 @@
1991319913
"type": "other",
1991419914
"other": {
1991519915
"name": "perl-Term-UI",
19916-
"version": "0.46",
19917-
"downloadUrl": "https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Term-UI-0.46.tar.gz"
19916+
"version": "0.50",
19917+
"downloadUrl": "https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Term-UI-0.50.tar.gz"
1991819918
}
1991919919
}
1992019920
},

0 commit comments

Comments
 (0)