From 23c196bddbfa4372b28d0e5171730ab1008d6a07 Mon Sep 17 00:00:00 2001 From: coolo <> Date: Aug 01 2022 20:18:40 +0000 Subject: Update perl-Test-Alien-CPP to version 1.03 / rev 1 via SR 991983 https://build.opensuse.org/request/show/991983 by user coolo + RBrownFactory needed for Text::Hunspell --- diff --git a/.files b/.files new file mode 100644 index 0000000..c8b3e99 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..33918c8 --- /dev/null +++ b/.meta @@ -0,0 +1,6 @@ + + perl-Test-Alien-CPP - Testing tools for Alien modules for projects that use C++ + This module works exactly like Test::Alien except that it supports C++. All functions like 'alien_ok', etc that are exported by Test::Alien are exported by this module. The only difference is that 'xs_ok' injects C++ support before delegating to Test::Alien. + + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..00a366b --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + 40a8767e844befb505c0b3b1af2a28e8 + 1.03 + + RBrownFactory + needed for Text::Hunspell + 991983 + + diff --git a/Test-Alien-CPP-1.03.tar.gz b/Test-Alien-CPP-1.03.tar.gz new file mode 120000 index 0000000..c5395cb --- /dev/null +++ b/Test-Alien-CPP-1.03.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreichsnxhyewx6sdj64ispa2xnrv6pobcdaarjbiabastypxnynayta \ No newline at end of file diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..5f5b4ce --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#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: +# baz.patch: PATCH-FIX-OPENSUSE +#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 +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-Test-Alien-CPP.changes b/perl-Test-Alien-CPP.changes new file mode 100644 index 0000000..4320e60 --- /dev/null +++ b/perl-Test-Alien-CPP.changes @@ -0,0 +1,14 @@ +------------------------------------------------------------------- +Wed May 11 03:08:12 UTC 2022 - Tina Müller + +- updated to 1.03 + see /usr/share/doc/packages/perl-Test-Alien-CPP/Changes + + 1.03 2022-05-10 14:44:45 -0600 + - Fix bug in synopsis example (gh#10, gh#11) + +------------------------------------------------------------------- +Sat Oct 17 14:03:09 UTC 2020 - Dirk Stoecker + +- initial package 1.02 + * created by cpanspec 1.78.09 diff --git a/perl-Test-Alien-CPP.spec b/perl-Test-Alien-CPP.spec new file mode 100644 index 0000000..ad4c965 --- /dev/null +++ b/perl-Test-Alien-CPP.spec @@ -0,0 +1,70 @@ +# +# spec file for package perl-Test-Alien-CPP +# +# 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 Test-Alien-CPP +Name: perl-Test-Alien-CPP +Version: 1.03 +Release: 0 +License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Testing tools for Alien modules for projects that use C++ +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::CBuilder) >= 0.27 +BuildRequires: perl(ExtUtils::CppGuess) +BuildRequires: perl(Test2::Require) >= 0.000121 +BuildRequires: perl(Test2::V0) >= 0.000121 +BuildRequires: perl(Test::Alien) >= 1.88 +BuildRequires: perl(Test::Alien::Build) >= 1.21 +Requires: perl(ExtUtils::CBuilder) >= 0.27 +Requires: perl(ExtUtils::CppGuess) +Requires: perl(Test2::Require) >= 0.000121 +Requires: perl(Test::Alien) >= 1.88 +Requires: perl(Test::Alien::Build) >= 1.21 +%{perl_requires} + +%description +This module works exactly like Test::Alien except that it supports C++. All +functions like 'alien_ok', etc that are exported by Test::Alien are +exported by this module. The only difference is that 'xs_ok' injects C++ +support before delegating to Test::Alien. + +%prep +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%doc author.yml Changes README +%license LICENSE + +%changelog