commit 8b29ac2519d8762521bab4988176528ca4f566f7 Author: Jitka Plesnikova <jples...@redhat.com> Date: Wed Feb 11 15:44:33 2015 +0100
3.5.0 bump .gitignore | 1 + perl-DBD-Pg.spec | 48 +++++++++++++++++------------------------------- sources | 2 +- 3 files changed, 19 insertions(+), 32 deletions(-) --- diff --git a/.gitignore b/.gitignore index 71231c8..ae2a332 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ DBD-Pg-2.17.1.tar.gz /DBD-Pg-3.4.0.tar.gz /DBD-Pg-3.4.1.tar.gz /DBD-Pg-3.4.2.tar.gz +/DBD-Pg-3.5.0.tar.gz diff --git a/perl-DBD-Pg.spec b/perl-DBD-Pg.spec index 52b0bcb..58b0b2d 100644 --- a/perl-DBD-Pg.spec +++ b/perl-DBD-Pg.spec @@ -1,6 +1,6 @@ Name: perl-DBD-Pg Summary: A PostgreSQL interface for perl -Version: 3.4.2 +Version: 3.5.0 Release: 1%{?dist} License: GPLv2+ or Artistic Group: Development/Libraries @@ -23,30 +23,18 @@ BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(version) # Tests: -%tests_req perl(charnames) -%tests_req perl(constant) -%tests_req perl(Cwd) -%tests_req perl(Data::Dumper) -%tests_req perl(Test::More) >= 0.88 -%tests_req perl(Test::Simple) -%tests_req perl(Time::HiRes) -%tests_req perl(utf8) -%tests_req postgresql-server +BuildRequires: perl(charnames) +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Simple) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(utf8) +BuildRequires: postgresql-server # Optional tests: -%tests_req perl(Encode) -%tests_req perl(File::Temp) -# test sub-package requirements -%tests_subpackage_requires perl(Carp) -%tests_subpackage_requires perl(Config) -%tests_subpackage_requires perl(Data::Peek) -%tests_subpackage_requires perl(DBD::Pg) -%tests_subpackage_requires perl(DBI) -%tests_subpackage_requires perl(File::Spec) -%tests_subpackage_requires perl(lib) -%tests_subpackage_requires perl(strict) -%tests_subpackage_requires perl(vars) -%tests_subpackage_requires perl(warnings) -%tests_subpackage_requires perl(YAML) +BuildRequires: perl(Encode) +BuildRequires: perl(File::Temp) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(DBI) >= 1.614 @@ -57,7 +45,6 @@ Provides: perl(DBD::Pg) = %{version} %{?perl_default_filter} %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DBD::Pg\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DBI\\)$ -%{?perl_default_subpackage_tests} %description DBD::Pg is a Perl module that works with the DBI module to provide access @@ -65,20 +52,15 @@ to PostgreSQL databases. %prep %setup -q -n DBD-Pg-%{version} -# Move testme.tmp.pl into tests sub-package -mv testme.tmp.pl t/ -sed -i -e '/^testme.tmp.pl$/ s/^/t\//' MANIFEST -sed -i -e '1 s/#!.*//' t/testme.tmp.pl %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check @@ -98,6 +80,10 @@ make test %changelog +* Wed Feb 11 2015 Jitka Plesnikova <jples...@redhat.com> - 3.5.0-1 +- 3.5.0 bump +- Remove tests sub-package, tests don't work without Makefile + * Mon Sep 29 2014 Jitka Plesnikova <jples...@redhat.com> - 3.4.2-1 - 3.4.2 bump diff --git a/sources b/sources index e8e802a..9d7d629 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e8e92d86e6fd99f702da9a51d9970d87 DBD-Pg-3.4.2.tar.gz +16cea4efcd1f8917679920be50e23da9 DBD-Pg-3.5.0.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel