forked from pool/perl-SQL-Statement
Accepting request 45249 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-SQL-Statement via accept of submit request 45249 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/45249 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
9d87ad1820
commit
940e0c4877
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-SQL-Statement (Version 1.28)
|
||||
# spec file for package perl-SQL-Statement (Version 1.30)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -17,12 +17,12 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with testsuite
|
||||
%bcond_with opt
|
||||
|
||||
Name: perl-SQL-Statement
|
||||
%define cpan_name SQL-Statement
|
||||
Summary: SQL parsing and processing engine
|
||||
Version: 1.28
|
||||
Version: 1.30
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
@@ -31,11 +31,7 @@ Url: http://search.cpan.org/dist/SQL-Statement/
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Clone) >= 0.30
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
@@ -44,8 +40,9 @@ BuildRequires: perl(DBD::File) >= 0.39
|
||||
BuildRequires: perl(DBI::DBD::SqlEngine) >= 0.01
|
||||
BuildRequires: perl(Params::Util) >= 1.00
|
||||
BuildRequires: perl(Scalar::Util) >= 1.0
|
||||
# for testsuite
|
||||
%if %{with testsuite}
|
||||
BuildRequires: perl(Test::Simple) >= 0.90
|
||||
# optional for build
|
||||
%if %{with opt}
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||
BuildRequires: perl(DBD::CSV)
|
||||
@@ -79,7 +76,7 @@ Authors:
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# rpmlint wrong-file-end-of-line-encoding
|
||||
dos2unix README
|
||||
%{__perl} -p -i -e "s|\r\n|\n|" README
|
||||
# rpmlint: spurious-executable-perm
|
||||
%{__chmod} a-x Changes README
|
||||
# rpmlint: script-without-shebang
|
||||
|
||||
Reference in New Issue
Block a user