[perl-MooseX-CascadeClearing] Update to 0.05 and modernize spec

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

 



commit 73f9a832f6792d7c20f2e902e7db8fecc97107c4
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Mon Sep 17 16:25:36 2012 +0200

    Update to 0.05 and modernize spec

 .gitignore                                   |    1 +
 MooseX-CascadeClearing-autoinstall_off.patch |   12 ------
 perl-MooseX-CascadeClearing.spec             |   49 ++++++++++---------------
 sources                                      |    2 +-
 4 files changed, 22 insertions(+), 42 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a6bced5..46396c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 MooseX-CascadeClearing-0.02.tar.gz
 /MooseX-CascadeClearing-0.03.tar.gz
 /MooseX-CascadeClearing-0.04.tar.gz
+/MooseX-CascadeClearing-0.05.tar.gz
diff --git a/perl-MooseX-CascadeClearing.spec b/perl-MooseX-CascadeClearing.spec
index ed0f081..0166c8d 100644
--- a/perl-MooseX-CascadeClearing.spec
+++ b/perl-MooseX-CascadeClearing.spec
@@ -1,65 +1,56 @@
 Name:           perl-MooseX-CascadeClearing
-Version:        0.04
-Release:        6%{?dist}
+Version:        0.05
+Release:        1%{?dist}
 Summary:        Cascade clearer actions across attributes
 License:        LGPLv2+
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/MooseX-CascadeClearing/
 Source0:        http://www.cpan.org/authors/id/R/RS/RSRCHBOY/MooseX-CascadeClearing-%{version}.tar.gz
-Patch0:         MooseX-CascadeClearing-autoinstall_off.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Moose) >= 0.94
-BuildRequires:  perl(namespace::autoclean) >= 0.08
-BuildRequires:  perl(Test::More)
-Requires:       perl(Moose) >= 0.94
-Requires:       perl(namespace::autoclean) >= 0.08
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-%{?perl_default_filter:
-%filter_from_requires /perl(Moose)$/d
-%filter_from_requires /perl(namespace::autoclean)$/d
-%perl_default_filter
-}
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\((Moose|namespace::autoclean)\\)$
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Moose)
+BuildRequires:  perl(Moose::Exporter)
+BuildRequires:  perl(Moose::Role)
+BuildRequires:  perl(Moose::Util::MetaRole)
+BuildRequires:  perl(namespace::autoclean)
+BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 MooseX::CascadeClearing does the necessary meta class fiddling to allow an
 clearing one attribute to be cascaded through to other attributes as well,
-calling their clearers.
+calling their clear accessors.
 
 %prep
 %setup -q -n MooseX-CascadeClearing-%{version}
-%patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$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/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Mon Sep 17 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.05-1
+- 0.05 bump
+- Update dependencies.
+- Modernize spec and drop command macros. 
+- Remove unnecessary patch and filter. 
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.04-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 51228fc..6b8a596 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a30039bbaf76663b583973455a71219e  MooseX-CascadeClearing-0.04.tar.gz
+00475008c8480ba65c6506d6b37eedd7  MooseX-CascadeClearing-0.05.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