Accepting request 1165826 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/1165826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-ExtUtils-CChecker?expand=0&rev=13
This commit is contained in:
Ana Guerrero 2024-04-07 20:04:37 +00:00 committed by Git OBS Bridge
commit 8740ed88c7
4 changed files with 31 additions and 14 deletions

BIN
ExtUtils-CChecker-0.11.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Mar 5 03:07:04 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.12
see /usr/share/doc/packages/perl-ExtUtils-CChecker/Changes
0.12 2024-03-02
[CHANGES]
* Document the `->define` method
* Overall module style updates
+ `use v5.14` in all files
+ use `package NAME VER` syntax
+ Use `Test2::V0` instead of `Test::More` + `Test::Fatal`
-------------------------------------------------------------------
Tue Jul 13 03:06:24 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-ExtUtils-CChecker
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,21 +18,24 @@
%define cpan_name ExtUtils-CChecker
Name: perl-ExtUtils-CChecker
Version: 0.11
Version: 0.120.0
Release: 0
Summary: Configure-time utilities for using C headers,
# 0.12 -> normalize -> 0.120.0
%define cpan_version 0.12
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Configure-time utilities for using C headers,
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(Module::Build) >= 0.400400
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Module::Build) >= 0.4004
BuildRequires: perl(Test2::V0)
Requires: perl(ExtUtils::CBuilder)
Provides: perl(ExtUtils::CChecker) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@ -50,17 +53,17 @@ or for the right include directories to find header files in. This class
also provides assistance here.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files