Author: cweyl Update of /cvs/extras/rpms/perl-SQL-Translator/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17193 Modified Files: .cvsignore perl-SQL-Translator.spec sources Log Message: * Mon Aug 24 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.11001-1 - auto-update to 0.11001 (by cpan-spec-update 0.01) - added a new br on perl(Carp::Clan) (version 0) - altered br on perl(Digest::SHA1) (2.00 => 2) - added a new br on perl(ExtUtils::MakeMaker) (version 6.42) - added a new br on perl(File::ShareDir) (version 1) - altered br on perl(IO::Scalar) (0 => 2.11) - altered br on perl(Parse::RecDescent) (1.94 => 1.096) - altered br on perl(YAML) (0.39 => 0.66) - added a new br on CPAN (inc::Module::AutoInstall found) - added a new req on perl(Carp::Clan) (version 0) - added a new req on perl(Class::Base) (version 0) - altered req on perl(Class::Data::Inheritable) (0 => 0.02) - added a new req on perl(Class::MakeMethods) (version 0) - added a new req on perl(DBI) (version 0) - added a new req on perl(Digest::SHA1) (version 2) - added a new req on perl(File::ShareDir) (version 1) - added a new req on perl(File::Spec) (version 0) - added a new req on perl(IO::Dir) (version 0) - added a new req on perl(IO::Scalar) (version 2.11) - added a new req on perl(Parse::RecDescent) (version 1.096) - added a new req on perl(Pod::Usage) (version 0) - added a new req on perl(XML::Writer) (version 0.5) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-SQL-Translator/devel/.cvsignore,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- .cvsignore 8 Mar 2009 20:08:30 -0000 1.7 +++ .cvsignore 24 Aug 2009 02:49:43 -0000 1.8 @@ -1,8 +1 @@ -SQL-Translator-0.09004.tar.gz -*.gz -*.tar -*.rpm -noarch -clog -.build* -*.bak +SQL-Translator-0.11001.tar.gz Index: perl-SQL-Translator.spec =================================================================== RCS file: /cvs/extras/rpms/perl-SQL-Translator/devel/perl-SQL-Translator.spec,v retrieving revision 1.10 retrieving revision 1.11 diff -u -p -r1.10 -r1.11 --- perl-SQL-Translator.spec 26 Jul 2009 16:25:05 -0000 1.10 +++ perl-SQL-Translator.spec 24 Aug 2009 02:49:43 -0000 1.11 @@ -1,118 +1,150 @@ Name: perl-SQL-Translator -Version: 0.09004 -Release: 3%{?dist} +Version: 0.11001 +Release: 1%{?dist} Summary: Manipulate structured data definitions (SQL and more) # see, e.g., lib/SQL/Translator.pm License: GPLv2 Group: Development/Libraries URL: http://search.cpan.org/dist/SQL-Translator/ -Source0: http://www.cpan.org/authors/id/J/JR/JROBINSON/SQL-Translator-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/J/JR/JROBINSON/SQL-Translator-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # not automatically detected Requires: perl(Class::Accessor::Fast) -Requires: perl(Class::Data::Inheritable) +Requires: perl(Class::Data::Inheritable) >= 0.02 # core -BuildRequires: perl(File::Basename) -BuildRequires: perl(File::Spec) -BuildRequires: perl(IO::Dir) -BuildRequires: perl(IO::File) -BuildRequires: perl(Pod::Usage) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Dir) +BuildRequires: perl(IO::File) +BuildRequires: perl(Pod::Usage) BuildRequires: perl(Test::More) >= 0.6 -#BuildRequires: perl(Text::ParseWords) +#BuildRequires: perl(Text::ParseWords) # cpan -BuildRequires: perl(Class::Accessor::Fast) -BuildRequires: perl(Class::Base) +BuildRequires: perl(Class::Accessor::Fast) +BuildRequires: perl(Class::Base) BuildRequires: perl(Class::Data::Inheritable) >= 0.02 -BuildRequires: perl(Class::MakeMethods) +BuildRequires: perl(Class::MakeMethods) BuildRequires: perl(DBI) -BuildRequires: perl(Digest::SHA1) >= 2.00 -BuildRequires: perl(GD) -BuildRequires: perl(Graph::Directed) -BuildRequires: perl(GraphViz) -BuildRequires: perl(IO::Scalar) +BuildRequires: perl(Digest::SHA1) >= 2 +BuildRequires: perl(GD) +BuildRequires: perl(Graph::Directed) +BuildRequires: perl(GraphViz) +BuildRequires: perl(IO::Scalar) >= 2.11 BuildRequires: perl(Log::Log4perl) -BuildRequires: perl(Module::Build) -BuildRequires: perl(Parse::RecDescent) >= 1.94 +BuildRequires: perl(Module::Build) +BuildRequires: perl(Parse::RecDescent) >= 1.096 # >= 0.2602 avail in FC-5+ BuildRequires: perl(Spreadsheet::ParseExcel) BuildRequires: perl(Template) >= 2.1 BuildRequires: perl(Text::RecordParser) >= 0.02 BuildRequires: perl(XML::Writer) >= 0.5 BuildRequires: perl(XML::XPath) >= 1.13 -BuildRequires: perl(YAML) >= 0.39 +BuildRequires: perl(YAML) >= 0.66 # test -BuildRequires: perl(Test::Differences) +BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::Exception) BuildRequires: perl(XML::Parser) +### auto-added reqs! +Requires: perl(Carp::Clan) +Requires: perl(Class::Base) +Requires: perl(Class::MakeMethods) +Requires: perl(DBI) +Requires: perl(Digest::SHA1) >= 2 +Requires: perl(File::ShareDir) >= 1 +Requires: perl(File::Spec) +Requires: perl(IO::Dir) +Requires: perl(IO::Scalar) >= 2.11 +Requires: perl(Parse::RecDescent) >= 1.096 +Requires: perl(Pod::Usage) +Requires: perl(XML::Writer) >= 0.5 + +### auto-added brs! +BuildRequires: perl(Carp::Clan) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(File::ShareDir) >= 1 +BuildRequires: perl(CPAN) + +%{?perl_default_filter: +%filter_from_requires /perl(:)/d +%perl_default_filter +} + %description -SQL::Translator is a group of Perl modules that converts vendor-specific +SQL::Translator is a group of Perl modules that converts vendor-specific SQL table definitions into other formats, such as other vendor-specific -SQL, ER diagrams, documentation (POD and HTML), XML, and Class::DBI -classes. The main focus of SQL::Translator is SQL, but parsers exist -for other structured data formats, including Excel spreadsheets and -arbitrarily delimited text files. Through the separation of the code into -parsers and producers with an object model in between, it’s possible to -combine any parser with any producer, to plug in custom parsers or +SQL, ER diagrams, documentation (POD and HTML), XML, and Class::DBI +classes. The main focus of SQL::Translator is SQL, but parsers exist +for other structured data formats, including Excel spreadsheets and +arbitrarily delimited text files. Through the separation of the code into +parsers and producers with an object model in between, it’s possible to +combine any parser with any producer, to plug in custom parsers or producers, or to manipulate the parsed data via the built-in object model. -Presently only the definition parts of SQL are handled (CREATE, ALTER), +Presently only the definition parts of SQL are handled (CREATE, ALTER), not the manipulation of data (INSERT, UPDATE, DELETE). %prep %setup -q -n SQL-Translator-%{version} find . -type f -exec chmod -c -x {} + -perl -pi -e 's|^#!/usr/local/bin/perl|#!/usr/bin/perl|' t/*.t - -# Filter unwanted Provides: -cat << \EOF > %{name}-prov -#!/bin/sh -%{__perl_provides} $* |\ - sed -e '/perl(Producer::BaseTest)/d' -EOF - -%define __perl_provides %{_builddir}/SQL-Translator-%{version}/%{name}-prov -chmod +x %{__perl_provides} - -# Filter unwanted Requires: -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} $* |\ - sed -e '/perl(:)/d' -EOF - -%define __perl_requires %{_builddir}/SQL-Translator-%{version}/%{name}-req -chmod +x %{__perl_requires} +perl -pi -e 's|^#!/usr/local/bin/perl|#!%{__perl}|' t/*.t %build -%{__perl} Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} %install rm -rf %{buildroot} -./Build install destdir=%{buildroot} create_packlist=0 +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} + +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check -./Build test +make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc AUTHORS BUGS Changes LICENSE README images/ t/ +%doc AUTHORS BUGS Changes LICENSE README share/ t/ %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man[13]/* %changelog +* Mon Aug 24 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.11001-1 +- auto-update to 0.11001 (by cpan-spec-update 0.01) +- added a new br on perl(Carp::Clan) (version 0) +- altered br on perl(Digest::SHA1) (2.00 => 2) +- added a new br on perl(ExtUtils::MakeMaker) (version 6.42) +- added a new br on perl(File::ShareDir) (version 1) +- altered br on perl(IO::Scalar) (0 => 2.11) +- altered br on perl(Parse::RecDescent) (1.94 => 1.096) +- altered br on perl(YAML) (0.39 => 0.66) +- added a new br on CPAN (inc::Module::AutoInstall found) +- added a new req on perl(Carp::Clan) (version 0) +- added a new req on perl(Class::Base) (version 0) +- altered req on perl(Class::Data::Inheritable) (0 => 0.02) +- added a new req on perl(Class::MakeMethods) (version 0) +- added a new req on perl(DBI) (version 0) +- added a new req on perl(Digest::SHA1) (version 2) +- added a new req on perl(File::ShareDir) (version 1) +- added a new req on perl(File::Spec) (version 0) +- added a new req on perl(IO::Dir) (version 0) +- added a new req on perl(IO::Scalar) (version 2.11) +- added a new req on perl(Parse::RecDescent) (version 1.096) +- added a new req on perl(Pod::Usage) (version 0) +- added a new req on perl(XML::Writer) (version 0.5) + * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.09004-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-SQL-Translator/devel/sources,v retrieving revision 1.6 retrieving revision 1.7 diff -u -p -r1.6 -r1.7 --- sources 8 Mar 2009 20:07:27 -0000 1.6 +++ sources 24 Aug 2009 02:49:43 -0000 1.7 @@ -1 +1 @@ -0f54df1319ad5c5c6e833cbb5d51e383 SQL-Translator-0.09004.tar.gz +09475b116f9d4f160418955225b99bdb SQL-Translator-0.11001.tar.gz -- 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