From 7b559ec422331c2a763a8f97ae75c700eb8fbff31dc472a43a026f0a57c0b07e Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 13 Nov 2019 13:10:11 +0000 Subject: [PATCH] Accepting request 746562 from home:tinita:branches:devel:languages:perl:CPAN-B - initial package 0.001 * created by cpanspec 1.78.09 This module is required by the newest versions of Clone.pm. Clone itself has 281 direct and 3091 indirect dependencies on CPAN, and the first modules are requiring its newest version, so I think it is time to add this module. OBS-URL: https://build.opensuse.org/request/show/746562 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-B-COW?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + B-COW-0.001.tar.gz | 3 +++ cpanspec.yml | 28 ++++++++++++++++++++++ perl-B-COW.changes | 5 ++++ perl-B-COW.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 118 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 B-COW-0.001.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-B-COW.changes create mode 100644 perl-B-COW.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/B-COW-0.001.tar.gz b/B-COW-0.001.tar.gz new file mode 100644 index 0000000..cd25927 --- /dev/null +++ b/B-COW-0.001.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d5c3dfe09bbc9100cc56635816d0758c1b32777122246ef652661712a74b0d8 +size 18005 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-B-COW.changes b/perl-B-COW.changes new file mode 100644 index 0000000..9c54d46 --- /dev/null +++ b/perl-B-COW.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Nov 8 11:18:01 UTC 2019 - + +- initial package 0.001 + * created by cpanspec 1.78.09 diff --git a/perl-B-COW.spec b/perl-B-COW.spec new file mode 100644 index 0000000..f3d2d4b --- /dev/null +++ b/perl-B-COW.spec @@ -0,0 +1,58 @@ +# +# spec file for package perl-B-COW +# +# Copyright (c) 2019 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 +# 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/ +# + + +Name: perl-B-COW +Version: 0.001 +Release: 0 +%define cpan_name B-COW +Summary: B::COW additional B helpers to check COW status +License: Artistic-1.0 OR GPL-1.0-or-later +Group: Development/Libraries/Perl +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +%{perl_requires} + +%description +B::COW provides some naive additional B helpers to check the COW status of +one SvPV. + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes examples README +%license LICENSE + +%changelog