From 87fe7acffc13e721898e6ecab831124c0fef005e Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Jan 29 2013 15:39:31 +0000 Subject: Massive clean-up --- diff --git a/.gitignore b/.gitignore index af85de7..e523eaf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Search-Xapian-1.0.20.0.tar.gz +/Search-Xapian-1.2.10.0.tar.gz diff --git a/perl-Search-Xapian.spec b/perl-Search-Xapian.spec index 4c31231..66f6736 100644 --- a/perl-Search-Xapian.spec +++ b/perl-Search-Xapian.spec @@ -1,19 +1,26 @@ Name: perl-Search-Xapian -Version: 1.0.20.0 -Release: 9%{?dist} +Version: 1.2.10.0 +Release: 1%{?dist} Summary: Xapian perl bindings - -Group: Development/Libraries License: GPL+ or Artistic -URL: http://search.cpan.org/~olly/Search-Xapian-%{version}/Xapian.pm -Source0: http://cpan.netnitco.net/authors/id/O/OL/OLLY/Search-Xapian-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More), xapian-core-devel -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)), xapian-core-libs +URL: http://search.cpan.org/dist/Search-Xapian/ +Source0: http://www.cpan.org/authors/id/O/OL/OLLY/Search-Xapian-%{version}.tar.gz + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: xapian-core-devel +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} %description -Perl XS frontend to the Xapian C++ search library. +This module wraps most methods of most Xapian classes. The missing classes +and methods should be added in the future. It also provides a simplified, +more 'perlish' interface to some common operations, as demonstrated above. + %prep %setup -q -n Search-Xapian-%{version} @@ -25,31 +32,33 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%check -make test +%{_fixperms} $RPM_BUILD_ROOT/* -%clean -rm -rf $RPM_BUILD_ROOT +%check +# the pod coverage tests fail +TEST_POD=1 make test %files -%defattr(-,root,root,-) -%doc README +%doc Changes README %{perl_vendorarch}/* %{_mandir}/man3/*.3* %changelog +* Tue Jan 29 2013 Emmanuel Seyman - 1.2.10.0-1 +- Update to 1.2.10.0 +- Add perl default filter +- Clean up URL and Source0 +- Remove no-longer-used macros + * Fri Jul 20 2012 Fedora Release Engineering - 1.0.20.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 0f46355..f6aa0e8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8fca4619975eddb6fdf297450730d1f7 Search-Xapian-1.0.20.0.tar.gz +3279bec80e30e4790a447045c92777a0 Search-Xapian-1.2.10.0.tar.gz