eseyman pushed to perl-MooseX-MethodAttributes (master). "Update to 0.30 and move to the Module::Build::Tiny workflow"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Aug 20 07:20:00 UTC 2015


From 459ede77199b768c8c1107bb5241e378e4a53284 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Thu, 20 Aug 2015 09:19:52 +0200
Subject: Update to 0.30 and move to the Module::Build::Tiny workflow


diff --git a/.gitignore b/.gitignore
index 4014a52..a24efe5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ MooseX-MethodAttributes-0.20.tar.gz
 /MooseX-MethodAttributes-0.27.tar.gz
 /MooseX-MethodAttributes-0.28.tar.gz
 /MooseX-MethodAttributes-0.29.tar.gz
+/MooseX-MethodAttributes-0.30.tar.gz
diff --git a/perl-MooseX-MethodAttributes.spec b/perl-MooseX-MethodAttributes.spec
index e50402d..6572cec 100644
--- a/perl-MooseX-MethodAttributes.spec
+++ b/perl-MooseX-MethodAttributes.spec
@@ -1,7 +1,7 @@
 Name:           perl-MooseX-MethodAttributes
 Summary:        Introspect your method code attributes
-Version:        0.29
-Release:        3%{?dist}
+Version:        0.30
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-MethodAttributes-%{version}.tar.gz
@@ -9,9 +9,9 @@ URL:            http://search.cpan.org/dist/MooseX-MethodAttributes
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
 
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.31
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(lib)
+BuildRequires:  perl(Module::Build::Tiny)
 BuildRequires:  perl(Moose) >= 0.98
 BuildRequires:  perl(MooseX::Role::Parameterized)
 BuildRequires:  perl(MooseX::Types::Moose) >= 0.21
@@ -22,11 +22,6 @@ BuildRequires:  perl(Test::Fatal)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::Requires)
 
-# obsolete/provide old tests subpackage
-# can be removed during F19 development cycle
-Obsoletes:      %{name}-tests < 0.26-3
-Provides:       %{name}-tests = %{version}-%{release}
-
 %{?perl_default_filter}
 
 %description
@@ -37,31 +32,31 @@ Moose meta method objects.
 %prep
 %setup -q -n MooseX-MethodAttributes-%{version}
 
-# we don't have Test::CheckDeps
-rm -f t/00-check-deps.t
-
 # silence rpmlint warning
 sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-
-%{_fixperms} %{buildroot}/*
+./Build install --destdir=%{buildroot} --create_packlist=0
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
-%doc Changes LICENSE README t/
-%{perl_vendorlib}/*
-%{_mandir}/man3/*.3*
+%doc Changes README t/
+%license LICENSE
+%{perl_vendorlib}/MooseX*
+%{_mandir}/man3/MooseX*.3*
 
 %changelog
+* Thu Aug 20 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 0.30-1
+- Update to 0.30
+- Move to the Module::Build::Tiny workflow
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.29-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 20de54d..820a3be 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c28066933bb5a0e97a5e2dbb0d2e0edf  MooseX-MethodAttributes-0.29.tar.gz
+f3b4ece37075ec73597fcad41512ad7b  MooseX-MethodAttributes-0.30.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-MooseX-MethodAttributes.git/commit/?h=master&id=459ede77199b768c8c1107bb5241e378e4a53284


More information about the perl-devel mailing list