Update to 1.00

epel9
Emmanuel Seyman 10 years ago
parent ecbec54a52
commit 93a8683096

1
.gitignore vendored

@ -1 +1,2 @@
MooseX-Types-JSON-0.02.tar.gz
/MooseX-Types-JSON-1.00.tar.gz

@ -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 <emmanuel@seyman.fr> - 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 <jplesnik@redhat.com> - 0.02-13
- Perl 5.20 rebuild

@ -1 +1 @@
e6eb8745f38051ff471755759e6006c8 MooseX-Types-JSON-0.02.tar.gz
39ec7063a355ec7b0abc64ee20c94166 MooseX-Types-JSON-1.00.tar.gz

Loading…
Cancel
Save