eseyman pushed to perl-Test-Deep-JSON (master). "Initial import"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jun 16 15:15:27 UTC 2015


From e8c1c0f836f135243b01f7dcb2bb89ede84cc01e Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Tue, 16 Jun 2015 16:03:42 +0200
Subject: Initial import


diff --git a/.gitignore b/.gitignore
index e69de29..3386f96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-Deep-JSON-0.03.tar.gz
diff --git a/perl-Test-Deep-JSON.spec b/perl-Test-Deep-JSON.spec
new file mode 100644
index 0000000..5e1e2f2
--- /dev/null
+++ b/perl-Test-Deep-JSON.spec
@@ -0,0 +1,65 @@
+Name:           perl-Test-Deep-JSON
+Version:        0.03
+Release:        2%{?dist}
+Summary:        Compare JSON with Test::Deep
+License:        GPL+ or Artistic
+
+URL:            http://search.cpan.org/dist/Test-Deep-JSON/
+Source0:        http://www.cpan.org/authors/id/M/MO/MOTEMEN/Test-Deep-JSON-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(CPAN::Meta)
+BuildRequires:  perl(CPAN::Meta::Prereqs)
+BuildRequires:  perl(Exporter::Lite)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.59
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(JSON)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::Deep)
+BuildRequires:  perl(Test::Deep::Cmp)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Tester)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(warnings)
+# xt tests
+BuildRequires:  perl(Test::Kwalitee)
+BuildRequires:  perl(Test::Perl::Critic)
+BuildRequires:  perl(Test::Pod::Coverage)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Test::Deep::JSON provides json($expected) function to expect that target
+can be parsed as a JSON string and matches (by cmp_deeply) with $expected.
+
+%prep
+%setup -q -n Test-Deep-JSON-%{version}
+
+%build
+RELEASE_TESTING=1 %{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes README.md
+%license LICENSE
+%{perl_vendorlib}/Test*
+%{_mandir}/man3/Test*
+
+%changelog
+* Mon Jun 15 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 0.03-2
+- Take into account package review (#1231435)
+
+* Mon May 25 2015 Emmanuel Seyman <emmanuel at seyman.fr> 0.03-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..967c56e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0da757571980734bc8482f91d1db9718  Test-Deep-JSON-0.03.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Test-Deep-JSON.git/commit/?h=master&id=e8c1c0f836f135243b01f7dcb2bb89ede84cc01e


More information about the perl-devel mailing list