[perl-DBD-XBase/f16] Rebase to 1.03.
Jan Pazdziora
adelton at fedoraproject.org
Tue Aug 2 13:45:53 UTC 2011
commit 91963f87ae1b925f08190a781646c84e9459605e
Author: Jan Pazdziora <jpazdziora at redhat.com>
Date: Tue Aug 2 14:50:56 2011 +0200
Rebase to 1.03.
(cherry picked from commit 023bcc6630ac4480b121cf90da53fe6c0fb415d8)
.gitignore | 2 +-
DBD-XBase-0.241-dbfdump-rename.patch | 593 ----------------------------------
perl-DBD-XBase.spec | 19 +-
sources | 2 +-
4 files changed, 15 insertions(+), 601 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e0ae989..87d6a19 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-DBD-XBase-0.241.tar.gz
+DBD-XBase-1.03.tar.gz
diff --git a/perl-DBD-XBase.spec b/perl-DBD-XBase.spec
index fe3aa2a..2805516 100644
--- a/perl-DBD-XBase.spec
+++ b/perl-DBD-XBase.spec
@@ -1,14 +1,13 @@
Name: perl-DBD-XBase
-Version: 0.241
-Release: 14%{?dist}
+Version: 1.03
+Release: 1%{?dist}
Summary: Perl module for reading and writing the dbf files
Group: Development/Libraries
License: GPL+ or Artistic
-URL: http://search.cpan.org/dist/DBD-XBase/
-Source0: http://www.cpan.org/authors/id/J/JA/JANPAZ/DBD-XBase-%{version}.tar.gz
+URL: http://www.adelton.com/perl/DBD-XBase/
+Source0: http://www.adelton.com/perl/DBD-XBase/DBD-XBase-%{version}.tar.gz
Patch0: DBD-XBase-0.241-indexdump.PL.patch
-Patch1: DBD-XBase-0.241-dbfdump-rename.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -28,9 +27,14 @@ DBI modules and their man pages.
%prep
%setup -q -n DBD-XBase-%{version}
%patch0 -p1
-%patch1 -p1
chmod a-x eg/*table
+# We want to distribute dbfdump.pl, not dbfdump
+find . -type f | xargs %{__perl} -i.theorig -pe 's/(?<!\$)\bdbfdump/dbfdump.pl/g'
+find . -type f -name '*.theorig' | %{__perl} -pe 's/\.theorig$//' | while read i ; do touch -r $i.theorig $i ; done
+find . -type f -name '*.theorig' -exec rm -f {} ';'
+mv bin/dbfdump.PL bin/dbfdump.pl.PL
+
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -64,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Aug 2 2011 Jan Pazdziora <jpazdziora at redhat.com> - 1.03-1
+- Rebase to 1.03.
+
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.241-14
- Perl mass rebuild
diff --git a/sources b/sources
index d94aedd..7c159e1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ed36f8722f09406d35c8af801fa78c3b DBD-XBase-0.241.tar.gz
+cbfae03a28dcae0aa0d00bec60ca710d DBD-XBase-1.03.tar.gz
More information about the perl-devel
mailing list