Accepting request 307318 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/307318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-B-Hooks-EndOfScope?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2015-05-16 05:14:34 +00:00 committed by Git OBS Bridge
commit 51afa999c9
5 changed files with 45 additions and 20 deletions

View File

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

View File

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

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#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_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,17 @@
-------------------------------------------------------------------
Fri May 15 10:51:26 UTC 2015 - coolo@suse.com
- updated to 0.15
see /usr/share/doc/packages/perl-B-Hooks-EndOfScope/Changes
0.15 2015-05-14 21:46:06Z
- updated the tooling for generating Makefile.PL
- removed Tie::StdHash from prereqs, which is not require()able as a module
on its own (despite being indexed) (miyagawa, GH #3)
- fixed the addition in release 0.14 of Hash::Util::FieldHash as a
prerequisite (which is not available prior to perl 5.010) for pure-perl
installations (RT#104435)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 6 13:13:02 UTC 2015 - coolo@suse.com Fri Feb 6 13:13:02 UTC 2015 - coolo@suse.com

View File

@ -17,29 +17,27 @@
Name: perl-B-Hooks-EndOfScope Name: perl-B-Hooks-EndOfScope
Version: 0.14 Version: 0.15
Release: 0 Release: 0
%define cpan_name B-Hooks-EndOfScope %define cpan_name B-Hooks-EndOfScope
Summary: Execute code after a scope finished compilation Summary: Execute code after a scope finished compilation
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/B-Hooks-EndOfScope/ Url: http://search.cpan.org/dist/B-Hooks-EndOfScope/
Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::CBuilder) >= 0.26 BuildRequires: perl(ExtUtils::CBuilder) >= 0.26
BuildRequires: perl(Module::Implementation) >= 0.05 BuildRequires: perl(Module::Implementation) >= 0.05
BuildRequires: perl(Module::Runtime) >= 0.012
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006 BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::More) >= 0.89
BuildRequires: perl(Variable::Magic) >= 0.48 BuildRequires: perl(Variable::Magic) >= 0.48
Requires: perl(Module::Implementation) >= 0.05 Requires: perl(Module::Implementation) >= 0.05
Requires: perl(Module::Runtime) >= 0.012
Requires: perl(Sub::Exporter::Progressive) >= 0.001006 Requires: perl(Sub::Exporter::Progressive) >= 0.001006
Requires: perl(Variable::Magic) >= 0.48 Requires: perl(Variable::Magic) >= 0.48
Recommends: perl(Variable::Magic) >= 0.48
%{perl_requires} %{perl_requires}
%description %description
@ -48,16 +46,6 @@ surrounding scope.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
# MANUAL BEGIN
%if 0%{?sles_version} == 10
%{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL
%endif
%if 0%{?suse_version} <= 1110
for i in `find t -type f` ; do
sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i
done
%endif
# MANUAL END
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
@ -73,6 +61,6 @@ done
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes CONTRIBUTING LICENSE README weaver.ini %doc Changes CONTRIBUTING LICENSE README
%changelog %changelog