rpms/perl-DBI/devel perl-DBI-1.601-script-interpreter.patch, NONE, 1.1 .cvsignore, 1.19, 1.20 perl-DBI.spec, 1.35, 1.36 sources, 1.19, 1.20

Robin Norwood (rnorwood) fedora-extras-commits at redhat.com
Wed Nov 14 03:51:30 UTC 2007


Author: rnorwood

Update of /cvs/pkgs/rpms/perl-DBI/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26568

Modified Files:
	.cvsignore perl-DBI.spec sources 
Added Files:
	perl-DBI-1.601-script-interpreter.patch 
Log Message:
Resolves: bz#226253.  fix issues from package review.

perl-DBI-1.601-script-interpreter.patch:

--- NEW FILE perl-DBI-1.601-script-interpreter.patch ---
--- DBI-1.601/dbixs_rev.pl	Mon Jul 16 07:04:58 2007
+++ DBI-1.601/dbixs_rev.pl	Tue Nov 13 21:06:15 2007
@@ -1,4 +1,4 @@
-#!perl -w
+#!/usr/bin/perl -w
 use strict;
 
 my $dbixs_rev_file = "dbixs_rev.h";


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-DBI/devel/.cvsignore,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- .cvsignore	13 Aug 2007 19:42:35 -0000	1.19
+++ .cvsignore	14 Nov 2007 03:50:57 -0000	1.20
@@ -1 +1 @@
-DBI-1.58.tar.gz
+DBI-1.601.tar.gz


Index: perl-DBI.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-DBI/devel/perl-DBI.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- perl-DBI.spec	27 Aug 2007 15:43:19 -0000	1.35
+++ perl-DBI.spec	14 Nov 2007 03:50:57 -0000	1.36
@@ -1,16 +1,18 @@
 Name:           perl-DBI
-Version:        1.58
-Release:        2%{?dist}
+Version:        1.601
+Release:        1%{?dist}
 Summary:        A database access API for perl
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://dbi.perl.org/
 Source0:        http://www.cpan.org/authors/id/T/TI/TIMB/DBI-%{version}.tar.gz
+Patch0:         perl-DBI-1.601-script-interpreter.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  perl, perl(ExtUtils::MakeMaker), perl(Test::Pod)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::Pod)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
 
 %description 
 DBI is a database access Application Programming Interface (API) for
@@ -21,6 +23,8 @@
 
 %prep
 %setup -q -n DBI-%{version} 
+%patch0 -p1
+
 chmod 644 ex/*
 
 # Filter unwanted Requires:
@@ -33,10 +37,13 @@
 %define __perl_requires %{_builddir}/DBI-%{version}/%{name}-req
 chmod +x %{__perl_requires}
 
+chmod 744 dbixs_rev.pl
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -79,6 +86,13 @@
 
 
 %changelog
+* Fri Oct 26 2007 Robin Norwood <rnorwood at redhat.com> - 1.601-1
+- Update to latest CPAN version: 1.601
+- Fix some issues from package review:
+  - patch to change #! line in script
+  - make script executable
+  - fix requires and buildrequires
+
 * Mon Aug 27 2007 Robin Norwood <rnorwood at redhat.com> - 1.58-2
 - Rebuild
 
@@ -234,6 +248,5 @@
 - general cleanup
 - add descriptive summary and description
 
-
 * Mon Aug 14 2000 Tim Powers <timp at redhat.com>
 - Spec file was autogenerated. 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-DBI/devel/sources,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- sources	13 Aug 2007 19:42:35 -0000	1.19
+++ sources	14 Nov 2007 03:50:57 -0000	1.20
@@ -1 +1 @@
-132a7a28481824692e48d71b06994e09  DBI-1.58.tar.gz
+d80677bd8113ec8cb0438b8703f3c418  DBI-1.601.tar.gz




More information about the fedora-extras-commits mailing list