Skip to content

Commit

Permalink
perl-Test-Inter: Update Version from 1.09 -> 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
v-smalavathu committed Dec 31, 2024
1 parent 81fb40a commit 215a7ed
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"perl-Test-Inter-1.09.tar.gz": "1e9f129cc1a001fb95449d385253b38afabf5b466e3b3bd33e4e430f216e177a"
"Test-Inter-1.11.tar.gz": "2b9845212547cd6056753f87866d19368efc67c080146bcbb929a51ab055da37"
}
}
}
102 changes: 88 additions & 14 deletions SPECS-EXTENDED/perl-Test-Inter/perl-Test-Inter.spec
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
Name: perl-Test-Inter
Version: 1.09
Release: 5%{?dist}
Summary: Framework for more readable interactive test scripts
License: GPL+ or Artistic
Vendor: Microsoft Corporation
Distribution: Azure Linux
Name: perl-Test-Inter
Version: 1.11
Release: 3%{?dist}
Summary: Framework for more readable interactive test scripts
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Test-Inter
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz#/perl-Test-Inter-%{version}.tar.gz
# Remove dependencies on release tests that are skipped, proposed to upstream,
# <https://github.com/SBECK-github/Test-Inter/pull/3>
Patch0: Test-Inter-1.09-Do-not-require-release-test-dependencies.patch
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
Expand All @@ -31,26 +28,49 @@ BuildRequires: perl(Storable) >= 1.01
BuildRequires: perl(Test::More)
# Test::Pod 1.00 not used
# Test::Pod::Coverage 1.00 not used
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(lib)

%description
This is another framework for writing test scripts. It is loosely inspired
by Test::More, and has most of it's functionality, but it is not a drop-in
replacement.

%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness

%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".

%prep
%setup -q -n Test-Inter-%{version}
%patch 0 -p1
chmod -x examples/*
# Help generators to recognize Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F"
chmod +x "$F"
done

%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}

%install
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
rm -f %{buildroot}%{_libexecdir}/%{name}/t/_*
# Directory for libraries used in tests
mkdir %{buildroot}%{_libexecdir}/%{name}/lib
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%{_fixperms} %{buildroot}/*

%check
unset RELEASE_TESTING TI_END TI_MODE TI_NOCLEAN TI_QUIET TI_START TI_TESTNUM \
Expand All @@ -63,9 +83,63 @@ make test
%{perl_vendorlib}/*
%{_mandir}/man3/*

%files tests
%{_libexecdir}/%{name}

%changelog
* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 1.09-5
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
* Thu Dec 19 2024 Sreenivasulu Malavathula <[email protected]> - 1.11-3
- Initial Azure Linux import from Fedora 41 (license: MIT)
- License verified

* Fri Jul 19 2024 Fedora Release Engineering <[email protected]> - 1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Thu Feb 29 2024 Michal Josef Špaček <[email protected]> - 1.11-1
- 1.11 bump

* Thu Jan 25 2024 Fedora Release Engineering <[email protected]> - 1.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Sun Jan 21 2024 Fedora Release Engineering <[email protected]> - 1.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Fri Jul 21 2023 Fedora Release Engineering <[email protected]> - 1.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Thu Mar 09 2023 Michal Josef Špaček <[email protected]> - 1.10-1
- 1.10 bump

* Fri Jan 20 2023 Fedora Release Engineering <[email protected]> - 1.09-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Wed Dec 07 2022 Michal Josef Špaček <[email protected]> - 1.09-13
- Package tests
- Update license to SPDX format
- Use macros instead of variables

* Fri Jul 22 2022 Fedora Release Engineering <[email protected]> - 1.09-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Mon May 30 2022 Jitka Plesnikova <[email protected]> - 1.09-11
- Perl 5.36 rebuild

* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 1.09-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Fri Jul 23 2021 Fedora Release Engineering <[email protected]> - 1.09-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Fri May 21 2021 Jitka Plesnikova <[email protected]> - 1.09-8
- Perl 5.34 rebuild

* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 1.09-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Tue Jul 28 2020 Fedora Release Engineering <[email protected]> - 1.09-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Mon Jun 22 2020 Jitka Plesnikova <[email protected]> - 1.09-5
- Perl 5.32 rebuild

* Thu Jan 30 2020 Fedora Release Engineering <[email protected]> - 1.09-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19913,8 +19913,8 @@
"type": "other",
"other": {
"name": "perl-Test-Inter",
"version": "1.09",
"downloadUrl": "https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-1.09.tar.gz"
"version": "1.11",
"downloadUrl": "https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-1.11.tar.gz"
}
}
},
Expand Down

0 comments on commit 215a7ed

Please sign in to comment.