[perl-Sub-Uplevel] 0.24 bump

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

 



commit 4ed1953719db1640a933c141b318a63be9b2b1bb
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Jun 11 14:41:53 2012 +0200

    0.24 bump

 .gitignore            |    1 +
 perl-Sub-Uplevel.spec |   45 ++++++++++++++++++++++++---------------------
 sources               |    2 +-
 3 files changed, 26 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c229b4b..012991d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Sub-Uplevel-0.22.tar.gz
+/Sub-Uplevel-0.24.tar.gz
diff --git a/perl-Sub-Uplevel.spec b/perl-Sub-Uplevel.spec
index c4258ed..80d39a1 100644
--- a/perl-Sub-Uplevel.spec
+++ b/perl-Sub-Uplevel.spec
@@ -1,19 +1,25 @@
 Name:           perl-Sub-Uplevel
 Summary:        Apparently run a function in a higher stack frame
 Epoch:          1
-Version:        0.22
-Release:        7%{?dist}
+Version:        0.24
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/Sub-Uplevel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+# Run-time:
 BuildRequires:  perl(Carp)
-BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Test::More) >= 0.47
+BuildRequires:  perl(constant)
+# Tests:
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More)
+# Optional:
+BuildRequires:  perl(Test::Script) >= 1.05
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Carp)
 
 %{?perl_default_filter}
 
@@ -26,30 +32,27 @@ are avoided.
 %setup -q -n Sub-Uplevel-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %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/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+%{_fixperms} %{buildroot}/*
 
 %check
-./Build test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README Todo examples/
+%doc Changes LICENSE README README.PATCHING examples/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jun 11 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1:0.24-1
+- 0.24 bump
+
 * Mon Jun 11 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1:0.22-7
 - Perl 5.16 rebuild
 
diff --git a/sources b/sources
index 70a8cbb..0f1c991 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c166738a97c0424a0075ebe205d285db  Sub-Uplevel-0.22.tar.gz
+bea4037e8b2a0df563e25e6e44cb2e73  Sub-Uplevel-0.24.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