[perl-Module-Used] 1.3.0 bump

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

 



commit 5cf92e74ccd7f06a7e57ca031f09490bf10ae722
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Feb 18 15:12:38 2015 +0100

    1.3.0 bump

 .gitignore            |    1 +
 perl-Module-Used.spec |   49 +++++++++++++++++++++++++++++++------------------
 sources               |    2 +-
 3 files changed, 33 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 12059fc..c9cf846 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Module-Used-v1.2.0.tar.gz
+/Module-Used-v1.3.0.tar.gz
diff --git a/perl-Module-Used.spec b/perl-Module-Used.spec
index 9d43e1e..d229f4a 100644
--- a/perl-Module-Used.spec
+++ b/perl-Module-Used.spec
@@ -1,21 +1,39 @@
 Name:           perl-Module-Used
-Version:        1.2.0
-Release:        15%{?dist}
+Version:        1.3.0
+Release:        1%{?dist}
 Summary:        Find modules loaded by Perl code without running it
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Module-Used/
 Source0:        http://www.cpan.org/authors/id/E/EL/ELLIOTJS/Module-Used-v%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl(File::Next) >= 1.02
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(English)
 BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(PPI::Document) >= 1.203
-BuildRequires:  perl(Readonly) >= 1.03
+BuildRequires:  perl(strict)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(Const::Fast)
+BuildRequires:  perl(Exporter) >= 5.57
+# Unused BuildRequires:  perl(File::Next) >= 1.02
+BuildRequires:  perl(Module::Path) >= 0.01
+BuildRequires:  perl(PPI::Document) >= 1.205
+# Tests only
 BuildRequires:  perl(Test::Deep) >= 0.098
 BuildRequires:  perl(Test::More) >= 0.72
 BuildRequires:  perl(version) >= 0.74
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires:       perl(Exporter) >= 5.57
+Requires:       perl(File::Next) >= 1.02
+Requires:       perl(Module::Path) >= 0.01
+Requires:       perl(PPI::Document) >= 1.205
+
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Exporter\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Next\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Path\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(PPI::Document\\)$
 
 %description
 Modules are found statically based upon use and require statements. If use
@@ -28,25 +46,17 @@ modules listed in parentheses.
 %setup -q -n Module-Used-v%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}/*
 
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_bindir}/*
@@ -54,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Wed Feb 18 2015 Petr Šabata <contyk@xxxxxxxxxx> - 1.3.0-1
+- 1.3.0 bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.2.0-15
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 8e033d7..e2875f1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ba3421bb8f990f1729b8e2ad7fa233dc  Module-Used-v1.2.0.tar.gz
+50d0fee5df0ae821e93793203b44f376  Module-Used-v1.3.0.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