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:
committed by
Git OBS Bridge
parent
828bdcb363
commit
7922e0f1df
@@ -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
|
Thu Apr 14 07:52:24 UTC 2011 - coolo@opensuse.org
|
||||||
|
|
||||||
|
@@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: perl-CatalystX-Menu-Tree
|
||||||
Version: 0.02
|
Version: 0.02
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL+ or Artistic
|
|
||||||
%define cpan_name CatalystX-Menu-Tree
|
%define cpan_name CatalystX-Menu-Tree
|
||||||
Summary: Generate Catalyst application menus
|
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
|
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
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Catalyst::Runtime)
|
BuildRequires: perl(Catalyst::Runtime)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
||||||
BuildRequires: perl(MRO::Compat)
|
BuildRequires: perl(MRO::Compat)
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
Requires: perl(Catalyst::Runtime)
|
Requires: perl(Catalyst::Runtime)
|
||||||
Requires: perl(MRO::Compat)
|
Requires: perl(MRO::Compat)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
@@ -46,20 +45,17 @@ Catalyst actions with the Private attribute are excluded from the tree.
|
|||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes gitignore README
|
%doc Changes gitignore README
|
||||||
|
Reference in New Issue
Block a user