d75271a9f7
- updated to 0.30 see /usr/share/doc/packages/perl-Package-Stash-XS/Changes 0.30 2022-06-12 20:00:39Z - misc tooling updates - fixed redundant argument in sprintf in tests (RT#143205) OBS-URL: https://build.opensuse.org/request/show/982415 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Package-Stash-XS?expand=0&rev=14
60 lines
1.8 KiB
RPMSpec
60 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package perl-Package-Stash-XS
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name Package-Stash-XS
|
|
Name: perl-Package-Stash-XS
|
|
Version: 0.30
|
|
Release: 0
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Faster and more correct implementation of the Package::Stash API
|
|
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
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Test::Fatal)
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(Test::Needs)
|
|
%{perl_requires}
|
|
|
|
%description
|
|
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
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc Changes CONTRIBUTING README
|
|
%license LICENSE
|
|
|
|
%changelog
|