commit 2c378aac156654116092b5747087ede6264c1701
Author: Paul Howarth <p...@city-fan.org>
Date:   Tue Jan 6 14:13:09 2015 +0000

    Update to 0.07
    
    - New upstream release 0.07
      - Perl 5.22 exports POSIX::round, so "use POSIX" had to be changed to
        "use POSIX ()"
    - Classify buildreqs by usage
    - Drop %defattr, redundant since rpm 4.4
    - Don't need to remove empty directories from the buildroot

 perl-Math-Round.spec |   26 ++++++++++++++++++++------
 sources              |    2 +-
 2 files changed, 21 insertions(+), 7 deletions(-)
---
diff --git a/perl-Math-Round.spec b/perl-Math-Round.spec
index 0966b07..85d735e 100644
--- a/perl-Math-Round.spec
+++ b/perl-Math-Round.spec
@@ -1,6 +1,6 @@
 Name:           perl-Math-Round
-Version:        0.06
-Release:        20%{?dist}
+Version:        0.07
+Release:        1%{?dist}
 Summary:        Perl extension for rounding numbers
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -9,10 +9,18 @@ Source0:        
http://search.cpan.org/CPAN/authors/id/G/GR/GROMMEL/Math-Round-%
 Patch0:         Math-Round-0.06-utf8.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
+# Module Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Module Runtime
 BuildRequires:  perl(AutoLoader)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(POSIX)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Test Suite
+# (no additional dependencies)
+# Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(AutoLoader)
 
@@ -38,7 +46,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}
 
 %check
@@ -48,13 +55,20 @@ make test
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/auto/Math/
 %{perl_vendorlib}/Math/
-%{_mandir}/man3/Math::Round.3pm*
+%{_mandir}/man3/Math::Round.3*
 
 %changelog
+* Tue Jan  6 2015 Paul Howarth <p...@city-fan.org> - 0.07-1
+- Update to 0.07
+  - Perl 5.22 exports POSIX::round, so "use POSIX" had to be changed to
+    "use POSIX ()"
+- Classify buildreqs by usage
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+
 * Wed Aug 27 2014 Jitka Plesnikova <jples...@redhat.com> - 0.06-20
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 1a324fb..16ce068 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-552cef2753b246f97a6e20d8dee66e7c  Math-Round-0.06.tar.gz
+b74c5d2a3f891c19dafd7ce638732fd1  Math-Round-0.07.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to