[perl-MooseX-Has-Sugar] Update to 1.000004

Emmanuel Seyman eseyman at fedoraproject.org
Tue Nov 11 11:19:53 UTC 2014


commit 800e95eefdc67f8577acafbf46d537d9cbe399a3
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Tue Nov 11 12:19:44 2014 +0100

    Update to 1.000004

 .gitignore                 |    1 +
 perl-MooseX-Has-Sugar.spec |   24 +++++++++++++++---------
 sources                    |    2 +-
 3 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index df210d4..9468a49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /MooseX-Has-Sugar-0.05070419.tar.gz
 /MooseX-Has-Sugar-0.05070420.tar.gz
 /MooseX-Has-Sugar-0.05070421.tar.gz
+/MooseX-Has-Sugar-1.000004.tar.gz
diff --git a/perl-MooseX-Has-Sugar.spec b/perl-MooseX-Has-Sugar.spec
index a6554e3..5e5145b 100644
--- a/perl-MooseX-Has-Sugar.spec
+++ b/perl-MooseX-Has-Sugar.spec
@@ -1,6 +1,6 @@
 Name:           perl-MooseX-Has-Sugar
-Version:        0.05070421
-Release:        5%{?dist}
+Version:        1.000004
+Release:        1%{?dist}
 Summary:        Sugar syntax for moose 'has' fields
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -42,25 +42,31 @@ exists and in many ways reduces the need for constant string creation.
 %setup -q -n MooseX-Has-Sugar-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} %{buildroot}/*
 
 %check
 export RELEASE_TESTING=1
-./Build test
+make test
 
 %files
-%doc Changes LICENSE README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes README
+%license LICENSE
+%{perl_vendorlib}/MooseX*
+%{_mandir}/man3/MooseX*
 
 %changelog
+* Tue Nov 11 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 1.000004-1
+- Update to 1.000004
+
 * Mon Sep 01 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.05070421-5
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index b989dbf..6a8f729 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b1ec5076919be03addd86b6344041531  MooseX-Has-Sugar-0.05070421.tar.gz
+93cfc55412f3af64b5e6979029046d1e  MooseX-Has-Sugar-1.000004.tar.gz



More information about the perl-devel mailing list