Resolves: bz#226253. fix issues from package review.
This commit is contained in:
parent
af25217bc9
commit
1f9b12f60d
@ -1 +1 @@
|
||||
DBI-1.58.tar.gz
|
||||
DBI-1.601.tar.gz
|
||||
|
8
perl-DBI-1.601-script-interpreter.patch
Normal file
8
perl-DBI-1.601-script-interpreter.patch
Normal file
@ -0,0 +1,8 @@
|
||||
--- 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";
|
@ -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 @@ database interface independent of the actual database being used.
|
||||
|
||||
%prep
|
||||
%setup -q -n DBI-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
chmod 644 ex/*
|
||||
|
||||
# Filter unwanted Requires:
|
||||
@ -33,10 +37,13 @@ EOF
|
||||
%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 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 26 2007 Robin Norwood <rnorwood@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@redhat.com> - 1.58-2
|
||||
- Rebuild
|
||||
|
||||
@ -234,6 +248,5 @@ rm -rf $RPM_BUILD_ROOT
|
||||
- general cleanup
|
||||
- add descriptive summary and description
|
||||
|
||||
|
||||
* Mon Aug 14 2000 Tim Powers <timp@redhat.com>
|
||||
- Spec file was autogenerated.
|
||||
|
Loading…
Reference in New Issue
Block a user