8
0

Accepting request 41058 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-SQL-Statement via accept of submit request 41058 revision 4.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/41058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=11
This commit is contained in:
Christian Wittmer
2010-06-03 17:22:50 +00:00
committed by Git OBS Bridge
parent 051743122d
commit df156b2180
4 changed files with 44 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-SQL-Statement (Version 1.25)
# spec file for package perl-SQL-Statement (Version 1.27)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,17 +17,19 @@
# norootforbuild
%bcond_with testsuite
Name: perl-SQL-Statement
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
%define cpan_name SQL-Statement
Summary: SQL parsing and processing engine
Version: 1.25
Release: 2
License: GPLv2+
Version: 1.27
Release: 1
License: GPLv1+, Artistic License
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/SQL-Statement/
#Source: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/SQL-Statement-1.25.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dos2unix
BuildRequires: perl
@@ -37,18 +39,22 @@ BuildRequires: perl-macros
BuildRequires: perl(Carp)
BuildRequires: perl(Clone) >= 0.30
BuildRequires: perl(Data::Dumper)
# means perl-DBI >= 1.609
BuildRequires: perl(DBD::File) >= 0.37
BuildRequires: perl(Params::Util) >= 1.00
BuildRequires: perl(Scalar::Util) >= 1.0
# for testsuite
%if %{with testsuite}
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
BuildRequires: perl(DBD::CSV)
%endif
#
Requires: perl = %{perl_version}
Requires: perl(Carp)
Requires: perl(Clone) >= 0.30
Requires: perl(Data::Dumper)
# means perl-DBI >= 1.609
Requires: perl(DBD::File) >= 0.37
Requires: perl(Params::Util) >= 1.00
Requires: perl(Scalar::Util) >= 1.0
@@ -80,7 +86,11 @@ chmod a-x Changes Todo
%install
%perl_make_install
%perl_process_packlist
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
# fix file perm