From 7922e0f1df3b29e4bccd1bfe921923276cb6e7bee77d97e356d4139edb9d0bba Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 15 Oct 2019 11:51:55 +0000 Subject: [PATCH] Accepting request 736679 from home:tinita:branches:devel:languages:perl - Regenerate spec with newest cpanspec * Add PERL_USE_UNSAFE_INC Build is passing again OBS-URL: https://build.opensuse.org/request/show/736679 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-CatalystX-Menu-Tree?expand=0&rev=4 --- perl-CatalystX-Menu-Tree.changes | 6 ++++++ perl-CatalystX-Menu-Tree.spec | 26 +++++++++++--------------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/perl-CatalystX-Menu-Tree.changes b/perl-CatalystX-Menu-Tree.changes index 1d6b455..d3e48a0 100644 --- a/perl-CatalystX-Menu-Tree.changes +++ b/perl-CatalystX-Menu-Tree.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 9 13:14:53 UTC 2019 - Tina Mueller + +- Regenerate spec with newest cpanspec + * Add PERL_USE_UNSAFE_INC + ------------------------------------------------------------------- Thu Apr 14 07:52:24 UTC 2011 - coolo@opensuse.org diff --git a/perl-CatalystX-Menu-Tree.spec b/perl-CatalystX-Menu-Tree.spec index ecbf129..2235bca 100644 --- a/perl-CatalystX-Menu-Tree.spec +++ b/perl-CatalystX-Menu-Tree.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-CatalystX-Menu-Tree (Version 0.02) +# spec file for package perl-CatalystX-Menu-Tree # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -12,26 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: perl-CatalystX-Menu-Tree Version: 0.02 -Release: 1 -License: GPL+ or Artistic +Release: 0 %define cpan_name CatalystX-Menu-Tree Summary: Generate Catalyst application menus -Url: http://search.cpan.org/dist/CatalystX-Menu-Tree/ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/C/CO/CONVERTER/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/C/CO/CONVERTER/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Catalyst::Runtime) -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(MRO::Compat) -BuildRequires: perl(Test::More) Requires: perl(Catalyst::Runtime) Requires: perl(MRO::Compat) %{perl_requires} @@ -46,20 +45,17 @@ Catalyst actions with the Private attribute are excluded from the tree. %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) %doc Changes gitignore README