ppisar pushed to perl-Catalyst-View-JSON (master). "0.35 bump"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Sep 11 10:44:57 UTC 2015
From ee09495c10663eeea6b8ef53492575bb69215944 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Fri, 11 Sep 2015 12:43:22 +0200
Subject: 0.35 bump
diff --git a/.gitignore b/.gitignore
index febec11..1d8ad65 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Catalyst-View-JSON-0.30.tar.gz
+/Catalyst-View-JSON-0.35.tar.gz
diff --git a/perl-Catalyst-View-JSON.spec b/perl-Catalyst-View-JSON.spec
index e93bc63..cb04442 100644
--- a/perl-Catalyst-View-JSON.spec
+++ b/perl-Catalyst-View-JSON.spec
@@ -1,24 +1,42 @@
Name: perl-Catalyst-View-JSON
-Version: 0.30
-Release: 14%{?dist}
+Version: 0.35
+Release: 1%{?dist}
Summary: JSON view for your data
-License: GPL+ or Artistic 2.0
+License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Catalyst-View-JSON/
-Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Catalyst-View-JSON-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://search.cpan.org/CPAN/authors/id/J/JJ/JJNAPIORK/Catalyst-View-JSON-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(Catalyst) >= 5.6
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(JSON::Any) >= 1.15
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::Repository)
+BuildRequires: perl(Module::Install::WriteAll)
+BuildRequires: sed
+# Run-time:
+BuildRequires: perl(base)
+BuildRequires: perl(Catalyst::Exception)
+BuildRequires: perl(Catalyst::View)
+BuildRequires: perl(Encode)
+BuildRequires: perl(JSON::MaybeXS) >= 1.003000
BuildRequires: perl(MRO::Compat)
-BuildRequires: perl(Test::Builder::Module)
+BuildRequires: perl(strict)
+# Tests:
+BuildRequires: perl(Catalyst) >= 5.6
+BuildRequires: perl(Catalyst::Controller)
+BuildRequires: perl(Catalyst::Test)
+BuildRequires: perl(FindBin)
+# HTTP::Request::AsCGI not needed with Catalyst >= 5.89
+BuildRequires: perl(lib)
+# Plack::Test not used
BuildRequires: perl(Test::More)
-BuildRequires: perl(JSON)
+BuildRequires: perl(warnings)
BuildRequires: perl(YAML)
-Requires: perl(Catalyst) >= 5.6
-Requires: perl(JSON::Any) >= 1.15
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(JSON::MaybeXS) >= 1.003000
%description
Catalyst::View::JSON is a Catalyst View handler that returns stash data in
@@ -26,34 +44,32 @@ JSON format.
%prep
%setup -q -n Catalyst-View-JSON-%{version}
+# Remove bundled modules
+rm -r ./inc
+sed -i -e '/^inc\//d' MANIFEST
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Sep 11 2015 Petr Pisar <ppisar at redhat.com> - 0.35-1
+- 0.35 bump
+- License corrected from (GPL+ or Artistic 2.0) to (GPL+ or Artistic)
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.30-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index fbb8b20..8bf3713 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7fc4d27409c39944fc74b4c7dd68232e Catalyst-View-JSON-0.30.tar.gz
+5b54eceb97620ada959d56300719a6e1 Catalyst-View-JSON-0.35.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Catalyst-View-JSON.git/commit/?h=master&id=ee09495c10663eeea6b8ef53492575bb69215944
More information about the perl-devel
mailing list