[perl-DateTime-Event-ICal] Update to 0.11

Paul Howarth pghmcfc at fedoraproject.org
Thu Oct 3 11:19:33 UTC 2013


commit ad5a80dcd2b815587ed9cdce30635e62d528a143
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Oct 3 12:18:38 2013 +0100

    Update to 0.11
    
    - New upstream release 0.11
      - Performance improvement
    - Specify all dependencies
    - Drop %defattr, redundant since rpm 4.4
    - Make %files list more explicit
    - Don't need to remove empty directories from the buildroot
    - Don't use macros for commands

 .gitignore                    |    1 +
 perl-DateTime-Event-ICal.spec |   47 +++++++++++++++++++++++++++--------------
 sources                       |    2 +-
 3 files changed, 33 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 73e8860..9ba03f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 DateTime-Event-ICal-0.10.tar.gz
+/DateTime-Event-ICal-0.11.tar.gz
diff --git a/perl-DateTime-Event-ICal.spec b/perl-DateTime-Event-ICal.spec
index b32bef8..3740465 100644
--- a/perl-DateTime-Event-ICal.spec
+++ b/perl-DateTime-Event-ICal.spec
@@ -1,19 +1,30 @@
 Name:           perl-DateTime-Event-ICal
-Version:        0.10
-Release:        12%{?dist}
+Version:        0.11
+Release:        1%{?dist}
 Summary:        Perl DateTime extension for computing rfc2445 recurrences
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DateTime-Event-ICal/
 Source0:        http://www.cpan.org/authors/id/F/FG/FGLOCK/DateTime-Event-ICal-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
-BuildRequires:  perl(Class::ISA)
+# Build
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
 BuildRequires:  perl(DateTime)
 BuildRequires:  perl(DateTime::Event::Recurrence) >= 0.11
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(DateTime::Set)
+BuildRequires:  perl(DateTime::Span)
+BuildRequires:  perl(DateTime::SpanSet)
+BuildRequires:  perl(Params::Validate)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Test suite
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Runtime
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module provides convenience methods that let you easily create
@@ -23,18 +34,14 @@ DateTime::Set objects for rfc2445 style recurrences.
 %setup -q -n DateTime-Event-ICal-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
 make test
@@ -43,12 +50,20 @@ make test
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README TODO
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/DateTime/
+%{_mandir}/man3/DateTime::Event::ICal.3pm*
 
 %changelog
+* Thu Oct  3 2013 Paul Howarth <paul at city-fan.org> - 0.11-1
+- Update to 0.11
+  - Performance improvement
+- Specify all dependencies
+- Drop %%defattr, redundant since rpm 4.4
+- Make %%files list more explicit
+- Don't need to remove empty directories from the buildroot
+- Don't use macros for commands
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -77,7 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Thu Dec 16 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.10-3
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.10-2
 - Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index decc0be..b144e94 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a32f85ab15c48a813cbed3ee152cccbf  DateTime-Event-ICal-0.10.tar.gz
+aea95965715c4e438fe981a5407e1328  DateTime-Event-ICal-0.11.tar.gz



More information about the perl-devel mailing list