8
0
Files
perl-Devel-NYTProf/perl-Devel-NYTProf.spec

119 lines
3.8 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-Devel-NYTProf
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Devel-NYTProf
Name: perl-Devel-NYTProf
Accepting request 1120562 from devel:languages:perl:autoupdate - updated to 6.14 see /usr/share/doc/packages/perl-Devel-NYTProf/Changes =head2 Changes in Devel::NYTProf 6.14 - 18th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. More build-time warnings using recent versions of C compilers have been eliminated, particularly with recent production releases of Perl. Thanks to Karl Williamson for guidance on updating F<ppport.h> and using it to update F<NYTProf.xs>. =head2 Changes in Devel::NYTProf 6.13 - 10th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. The largest difference in the distribution is the removal of the F<nytprofpf> program (L<GH 206|https://github.com/timbunce/devel-nytprof/pull/206>). This program was written for an open-source software competition which is no longer being held. Other changes include: Removal of remaining reference to Travis CI (L<GH 202|https://github.com/timbunce/devel-nytprof/pull/202>). Elimination of 'bad-function-cast' warnings during 'make' (L<GH 205|https://github.com/timbunce/devel-nytprof/pull/205>). Correction of typographic error in F<nytprofhtml> thanks to Amory Meltzer (L<GH 210|https://github.com/timbunce/devel-nytprof/pull/210>). Depending on Per version, skip one test file that was exercising 'given' and 'when' keywords (now deprecated) (L<GH 211|https://github.com/timbunce/devel-nytprof/pull/211>). Elimination of the 'register' keyword from NYTProf.xs (partial resolution of L<GH 191|https://github.com/timbunce/devel-nytprof/issues/191>) which is forbidden as of ISO C++17. OBS-URL: https://build.opensuse.org/request/show/1120562 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-NYTProf?expand=0&rev=35
2023-10-27 21:12:15 +00:00
Version: 6.140.0
Release: 0
Accepting request 1120562 from devel:languages:perl:autoupdate - updated to 6.14 see /usr/share/doc/packages/perl-Devel-NYTProf/Changes =head2 Changes in Devel::NYTProf 6.14 - 18th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. More build-time warnings using recent versions of C compilers have been eliminated, particularly with recent production releases of Perl. Thanks to Karl Williamson for guidance on updating F<ppport.h> and using it to update F<NYTProf.xs>. =head2 Changes in Devel::NYTProf 6.13 - 10th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. The largest difference in the distribution is the removal of the F<nytprofpf> program (L<GH 206|https://github.com/timbunce/devel-nytprof/pull/206>). This program was written for an open-source software competition which is no longer being held. Other changes include: Removal of remaining reference to Travis CI (L<GH 202|https://github.com/timbunce/devel-nytprof/pull/202>). Elimination of 'bad-function-cast' warnings during 'make' (L<GH 205|https://github.com/timbunce/devel-nytprof/pull/205>). Correction of typographic error in F<nytprofhtml> thanks to Amory Meltzer (L<GH 210|https://github.com/timbunce/devel-nytprof/pull/210>). Depending on Per version, skip one test file that was exercising 'given' and 'when' keywords (now deprecated) (L<GH 211|https://github.com/timbunce/devel-nytprof/pull/211>). Elimination of the 'register' keyword from NYTProf.xs (partial resolution of L<GH 191|https://github.com/timbunce/devel-nytprof/issues/191>) which is forbidden as of ISO C++17. OBS-URL: https://build.opensuse.org/request/show/1120562 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-NYTProf?expand=0&rev=35
2023-10-27 21:12:15 +00:00
%define cpan_version 6.14
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Powerful fast feature-rich Perl source code profiler
URL: https://metacpan.org/release/%{cpan_name}
Accepting request 1120562 from devel:languages:perl:autoupdate - updated to 6.14 see /usr/share/doc/packages/perl-Devel-NYTProf/Changes =head2 Changes in Devel::NYTProf 6.14 - 18th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. More build-time warnings using recent versions of C compilers have been eliminated, particularly with recent production releases of Perl. Thanks to Karl Williamson for guidance on updating F<ppport.h> and using it to update F<NYTProf.xs>. =head2 Changes in Devel::NYTProf 6.13 - 10th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. The largest difference in the distribution is the removal of the F<nytprofpf> program (L<GH 206|https://github.com/timbunce/devel-nytprof/pull/206>). This program was written for an open-source software competition which is no longer being held. Other changes include: Removal of remaining reference to Travis CI (L<GH 202|https://github.com/timbunce/devel-nytprof/pull/202>). Elimination of 'bad-function-cast' warnings during 'make' (L<GH 205|https://github.com/timbunce/devel-nytprof/pull/205>). Correction of typographic error in F<nytprofhtml> thanks to Amory Meltzer (L<GH 210|https://github.com/timbunce/devel-nytprof/pull/210>). Depending on Per version, skip one test file that was exercising 'given' and 'when' keywords (now deprecated) (L<GH 211|https://github.com/timbunce/devel-nytprof/pull/211>). Elimination of the 'register' keyword from NYTProf.xs (partial resolution of L<GH 191|https://github.com/timbunce/devel-nytprof/issues/191>) which is forbidden as of ISO C++17. OBS-URL: https://build.opensuse.org/request/show/1120562 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-NYTProf?expand=0&rev=35
2023-10-27 21:12:15 +00:00
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
2025-08-12 18:13:29 +02:00
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(File::Which) >= 1.09
BuildRequires: perl(JSON::MaybeXS)
BuildRequires: perl(Sub::Name) >= 0.11
BuildRequires: perl(Test::Differences) >= 0.60
BuildRequires: perl(Test::More) >= 0.84
Requires: perl(File::Which) >= 1.09
Requires: perl(JSON::MaybeXS)
Accepting request 1120562 from devel:languages:perl:autoupdate - updated to 6.14 see /usr/share/doc/packages/perl-Devel-NYTProf/Changes =head2 Changes in Devel::NYTProf 6.14 - 18th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. More build-time warnings using recent versions of C compilers have been eliminated, particularly with recent production releases of Perl. Thanks to Karl Williamson for guidance on updating F<ppport.h> and using it to update F<NYTProf.xs>. =head2 Changes in Devel::NYTProf 6.13 - 10th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. The largest difference in the distribution is the removal of the F<nytprofpf> program (L<GH 206|https://github.com/timbunce/devel-nytprof/pull/206>). This program was written for an open-source software competition which is no longer being held. Other changes include: Removal of remaining reference to Travis CI (L<GH 202|https://github.com/timbunce/devel-nytprof/pull/202>). Elimination of 'bad-function-cast' warnings during 'make' (L<GH 205|https://github.com/timbunce/devel-nytprof/pull/205>). Correction of typographic error in F<nytprofhtml> thanks to Amory Meltzer (L<GH 210|https://github.com/timbunce/devel-nytprof/pull/210>). Depending on Per version, skip one test file that was exercising 'given' and 'when' keywords (now deprecated) (L<GH 211|https://github.com/timbunce/devel-nytprof/pull/211>). Elimination of the 'register' keyword from NYTProf.xs (partial resolution of L<GH 191|https://github.com/timbunce/devel-nytprof/issues/191>) which is forbidden as of ISO C++17. OBS-URL: https://build.opensuse.org/request/show/1120562 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-NYTProf?expand=0&rev=35
2023-10-27 21:12:15 +00:00
Provides: perl(Devel::NYTProf) = 6.140.0
Provides: perl(Devel::NYTProf::Apache) = 6.140.0
Provides: perl(Devel::NYTProf::Constants)
Provides: perl(Devel::NYTProf::Core) = 6.140.0
Provides: perl(Devel::NYTProf::Data) = 6.140.0
Provides: perl(Devel::NYTProf::FileHandle)
Provides: perl(Devel::NYTProf::FileInfo)
Provides: perl(Devel::NYTProf::ReadStream) = 6.140.0
Provides: perl(Devel::NYTProf::Reader) = 6.140.0
Provides: perl(Devel::NYTProf::Run)
Provides: perl(Devel::NYTProf::SubCallInfo)
Provides: perl(Devel::NYTProf::SubInfo)
Provides: perl(Devel::NYTProf::Util) = 6.140.0
%undefine __perllib_provides
%{perl_requires}
%description
Devel::NYTProf is a powerful, fast, feature-rich perl source code profiler.
* Performs per-line statement profiling for fine detail
* Performs per-subroutine statement profiling for overview
* Performs per-opcode profiling for slow perl builtins
* Performs per-block statement profiling (the first profiler to do so)
* Accounts correctly for time spent after calls return
* Performs inclusive and exclusive timing of subroutines
* Subroutine times are per calling location (a powerful feature)
* Can profile compile-time activity, just run-time, or just END time
* Uses novel techniques for efficient profiling
* Sub-microsecond (100ns) resolution on supported systems
* Very fast - the fastest statement and subroutine profilers for perl
* Handles applications that fork, with no performance cost
* Immune from noise caused by profiling overheads and I/O
* Program being profiled can stop/start the profiler
* Generates richly annotated and cross-linked html reports
* Captures source code, including string evals, for stable results
* Trivial to use with mod_perl - add one line to httpd.conf
* Includes an extensive test suite
* Tested on very large codebases
NYTProf is effectively two profilers in one: a statement profiler, and a
subroutine profiler.
%prep
Accepting request 1120562 from devel:languages:perl:autoupdate - updated to 6.14 see /usr/share/doc/packages/perl-Devel-NYTProf/Changes =head2 Changes in Devel::NYTProf 6.14 - 18th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. More build-time warnings using recent versions of C compilers have been eliminated, particularly with recent production releases of Perl. Thanks to Karl Williamson for guidance on updating F<ppport.h> and using it to update F<NYTProf.xs>. =head2 Changes in Devel::NYTProf 6.13 - 10th Oct 2023 B<There should be no significant differences in the performance of Devel-NYTProf from that of the previous release.> This release is primarily maintenance- focused. The largest difference in the distribution is the removal of the F<nytprofpf> program (L<GH 206|https://github.com/timbunce/devel-nytprof/pull/206>). This program was written for an open-source software competition which is no longer being held. Other changes include: Removal of remaining reference to Travis CI (L<GH 202|https://github.com/timbunce/devel-nytprof/pull/202>). Elimination of 'bad-function-cast' warnings during 'make' (L<GH 205|https://github.com/timbunce/devel-nytprof/pull/205>). Correction of typographic error in F<nytprofhtml> thanks to Amory Meltzer (L<GH 210|https://github.com/timbunce/devel-nytprof/pull/210>). Depending on Per version, skip one test file that was exercising 'given' and 'when' keywords (now deprecated) (L<GH 211|https://github.com/timbunce/devel-nytprof/pull/211>). Elimination of the 'register' keyword from NYTProf.xs (partial resolution of L<GH 191|https://github.com/timbunce/devel-nytprof/issues/191>) which is forbidden as of ISO C++17. OBS-URL: https://build.opensuse.org/request/show/1120562 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-NYTProf?expand=0&rev=35
2023-10-27 21:12:15 +00:00
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes HACKING README.md
%changelog