From 93a86830966689c291b055e1119610eb0aa5d856 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Wed, 12 Nov 2014 21:45:16 +0100 Subject: [PATCH] Update to 1.00 --- .gitignore | 1 + perl-MooseX-Types-JSON.spec | 34 ++++++++++++++++++---------------- sources | 2 +- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 1627e93..e81ff65 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ MooseX-Types-JSON-0.02.tar.gz +/MooseX-Types-JSON-1.00.tar.gz diff --git a/perl-MooseX-Types-JSON.spec b/perl-MooseX-Types-JSON.spec index 7ef8d26..beb5c51 100644 --- a/perl-MooseX-Types-JSON.spec +++ b/perl-MooseX-Types-JSON.spec @@ -1,27 +1,28 @@ Name: perl-MooseX-Types-JSON Summary: JSON data types for Moose -Version: 0.02 -Release: 13%{?dist} +Version: 1.00 +Release: 1%{?dist} # see lib/MooseX/Types/JSON.pm License: GPL+ or Artistic -Group: Development/Libraries + Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MILA/MooseX-Types-JSON-%{version}.tar.gz URL: http://search.cpan.org/dist/MooseX-Types-JSON -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(JSON::XS) >= 2.00 -BuildRequires: perl(Moose) >= 0.82 -BuildRequires: perl(MooseX::Types) >= 0.15 +BuildRequires: perl(JSON) +BuildRequires: perl(Moose) +BuildRequires: perl(MooseX::Types) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) # note the versioning here, that we don't get elsewhere Requires: perl(JSON::XS) >= 2.00 -Requires: perl(Moose) >= 0.82 -Requires: perl(MooseX::Types) >= 0.15 +Requires: perl(Moose) +Requires: perl(MooseX::Types) %{?perl_default_filter} %{?perl_default_subpackage_tests} @@ -37,8 +38,6 @@ Requires: perl(MooseX::Types) >= 0.15 make %{?_smp_mflags} %install -rm -rf %{buildroot} - make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' @@ -48,16 +47,19 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc README Changes examples/ -%{perl_vendorlib}/* -%{_mandir}/man3/*.3* +%license LICENSE +%{perl_vendorlib}/MooseX* +%{_mandir}/man3/MooseX*.3* %changelog +* Wed Nov 12 2014 Emmanuel Seyman - 1.00-1 +- Update to 1.00 +- Use the %%license tag +- Tighten up files listing +- Clean up spec-file + * Mon Sep 01 2014 Jitka Plesnikova - 0.02-13 - Perl 5.20 rebuild diff --git a/sources b/sources index 2c435ad..83e962a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e6eb8745f38051ff471755759e6006c8 MooseX-Types-JSON-0.02.tar.gz +39ec7063a355ec7b0abc64ee20c94166 MooseX-Types-JSON-1.00.tar.gz