forked from pool/perl-Protocol-Redis
Accepting request 670154 from home:kraih
Cleaned up the spec file. OBS-URL: https://build.opensuse.org/request/show/670154 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Protocol-Redis?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
51961a9c3c
commit
06b5149297
@@ -12,25 +12,24 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Protocol-Redis
|
||||
Name: perl-Protocol-Redis
|
||||
Version: 1.0006
|
||||
Release: 0
|
||||
%define cpan_name Protocol-Redis
|
||||
Summary: Redis protocol parser/encoder with asynchronous capabilities
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Protocol-Redis/
|
||||
URL: http://search.cpan.org/dist/Protocol-Redis/
|
||||
Source0: https://cpan.metacpan.org/authors/id/U/UN/UNDEF/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -42,11 +41,11 @@ http://redis.io/topics/pipelining support.
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make %{?_smp_mflags} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -58,4 +57,3 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
|
||||
|
||||
Reference in New Issue
Block a user