[packages/perl-Search-Xapian] - up to 1.2.24 - builds find with xapian-core 1.4.4 - enabled tests
baggins
baggins at pld-linux.org
Sun Apr 30 00:12:54 CEST 2017
commit 3c54660a8c7d7e28f95c874de92f5d3113345296
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Apr 30 00:12:20 2017 +0200
- up to 1.2.24
- builds find with xapian-core 1.4.4
- enabled tests
perl-Search-Xapian.spec | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/perl-Search-Xapian.spec b/perl-Search-Xapian.spec
index 31f4877..0de2bbd 100644
--- a/perl-Search-Xapian.spec
+++ b/perl-Search-Xapian.spec
@@ -1,23 +1,30 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
%include /usr/lib/rpm/macros.perl
%define pdir Search
%define pnam Xapian
-%define basever 1.2.23
+%define basever 1.2.24
Summary: Search::Xapian - Perl XS frontend to the Xapian C++ search library
Summary(pl.UTF-8): Search::Xapian - interfejs Perlowy XS do biblioteki wyszukiwania Xapian
Name: perl-Search-Xapian
Version: %{basever}.0
-Release: 2
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
#Source0: http://www.cpan.org/modules/by-module/Search/%{pdir}-%{pnam}-%{version}.tar.gz
Source0: http://oligarchy.co.uk/xapian/%{basever}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 9b52b1aaef20b6904df7237b6ea71085
+# Source0-md5: 01206bf2cc71c5b3a6258a01daabfc43
URL: http://search.cpan.org/dist/Search-Xapian/
BuildRequires: libstdc++-devel
+%if %{with tests}
+BuildRequires: perl-Devel-Leak
+%endif
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: xapian-core-devel = %{basever}
+BuildRequires: xapian-core-devel >= %{basever}
Requires: xapian-core-libs >= %{basever}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Search-Xapian.git/commitdiff/3c54660a8c7d7e28f95c874de92f5d3113345296
More information about the pld-cvs-commit
mailing list