[perl-Devel-NYTProf] 5.07 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 3e7548a1a347d95ffdfd324c921c7d3694c62d34
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Fri Mar 20 18:04:33 2015 +0100

    5.07 bump
    
    - Modernize the spec and fix the dependency list

 .gitignore              |  1 +
 perl-Devel-NYTProf.spec | 75 +++++++++++++++++++++++++++++++------------------
 sources                 |  2 +-
 3 files changed, 50 insertions(+), 28 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 38798d1..28a77a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ Devel-NYTProf-4.04.tar.gz
 /Devel-NYTProf-5.00.tar.gz
 /Devel-NYTProf-5.05.tar.gz
 /Devel-NYTProf-5.06.tar.gz
+/Devel-NYTProf-5.07.tar.gz
diff --git a/perl-Devel-NYTProf.spec b/perl-Devel-NYTProf.spec
index 4665bb2..0d4c95c 100644
--- a/perl-Devel-NYTProf.spec
+++ b/perl-Devel-NYTProf.spec
@@ -1,35 +1,56 @@
 Name:           perl-Devel-NYTProf
-Version:        5.06
-Release:        3%{?dist}
+Version:        5.07
+Release:        1%{?dist}
 Summary:        Powerful feature-rich perl source code profiler
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Devel-NYTProf/
 Source0:        http://www.cpan.org/authors/id/T/TI/TIMB/Devel-NYTProf-%{version}.tar.gz
 BuildRequires:  zlib-devel
-BuildRequires:  perl(AutoLoader)
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+# Unused BuildRequires:  perl(ActiveState::Browser)
+# Unused BuildRequires:  perl(Apache)
+BuildRequires:  perl(base)
+# Unused BuildRequires:  perl(Browser::Open)
 BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Cwd)
 BuildRequires:  perl(Data::Dumper)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(File::Copy)
-BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Path)
-BuildRequires:  perl(File::Temp)
-BuildRequires:  perl(Getopt::Long)
-BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(File::Spec)
+# Unused BuildRequires:  perl(JSON::Any)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(List::Util)
-# currently a developer-only test
-#BuildRequires:  perl(Moose)
 BuildRequires:  perl(Scalar::Util)
-BuildRequires:  perl(Sub::Name)
+BuildRequires:  perl(XSLoader)
+# Tests only
+BuildRequires:  perl(AutoLoader)
+BuildRequires:  perl(AutoSplit)
+# Unused BuildRequires:  perl(BSD::Resource)
+BuildRequires:  perl(ExtUtils::testlib)
+BuildRequires:  perl(feature)
+BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Test::Differences)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
-
-# not automatically detected
-Requires:       perl(JSON::Any)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(vars)
+# Optional tests only
+BuildRequires:  perl(Sub::Name) >= 0.11
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+# Unneded Requires:       perl(Apache)
+# Optional Requires:       perl(Browser::Open)
+# Optional Requires:       perl(JSON::Any)
 
 %{?perl_default_filter}
 
@@ -40,25 +61,21 @@ Devel::NYTProf is a powerful feature-rich perl source code profiler.
 %setup -q -n Devel-NYTProf-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
 # remove duplicate installed lib in wrong location
-rm -rf $RPM_BUILD_ROOT/%{perl_vendorarch}/Devel/auto/
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+rm -rf %{buildroot}/%{perl_vendorarch}/Devel/auto/
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc Changes HACKING demo
+%doc Changes HACKING demo README.md
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Devel*
 %{_bindir}/*
@@ -66,6 +83,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Mar 20 2015 Petr Šabata <contyk@xxxxxxxxxx> - 5.07-1
+- 5.07 bump
+- Modernize the spec and fix the dependency list
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 5.06-3
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index ed0dbd2..5244cc9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-45e83ef96fac392ab141959d8c1a75dd  Devel-NYTProf-5.06.tar.gz
+f96326e95be854d49bd7e53085917273  Devel-NYTProf-5.07.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux