[perl-SQL-Statement] 1.401 bump

Petr Šabata psabata at fedoraproject.org
Wed Oct 31 13:16:19 UTC 2012


commit 5d2918d6e9493f4bf7b6d83207108f8e8bb4b386
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Oct 31 14:09:27 2012 +0100

    1.401 bump

 .gitignore              |    1 +
 perl-SQL-Statement.spec |   53 ++++++++++++++++++++++++-----------------------
 sources                 |    2 +-
 3 files changed, 29 insertions(+), 27 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7bff627..a51ce97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ SQL-Statement-1.27.tar.gz
 /SQL-Statement-1.31.tar.gz
 /SQL-Statement-1.32.tar.gz
 /SQL-Statement-1.33.tar.gz
+/SQL-Statement-1.401.tar.gz
diff --git a/perl-SQL-Statement.spec b/perl-SQL-Statement.spec
index 9168af2..9294192 100644
--- a/perl-SQL-Statement.spec
+++ b/perl-SQL-Statement.spec
@@ -1,20 +1,29 @@
 Name:           perl-SQL-Statement
-Version:        1.33
-Release:        9%{?dist}
+Version:        1.401
+Release:        1%{?dist}
 Summary:        SQL parsing and processing engine
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/SQL-Statement/
 Source0:        http://www.cpan.org/authors/id/R/RE/REHSACK/SQL-Statement-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(DBI) >= 1.612
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(base)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(Clone) >= 0.30
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(Math::BigFloat)
+BuildRequires:  perl(Math::BigInt)
 BuildRequires:  perl(Params::Util) >= 1.00
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Time::HiRes)
 # for tests only:
 # DBD::CSV buildrequires SQL::Statement
 %if 0%{!?perl_bootstrap:1}
@@ -23,8 +32,8 @@ BuildRequires:  perl(DBD::CSV) >= 0.30
 BuildRequires:  perl(DBD::DBM) >= 0.06
 BuildRequires:  perl(DBD::File) >= 0.40
 BuildRequires:  perl(DBD::SQLite)
-BuildRequires:  perl(DBI::DBD::SqlEngine) >= 0.03
 BuildRequires:  perl(DBD::XBase)
+BuildRequires:  perl(DBI::DBD::SqlEngine) >= 0.03
 BuildRequires:  perl(MLDBM)
 BuildRequires:  perl(Test::Simple) >= 0.90
 # For maintainer tests only:
@@ -41,43 +50,35 @@ many features including column and table aliases, built-in and user-defined
 functions, implicit and explicit joins, complexly nested search conditions, and
 other features.
 
-
 %prep
 %setup -q -n SQL-Statement-%{version}
 find  -type f -perm /111 | xargs chmod -c a-x
-%{__perl} -pi -e 's/\r\n/\n/' README
-
+perl -pi -e 's/\r\n/\n/' README
 
 %build
 export SQL_STATEMENT_WARN_UPDATE=sure
-%{__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
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
 
 %check
 make test
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/SQL/
 %{_mandir}/man3/*.3pm*
 
-
 %changelog
+* Wed Oct 31 2012 Petr Šabata <contyk at redhat.com> - 1.401-1
+- 1.401 bump (upstream switches to 3-digit minor version)
+- Drop command macros and modernize spec
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.33-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 38d1676..de3df93 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7c81e480630f60363fadb82f52095f3a  SQL-Statement-1.33.tar.gz
+30960617254e2acbb94a6e5e957c5eb3  SQL-Statement-1.401.tar.gz


More information about the scm-commits mailing list