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
This commit is contained in:
Stephan Kulow
2019-10-15 11:51:55 +00:00
committed by Git OBS Bridge
parent 828bdcb363
commit 7922e0f1df
2 changed files with 17 additions and 15 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 9 13:14:53 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Regenerate spec with newest cpanspec
* Add PERL_USE_UNSAFE_INC
-------------------------------------------------------------------
Thu Apr 14 07:52:24 UTC 2011 - coolo@opensuse.org

View File

@@ -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