Accepting request 662488 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/662488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Package-Stash-XS?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2019-01-05 13:41:00 +00:00 committed by Git OBS Bridge
commit 377e218f4c
5 changed files with 58 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23d8c5c25768ef1dc0ce53b975796762df0d6e244445d06e48d794886c32d486
size 74161

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3676ba94641e03d6a30e951f09266c4c3ca3f5b58aa7b314a67f28e419878aa
size 87491

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Dec 31 06:26:11 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to 0.29
see /usr/share/doc/packages/perl-Package-Stash-XS/Changes
0.29 2018-12-31 03:26:01Z
- quiet compiler warning (Jacques Germishuys, PR #2)
- canonical repository moved to
https://github.com/moose/Package-Stash=XS
-------------------------------------------------------------------
Sat Jul 27 11:58:38 UTC 2013 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Package-Stash-XS
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -12,46 +12,42 @@
# 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/
#
Name: perl-Package-Stash-XS
Version: 0.28
Version: 0.29
Release: 0
%define cpan_name Package-Stash-XS
Summary: faster and more correct implementation of the Package::Stash API
License: Artistic-1.0 or GPL-1.0+
Summary: Faster and More Correct Implementation of the Package::Stash Api
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Package-Stash-XS/
Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires)
#BuildRequires: perl(Package::Stash)
#BuildRequires: perl(Package::Stash::XS)
#BuildRequires: perl(Test::LeakTrace)
#BuildRequires: perl(Variable::Magic)
%{perl_requires}
%description
This is a backend for the Package::Stash manpage, which provides the
functionality in a way that's less buggy and much faster. It will be used
by default if it's installed, and should be preferred in all environments
with a compiler.
This is a backend for Package::Stash, which provides the functionality in a
way that's less buggy and much faster. It will be used by default if it's
installed, and should be preferred in all environments with a compiler.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@ -60,6 +56,7 @@ with a compiler.
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%doc Changes CONTRIBUTING README
%license LICENSE
%changelog