rpms/perl-Catalyst-Action-RenderView/devel perl-Catalyst-Action-RenderView.spec, 1.11, 1.12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: cweyl

Update of /cvs/extras/rpms/perl-Catalyst-Action-RenderView/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11288

Modified Files:
	perl-Catalyst-Action-RenderView.spec 
Log Message:
* Sat Aug 08 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.11-2
- drop req on Test::More; open RT#48537
- switch to more compact filtering (until we have perl_default_filter)
- auto-update to 0.11 (by cpan-spec-update 0.01)
- added a new br on CPAN (inc::Module::AutoInstall found)



Index: perl-Catalyst-Action-RenderView.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Catalyst-Action-RenderView/devel/perl-Catalyst-Action-RenderView.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- perl-Catalyst-Action-RenderView.spec	8 Aug 2009 06:04:02 -0000	1.11
+++ perl-Catalyst-Action-RenderView.spec	8 Aug 2009 18:08:03 -0000	1.12
@@ -1,7 +1,7 @@
 Name:           perl-Catalyst-Action-RenderView
 Version:        0.11
-Release:        1%{?dist}
-Summary:        Sensible default end action for view renders
+Release:        2%{?dist}
+Summary:        Sensible default end action for view rendering
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Catalyst-Action-RenderView/
@@ -14,6 +14,7 @@ Requires:       perl(:MODULE_COMPAT_%(ev
 # core
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(CPAN)
 # cpan
 BuildRequires:  perl(Catalyst) >= 5.7
 BuildRequires:  perl(Catalyst::Runtime) >= 5.70
@@ -21,17 +22,22 @@ BuildRequires:  perl(MRO::Compat)
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Data::Visitor) >= 0.24
 # test
-BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(HTTP::Request::AsCGI)
 
 # use base
 Requires:       perl(Catalyst::Action)
 
-### auto-added reqs!
-Requires:  perl(Catalyst::Runtime) >= 5.70
-Requires:  perl(Data::Visitor) >= 0.24
-Requires:  perl(MRO::Compat)
-Requires:  perl(Test::More)
+Requires:       perl(Catalyst::Runtime) >= 5.70
+Requires:       perl(Data::Visitor) >= 0.24
+Requires:       perl(MRO::Compat)
+
+# don't "provide" private Perl libs; or things from _docdir
+%global _use_internal_dependency_generator 0
+%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
+%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
+%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}"
 
 %description
 This action implements a sensible default end action, which will forward to
@@ -45,29 +51,8 @@ to force a debug screen, while in debug 
 # allow the pod syntax test to be invoked distinct from the pod coverage test
 %patch1
 
-# Filter unwanted Provides:
-cat << \EOF > %{name}-prov
-#!/bin/sh
-%{__perl_provides} $* |\
-  sed -e '/perl(TestApp.*)/d'
-EOF
-
-%define __perl_provides %{_builddir}/Catalyst-Action-RenderView-%{version}/%{name}-prov
-chmod +x %{__perl_provides}
-
-
-# Filter unwanted Requires:  (may as well keep rpmlint happy)
-cat << \EOF > %{name}-req
-#!/bin/sh
-%{__perl_requires} $* |\
-  sed -e '/perl(strict)/d'
-EOF
-
-%define __perl_requires %{_builddir}/Catalyst-Action-RenderView-%{version}/%{name}-req
-chmod +x %{__perl_requires}
-
 # correct line encoding and an errant interperter setting
-find t/ -type f -exec perl -pi -e 's|^#!perl|#!/usr/bin/perl|; s/\r//' {} +
+find t/ -type f -exec perl -pi -e 's|^#!perl|#!%{__perl}|; s/\r//' {} +
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -97,6 +82,12 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sat Aug 08 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.11-2
+- drop req on Test::More; open RT#48537
+- switch to more compact filtering (until we have perl_default_filter)
+- auto-update to 0.11 (by cpan-spec-update 0.01)
+- added a new br on CPAN (inc::Module::AutoInstall found)
+
 * Sat Aug 08 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.11-1
 - auto-update to 0.11 (by cpan-spec-update 0.01)
 - added a new req on perl(Catalyst::Runtime) (version 5.70)

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux