Compare commits
No commits in common. "c8s" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/Devel-StackTrace-2.03.tar.gz
|
||||
/Devel-StackTrace-2.05.tar.gz
|
||||
|
||||
@ -0,0 +1,38 @@
|
||||
diff -up Devel-StackTrace-2.05/t/01-basic.t.orig Devel-StackTrace-2.05/t/01-basic.t
|
||||
--- Devel-StackTrace-2.05/t/01-basic.t.orig 2024-07-23 14:28:23.297737233 +0200
|
||||
+++ Devel-StackTrace-2.05/t/01-basic.t 2024-07-23 14:31:14.792422763 +0200
|
||||
@@ -58,7 +58,7 @@ my $test_file_name = get_file_name();
|
||||
Trace begun at $test_file_name line 1009
|
||||
main::baz(1, 2) called at $test_file_name line 1005
|
||||
main::bar(1) called at $test_file_name line 1001
|
||||
-main::foo at $test_file_name line 13
|
||||
+main::foo at $test_file_name line 14
|
||||
EOF
|
||||
|
||||
is( $trace->as_string, $trace_text, 'trace text' );
|
||||
@@ -100,7 +100,7 @@ EOF
|
||||
|
||||
my $trace_text = <<"EOF";
|
||||
Trace begun at $test_file_name line 1009
|
||||
-main::baz at $test_file_name line 99
|
||||
+main::baz at $test_file_name line 100
|
||||
EOF
|
||||
|
||||
my $t = "$trace";
|
||||
@@ -308,14 +308,14 @@ if ( $Exception::Class::VERSION && $Exce
|
||||
|
||||
my $trace_text = <<"EOF";
|
||||
Trace begun at $test_file_name line 1021
|
||||
-main::max_arg_length('abcdefghij...') called at $test_file_name line 307
|
||||
+main::max_arg_length('abcdefghij...') called at $test_file_name line 308
|
||||
EOF
|
||||
|
||||
is( $trace->as_string, $trace_text, 'trace text' );
|
||||
|
||||
my $trace_text_1 = <<"EOF";
|
||||
Trace begun at $test_file_name line 1021
|
||||
-main::max_arg_length('abc...') called at $test_file_name line 307
|
||||
+main::max_arg_length('abc...') called at $test_file_name line 308
|
||||
EOF
|
||||
|
||||
is(
|
||||
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
# RHEL
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
@ -1,21 +1,13 @@
|
||||
Name: perl-Devel-StackTrace
|
||||
Summary: Perl module implementing stack trace and stack trace frame objects
|
||||
Version: 2.03
|
||||
Version: 2.05
|
||||
Epoch: 1
|
||||
Release: 2%{?dist}
|
||||
License: Artistic 2.0
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Devel-StackTrace/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz
|
||||
Release: 6%{?dist}
|
||||
License: Artistic-2.0
|
||||
URL: https://metacpan.org/release/Devel-StackTrace
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
# --with release_tests ... also check "RELEASE_TESTS".
|
||||
# Disabled by default
|
||||
%bcond_with release_tests
|
||||
|
||||
# --with author_tests ... also check "AUTHOR_TESTS".
|
||||
# Disabled by default
|
||||
%bcond_with author_tests
|
||||
Patch0: Devel-StackTrace-2.05-Fix-number-of-line-for-added-shebang.patch
|
||||
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: %{__perl}
|
||||
@ -23,54 +15,14 @@ BuildRequires: %{__make}
|
||||
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(bytes)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(IPC::Open3)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%if %{with release_tests}
|
||||
# for improved tests
|
||||
BuildRequires: perl(Exception::Class::Base)
|
||||
BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||
BuildRequires: perl(Test::CPAN::Changes)
|
||||
BuildRequires: perl(Test::EOL)
|
||||
BuildRequires: perl(Test::NoTabs)
|
||||
BuildRequires: perl(Test::Pod) > 1.41
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||
BuildRequires: perl(Test::Pod::LinkCheck)
|
||||
BuildRequires: perl(Test::Pod::No404s)
|
||||
BuildRequires: perl(Test::Portability::Files)
|
||||
BuildRequires: perl(Test::Synopsis)
|
||||
BuildRequires: perl(LWP::Protocol::https)
|
||||
%endif
|
||||
|
||||
%if %{with author_tests}
|
||||
BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||
BuildRequires: perl(Test::CPAN::Changes)
|
||||
BuildRequires: perl(Test::EOL)
|
||||
BuildRequires: perl(Test::NoTabs)
|
||||
BuildRequires: perl(Test::Pod) > 1.41
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||
BuildRequires: perl(Test::Spelling) >= 0.12
|
||||
BuildRequires: perl(Test::Synopsis)
|
||||
# N/A in Fedora: BuildRequires: perl(Code::TidyAll::Plugin::SortLines::Naturally) >= 0.000003
|
||||
BuildRequires: perl(Code::TidyAll::Plugin::Test::Vars) >= 0.02
|
||||
BuildRequires: perl(Parallel::ForkManager) >= 1.19
|
||||
BuildRequires: perl(Perl::Critic) >= 1.126
|
||||
BuildRequires: perl(Perl::Tidy) >= 20160302
|
||||
BuildRequires: perl(Test::CPAN::Meta::JSON) >= 0.16
|
||||
BuildRequires: perl(Test::Code::TidyAll) >= 0.50
|
||||
BuildRequires: perl(Test::Mojibake)
|
||||
BuildRequires: perl(Test::Portability::Files)
|
||||
BuildRequires: perl(Test::Vars) >= 0.009
|
||||
BuildRequires: perl(Test::Version) >= 2.05
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Devel::StackTrace module contains two classes, Devel::StackTrace
|
||||
@ -82,19 +34,43 @@ The Devel::StackTrace object contains a set of Devel::StackTraceFrame
|
||||
objects, one for each level of the stack. The frames contain all the
|
||||
data available from caller() as of Perl 5.6.0.
|
||||
|
||||
%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 Devel-StackTrace-%{version}
|
||||
%patch -P0 -p1
|
||||
# Help generators to recognize Perl scripts
|
||||
for F in t/*.t; do
|
||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||
chmod +x "$F"
|
||||
done
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
%{make_install}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
# Install tests
|
||||
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||
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
|
||||
|
||||
%check
|
||||
%{__make} test %{?with_release_tests:RELEASE_TESTING=1} %{?with_author_tests:AUTHOR_TESTING=1}
|
||||
%{__make} test
|
||||
|
||||
%files
|
||||
%doc Changes
|
||||
@ -102,7 +78,89 @@ make %{?_smp_mflags}
|
||||
%{perl_vendorlib}/Devel
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:2.05-6
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Tue Jul 23 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.05-5
|
||||
- Package tests
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:2.05-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.05-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.05-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Tue Jan 09 2024 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.05-1
|
||||
- Upstream update.
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Mon Nov 28 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.04-14
|
||||
- Modernize spec.
|
||||
- Convert license to SPDX.
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.04-12
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.04-9
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.04-6
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.04-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.04-3
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Tue May 28 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.04-2
|
||||
- Fix bogus %%changelog entry.
|
||||
|
||||
* Tue May 28 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:2.04-1
|
||||
- Update to 2.04.
|
||||
- Remove release_tests (Dropped by upstream).
|
||||
- Remove author_tests (Avoid packaging bloat).
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.03-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.03-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.03-3
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.03-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
||||
5
plans/sanity.fmf
Normal file
5
plans/sanity.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Sanity tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (Devel-StackTrace-2.03.tar.gz) = a5263ec76f5adb83b83cc4906c18d6c341f50472a254617882a889315597698968988be1bacbbb4c6c0709974ff4ba67a14835d3c2278d672219c52e4c823514
|
||||
SHA512 (Devel-StackTrace-2.05.tar.gz) = 070f95e731a7ac07a19f0ae0a4dbe04ae2ee72e43c34363e57c2336c856ec2f7fc055ae9fec6b8ee85ca06d6b5558a891a1a6df62c7d1b60493b22be38a020b8
|
||||
|
||||
12
tests/upstream-tests.fmf
Normal file
12
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,12 @@
|
||||
summary: Upstream tests
|
||||
contact: Jitka Plesnikova <jplesnik@redhat.com>
|
||||
component: perl-Devel-StackTrace
|
||||
require: perl-Devel-StackTrace-tests
|
||||
test: /usr/libexec/perl-Devel-StackTrace/test
|
||||
enabled: true
|
||||
tag:
|
||||
- rhel-buildroot
|
||||
adjust:
|
||||
- enabled: false
|
||||
when: distro < rhel-10 or distro < centos-stream-10
|
||||
continue: false
|
||||
Loading…
Reference in New Issue
Block a user