Accepting request 297324 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/297324
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-SearchEngine?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2015-04-16 20:01:51 +00:00
committed by Git OBS Bridge
parent ee943f1c8d
commit db45eb06f2
5 changed files with 62 additions and 57 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-SearchEngine
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,84 +16,60 @@
#
Name: perl-Data-SearchEngine
Version: 0.32
Version: 0.33
Release: 0
Summary: A role for search engine abstraction
Source: http://search.cpan.org/CPAN/authors/id/G/GP/GPHAT/Data-SearchEngine-%{version}.tar.gz
Url: http://search.cpan.org/dist/Data-SearchEngine
%define cpan_name Data-SearchEngine
Summary: Role for Search Engine Abstraction
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
Url: http://search.cpan.org/dist/Data-SearchEngine/
Source0: http://www.cpan.org/authors/id/A/AN/ANELSON/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(Moose::Role)
BuildRequires: perl(Data::Paginator) >= 0.03
BuildRequires: perl(JSON::Any)
BuildRequires: perl(JSON::XS)
BuildRequires: perl(Moose)
BuildRequires: perl(Moose::Role)
BuildRequires: perl(MooseX::Storage)
BuildRequires: perl(MooseX::Storage::Deferred)
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(JSON::Any)
BuildRequires: perl(Moose)
BuildRequires: perl(MooseX::Clone)
Requires: perl(Moose::Role)
Requires: perl(Data::Paginator) >= 0.03
Requires: perl(JSON::Any)
Requires: perl(JSON::XS)
Requires: perl(Moose)
Requires: perl(Moose::Role)
Requires: perl(MooseX::Storage)
Requires: perl(MooseX::Storage::Deferred)
Requires: perl(Digest::MD5)
Requires: perl(JSON::Any)
Requires: perl(Moose)
Requires: perl(MooseX::Clone)
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%{perl_requires}
%description
There are lots of search engine libraries. Each has a different interface.
The goal of Data::SearchEngine is to provide a simple, extensive set of
classes and roles that you can use to wrap a search implementation. The
net result will be an easily swappable backend with a common set of
There are *lots* of search engine libraries. Each has a different
interface. The goal of Data::SearchEngine is to provide a simple, extensive
set of classes and roles that you can use to wrap a search implementation.
The net result will be an easily swappable backend with a common set of
features.
%prep
%setup -q -n "Data-SearchEngine-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?_smp_flags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes ignore.txt LICENSE README README.mkdn
%dir %{perl_vendorlib}/Data
%{perl_vendorlib}/Data/SearchEngine.pm
%{perl_vendorlib}/Data/SearchEngine
%dir %{perl_vendorlib}/Moose
%dir %{perl_vendorlib}/Moose/Meta
%dir %{perl_vendorlib}/Moose/Meta/Attribute
%dir %{perl_vendorlib}/Moose/Meta/Attribute/Custom
%dir %{perl_vendorlib}/Moose/Meta/Attribute/Custom/Trait
%{perl_vendorlib}/Moose/Meta/Attribute/Custom/Trait/Digestable.pm
%doc %{perl_man3dir}/Data::SearchEngine.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Data::SearchEngine::*.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Moose::Meta::Attribute::Custom::Trait::Digestable.%{perl_man3ext}%{ext_man}
%changelog