Accepting request 741157 from home:tinita:branches:devel:languages:perl
- Regenerate spec with newest cpanspec * Add PERL_USE_UNSAFE_INC * Add manual dependency File::Copy::Recursive * Removed the following dependencies because they are in perl core since 5.10: * perl(ExtUtils::MakeMaker) >= 6.42 * perl(Carp) OBS-URL: https://build.opensuse.org/request/show/741157 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Catalyst-View-Component-SubInclude?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
a392caaae8
commit
002b8a905f
30
cpanspec.yml
Normal file
30
cpanspec.yml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
preamble: |-
|
||||||
|
# https://rt.cpan.org/Ticket/Display.html?id=81574
|
||||||
|
BuildRequires: perl(File::Copy::Recursive)
|
||||||
|
Requires: perl(File::Copy::Recursive)
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 18 20:04:02 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Regenerate spec with newest cpanspec
|
||||||
|
* Add PERL_USE_UNSAFE_INC
|
||||||
|
* Add manual dependency File::Copy::Recursive
|
||||||
|
* Removed the following dependencies because they are in perl core since 5.10:
|
||||||
|
* perl(ExtUtils::MakeMaker) >= 6.42
|
||||||
|
* perl(Carp)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 17 01:37:59 CET 2011 - pascal.bleser@opensuse.org
|
Thu Feb 17 01:37:59 CET 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,87 +1,96 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
|
# spec file for package perl-Catalyst-View-Component-SubInclude
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Catalyst-View-Component-SubInclude
|
Name: perl-Catalyst-View-Component-SubInclude
|
||||||
Version: 0.10
|
Version: 0.10
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_name Catalyst-View-Component-SubInclude
|
||||||
Summary: Use subincludes in your Catalyst views
|
Summary: Use subincludes in your Catalyst views
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-View-Component-SubInclude-%{version}.tar.gz
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
URL: http://search.cpan.org/dist/Catalyst-View-Component-SubInclude
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
Url: https://metacpan.org/release/%{cpan_name}
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
Source0: https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
|
||||||
%{perl_requires}
|
Source1: cpanspec.yml
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
|
||||||
BuildRequires: perl(Catalyst::View::TT)
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
||||||
BuildRequires: perl(Catalyst::Action::RenderView)
|
BuildRequires: perl(Catalyst::Action::RenderView)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
||||||
BuildRequires: perl(Moose::Role)
|
|
||||||
BuildRequires: perl(URI)
|
|
||||||
BuildRequires: perl(Carp)
|
|
||||||
BuildRequires: perl(namespace::clean)
|
|
||||||
BuildRequires: perl(LWP::UserAgent)
|
|
||||||
BuildRequires: perl(MooseX::Types)
|
|
||||||
BuildRequires: perl(Catalyst::Plugin::SubRequest)
|
BuildRequires: perl(Catalyst::Plugin::SubRequest)
|
||||||
BuildRequires: perl(Catalyst::Runtime) >= 5.80014
|
BuildRequires: perl(Catalyst::Runtime) >= 5.80014
|
||||||
|
BuildRequires: perl(Catalyst::View::TT)
|
||||||
|
BuildRequires: perl(LWP::UserAgent)
|
||||||
BuildRequires: perl(List::MoreUtils)
|
BuildRequires: perl(List::MoreUtils)
|
||||||
BuildRequires: perl(Moose)
|
BuildRequires: perl(Moose)
|
||||||
BuildRequires: perl(File::Copy::Recursive)
|
BuildRequires: perl(Moose::Role)
|
||||||
Requires: perl(Moose::Role)
|
BuildRequires: perl(MooseX::Types)
|
||||||
Requires: perl(Catalyst::View::TT)
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
Requires: perl(URI)
|
BuildRequires: perl(URI)
|
||||||
|
BuildRequires: perl(namespace::clean)
|
||||||
Requires: perl(Catalyst::Action::RenderView)
|
Requires: perl(Catalyst::Action::RenderView)
|
||||||
Requires: perl(Carp)
|
|
||||||
Requires: perl(namespace::clean)
|
|
||||||
Requires: perl(LWP::UserAgent)
|
|
||||||
Requires: perl(MooseX::Types)
|
|
||||||
Requires: perl(Catalyst::Plugin::SubRequest)
|
Requires: perl(Catalyst::Plugin::SubRequest)
|
||||||
Requires: perl(Catalyst::Runtime) >= 5.80014
|
Requires: perl(Catalyst::Runtime) >= 5.80014
|
||||||
|
Requires: perl(Catalyst::View::TT)
|
||||||
|
Requires: perl(LWP::UserAgent)
|
||||||
Requires: perl(List::MoreUtils)
|
Requires: perl(List::MoreUtils)
|
||||||
Requires: perl(Moose)
|
Requires: perl(Moose)
|
||||||
|
Requires: perl(Moose::Role)
|
||||||
|
Requires: perl(MooseX::Types)
|
||||||
|
Requires: perl(Test::More) >= 0.88
|
||||||
|
Requires: perl(URI)
|
||||||
|
Requires: perl(namespace::clean)
|
||||||
|
%{perl_requires}
|
||||||
|
# MANUAL BEGIN
|
||||||
|
# https://rt.cpan.org/Ticket/Display.html?id=81574
|
||||||
|
BuildRequires: perl(File::Copy::Recursive)
|
||||||
Requires: perl(File::Copy::Recursive)
|
Requires: perl(File::Copy::Recursive)
|
||||||
%if 0%{?suse_version} >= 1120
|
# MANUAL END
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
"Catalyst::View::Component::SubInclude" allows you to include content in
|
'Catalyst::View::Component::SubInclude' allows you to include content in
|
||||||
your templates (or, more generally, somewhere in your view's "render"
|
your templates (or, more generally, somewhere in your view's 'render'
|
||||||
processing) which comes from another action in your application. It's
|
processing) which comes from another action in your application. It's
|
||||||
implemented as a Moose::Role, so using Moose in your view is required.
|
implemented as a Moose::Role, so using Moose in your view is required.
|
||||||
|
|
||||||
Simply put, it's a way to include the output of a Catalyst sub-request
|
Simply put, it's a way to include the output of a Catalyst sub-request
|
||||||
somewhere in your page.
|
somewhere in your page.
|
||||||
|
|
||||||
It's built in an extensible way so that you're free to use sub-requests,
|
It's built in an extensible way so that you're free to use sub-requests,
|
||||||
Varnish ESI (<http://www.catalystframework.org/calendar/2008/17>) or any
|
Varnish ESI (http://www.catalystframework.org/calendar/2008/17) or any
|
||||||
other sub-include plugin you might want to implement.
|
other sub-include plugin you might want to implement.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Catalyst-View-Component-SubInclude-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?jobs:-j%{jobs}}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%check
|
%files -f %{name}.files
|
||||||
%__make test
|
%defattr(-,root,root,755)
|
||||||
|
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%dir %{perl_vendorlib}/Catalyst
|
|
||||||
%dir %{perl_vendorlib}/Catalyst/View
|
|
||||||
%dir %{perl_vendorlib}/Catalyst/View/Component
|
|
||||||
%{perl_vendorlib}/Catalyst/View/Component/SubInclude.pm
|
|
||||||
%{perl_vendorlib}/Catalyst/View/Component/SubInclude
|
|
||||||
%doc %{perl_man3dir}/Catalyst::View::Component::SubInclude.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/Catalyst::View::Component::SubInclude::*.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user