[perl-DBD-SQLite] 1.33 bump, general cleanup
Petr Sabata
psabata at fedoraproject.org
Mon May 30 11:19:58 UTC 2011
commit 5f8c099d05b1a58be6536ea0f9e3c5bf8f7d797c
Author: Petr Sabata <contyk at redhat.com>
Date: Mon May 30 13:19:51 2011 +0200
1.33 bump, general cleanup
.gitignore | 1 +
...-clean-temporary-files-in-child-processes.patch | 49 --------------------
perl-DBD-SQLite-1.31-fts3-test.patch | 24 ----------
perl-DBD-SQLite.spec | 39 ++++++----------
sources | 2 +-
5 files changed, 16 insertions(+), 99 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f2c6be4..1146877 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
DBD-SQLite-1.29.tar.gz
/DBD-SQLite-1.31.tar.gz
+/DBD-SQLite-1.33.tar.gz
diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec
index b616567..e65b08a 100644
--- a/perl-DBD-SQLite.spec
+++ b/perl-DBD-SQLite.spec
@@ -1,16 +1,12 @@
Name: perl-DBD-SQLite
-Version: 1.31
-Release: 3%{?dist}
+Version: 1.33
+Release: 1%{?dist}
Summary: SQLite DBI Driver
-
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/DBD-SQLite/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/DBD-SQLite-%{version}.tar.gz
patch0: perl-DBD-SQLite-bz543982.patch
-Patch1: perl-DBD-SQLite-1.31-fts3-test.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
# if sqlite >= 3.1.3 then
# perl-DBD-SQLite uses the external library
# else
@@ -21,7 +17,6 @@ BuildRequires: perl(Test::More) >= 0.42
BuildRequires: perl(File::Spec) >= 0.82
# Prevent bug #443495
BuildRequires: perl(DBI) >= 1.607
-
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
@@ -36,39 +31,33 @@ libraries.
%prep
%setup -q -n DBD-SQLite-%{version}
%patch0 -p1 -b .bz543982
-%patch1 -p1 -b .fts3-test
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
-
+CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags} OPTIMIZE="%{optflags}"
%install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f \( -name .packlist -o \
- -name '*.bs' -size 0 \) -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
-%{_fixperms} $RPM_BUILD_ROOT/*
-
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f \( -name .packlist -o \
+ -name '*.bs' -size 0 \) -exec rm -f {} ';'
+find %{buildroot} -depth -type d -empty -exec rmdir {} ';'
+%{_fixperms} %{buildroot}/*
%check
make test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/DBD/
%{_mandir}/man3/*.3pm*
-
%changelog
+* Mon May 30 2011 Petr Sabata <contyk at redhat.com> - 1.33-1
+- 1.33 bump
+- BuildRoot and defattr cleanup
+- Dropping the FTS3 tests patch; included upstream
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.31-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 21225c7..3e1d312 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-67b3575104efd606c8093bc416e3338d DBD-SQLite-1.31.tar.gz
+623e1340f98d4df1d2f313b49489471c DBD-SQLite-1.33.tar.gz
More information about the scm-commits
mailing list