Browse Source

perl-DBD-Pg-2.18.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3202 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
6444610826
2 changed files with 17 additions and 4 deletions
  1. 3 0
      p/perl-DBD-Pg/filter-requires-perl-DBD-Pg.sh
  2. 14 4
      p/perl-DBD-Pg/perl-DBD-Pg-vl.spec

+ 3 - 0
p/perl-DBD-Pg/filter-requires-perl-DBD-Pg.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/lib/rpm/find-requires $* | grep -v 'perl(Data::Peek)'

+ 14 - 4
p/perl-DBD-Pg/perl-DBD-Pg-vl.spec

@@ -1,18 +1,23 @@
 Summary: the DBI PostgreSQL interface for Perl
 Name: perl-DBD-Pg
-Version: 1.49
-Release: 5%{?_dist_release}
+Version: 2.18.0
+Release: 1%{?_dist_release}
 License: GPL or Artistic
 Group: Development/Libraries
 Source0: http://search.cpan.org/CPAN/authors/id/D/DB/DBDPG/DBD-Pg-%{version}.tar.gz
+Source1: filter-requires-perl-DBD-Pg.sh
 Patch0:perl-DBD-1.31-fixver.patch
-Patch1:perl-DBD-Pg-CVE-2009-0663+1341.patch
 
 Url: http://search.cpan.org/author/DWHEELER/DBD-Pg/
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: perl >= 5.004, postgresql-devel, perl-DBI
 Requires: perl >= 5.004
 
+%define __perl_requires %{SOURCE1}
+
+Vendor: Project Vine
+Distribution: Vine Linux
+
 %description
 the DBI PostgreSQL interface for Perl
 
@@ -20,7 +25,6 @@ the DBI PostgreSQL interface for Perl
 %setup -q -n DBD-Pg-%{version} 
 
 %patch0 -p1 -b .fixver
-%patch1 -p1 -b .CVE-2009-0663+1341
 
 %build
 export POSTGRES_INCLUDE=%{_includedir}/pgsql
@@ -62,6 +66,12 @@ fi
 %{_mandir}/*/*
 
 %changelog
+* Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.18.0-1
+- new upstream release
+- drop  CVE-2009-0663, 1341 patch (Patch1): upstream fixed
+- add requires filter (Source1)
+- add Vendor and Distribution tags
+
 * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.49-5
 - rebuilt with postgresql-8.4.0