rpms/perl-Perl-Critic/devel perl-Perl-Critic.spec,1.19,1.20

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

 



Author: cweyl

Update of /cvs/extras/rpms/perl-Perl-Critic/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5278

Modified Files:
	perl-Perl-Critic.spec 
Log Message:
* Sun May 17 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.098-1
- "neaten" filtering
- auto-update to 1.098 (by cpan-spec-update 0.01)
- added a new br on perl(strict) (version 0)
- added a new br on perl(Scalar::Util) (version 0)
- added a new br on perl(File::Temp) (version 0)
- added a new br on perl(Pod::Usage) (version 0)
- added a new br on perl(File::Find) (version 0)
- added a new br on perl(PPI::Token::Whitespace) (version 1.203)
- added a new br on perl(charnames) (version 0)
- added a new br on perl(PPI::Document::File) (version 1.203)
- added a new br on perl(File::Spec::Unix) (version 0)
- added a new br on perl(List::Util) (version 0)
- added a new br on perl(lib) (version 0)
- added a new br on perl(Getopt::Long) (version 0)
- added a new br on perl(Exporter) (version 0)
- added a new br on perl(Test::More) (version 0)
- added a new br on perl(overload) (version 0)
- added a new br on perl(base) (version 0)
- added a new br on perl(version) (version 0)
- added a new br on perl(Carp) (version 0)
- added a new br on perl(warnings) (version 0)
- added a new br on perl(PPI::Document) (version 1.203)
- added a new br on perl(File::Basename) (version 0)
- added a new br on perl(PPI::Token::Quote::Single) (version 1.203)
- added a new br on perl(File::Spec) (version 0)
- added a new br on perl(File::Path) (version 0)
- added a new br on perl(Pod::PlainText) (version 0)
- added a new br on perl(Pod::Select) (version 0)
- added a new br on perl(PPI::Node) (version 1.203)
- added a new br on perl(English) (version 0)



Index: perl-Perl-Critic.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Perl-Critic/devel/perl-Perl-Critic.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- perl-Perl-Critic.spec	27 Feb 2009 00:25:29 -0000	1.19
+++ perl-Perl-Critic.spec	9 Jun 2009 08:35:31 -0000	1.20
@@ -1,12 +1,12 @@
 Name:           perl-Perl-Critic
-Version:        1.092
+Version:        1.098
 Release:        2%{?dist}
 Summary:        Critique Perl source code for best-practices
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Perl-Critic/
-Source0:        http://www.cpan.org/modules/by-module/Perl/Perl-Critic-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/Perl-Critic-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -38,6 +38,42 @@ BuildRequires:  perl(Test::Pod::Coverage
 Requires:       perl(Module::Pluggable) >= 3.1
 Requires(hint): perl(Perl::Tidy)
 
+### auto-added brs!
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Pod::Usage)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(PPI::Token::Whitespace) >= 1.203
+BuildRequires:  perl(charnames)
+BuildRequires:  perl(PPI::Document::File) >= 1.203
+BuildRequires:  perl(File::Spec::Unix)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(base)
+BuildRequires:  perl(version)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(PPI::Document) >= 1.203
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(PPI::Token::Quote::Single) >= 1.203
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(Pod::PlainText)
+BuildRequires:  perl(Pod::Select)
+BuildRequires:  perl(PPI::Node) >= 1.203
+BuildRequires:  perl(English)
+
+# don't "provide" private Perl libs
+%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
 Perl::Critic is an extensible framework for creating and applying coding
 standards to Perl source code. Essentially, it is a static source code
@@ -55,17 +91,6 @@ also create new Policy modules that suit
 
 find . -type f -exec chmod -c -x {} +
 
-# make sure doc/tests don't generate provides
-# note we first filter out the bits in _docdir...
-cat << \EOF > %{name}-prov
-#!/bin/sh
-FOO=`perl -p -e 's|%{buildroot}%{_docdir}/%{name}-%{version}\S+||'`
-%{__perl_provides} $FOO 
-EOF
-
-%define __perl_provides %{_builddir}/Perl-Critic-%{version}/%{name}-prov 
-chmod +x %{__perl_provides}
-
 %build
 %{__perl} Build.PL installdirs=vendor
 ./Build
@@ -98,6 +123,38 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun May 17 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 1.098-1
+- "neaten" filtering
+- auto-update to 1.098 (by cpan-spec-update 0.01)
+- added a new br on perl(strict) (version 0)
+- added a new br on perl(Scalar::Util) (version 0)
+- added a new br on perl(File::Temp) (version 0)
+- added a new br on perl(Pod::Usage) (version 0)
+- added a new br on perl(File::Find) (version 0)
+- added a new br on perl(PPI::Token::Whitespace) (version 1.203)
+- added a new br on perl(charnames) (version 0)
+- added a new br on perl(PPI::Document::File) (version 1.203)
+- added a new br on perl(File::Spec::Unix) (version 0)
+- added a new br on perl(List::Util) (version 0)
+- added a new br on perl(lib) (version 0)
+- added a new br on perl(Getopt::Long) (version 0)
+- added a new br on perl(Exporter) (version 0)
+- added a new br on perl(Test::More) (version 0)
+- added a new br on perl(overload) (version 0)
+- added a new br on perl(base) (version 0)
+- added a new br on perl(version) (version 0)
+- added a new br on perl(Carp) (version 0)
+- added a new br on perl(warnings) (version 0)
+- added a new br on perl(PPI::Document) (version 1.203)
+- added a new br on perl(File::Basename) (version 0)
+- added a new br on perl(PPI::Token::Quote::Single) (version 1.203)
+- added a new br on perl(File::Spec) (version 0)
+- added a new br on perl(File::Path) (version 0)
+- added a new br on perl(Pod::PlainText) (version 0)
+- added a new br on perl(Pod::Select) (version 0)
+- added a new br on perl(PPI::Node) (version 1.203)
+- added a new br on perl(English) (version 0)
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.092-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 

--
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