Accepting request 737530 from home:tinita:branches:devel:languages:perl
- Regenerate spec with newest cpanspec * Add PERL_USE_UNSAFE_INC * The following dependencies were removed because they are in perl 5.26 core: perl(ExtUtils::MakeMaker) perl(Math::BigFloat) >= 1.44 perl(Math::BigInt) >= 1.70 perl(Storable) >= 2.12 perl(Test::More) >= 0.42 OBS-URL: https://build.opensuse.org/request/show/737530 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Chart-Math-Axis?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
e04d9cf0e5
commit
493cbceefb
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 9 13:35:52 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
|
||||
|
||||
- Regenerate spec with newest cpanspec
|
||||
* Add PERL_USE_UNSAFE_INC
|
||||
* The following dependencies were removed because they are in perl 5.26 core:
|
||||
perl(ExtUtils::MakeMaker)
|
||||
perl(Math::BigFloat) >= 1.44
|
||||
perl(Math::BigInt) >= 1.70
|
||||
perl(Storable) >= 2.12
|
||||
perl(Test::More) >= 0.42
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 14 07:54:29 UTC 2011 - coolo@opensuse.org
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Chart-Math-Axis (Version 1.06)
|
||||
# spec file for package perl-Chart-Math-Axis
|
||||
#
|
||||
# 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,32 +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-Chart-Math-Axis
|
||||
Version: 1.06
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Release: 0
|
||||
%define cpan_name Chart-Math-Axis
|
||||
Summary: Implements an algorithm to find good values for chart axis
|
||||
Url: http://search.cpan.org/dist/Chart-Math-Axis/
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Math::BigFloat) >= 1.44
|
||||
BuildRequires: perl(Math::BigInt) >= 1.70
|
||||
BuildRequires: perl(Params::Util) >= 0.15
|
||||
BuildRequires: perl(Storable) >= 2.12
|
||||
BuildRequires: perl(Test::More) >= 0.42
|
||||
Requires: perl(Math::BigFloat) >= 1.44
|
||||
Requires: perl(Math::BigInt) >= 1.70
|
||||
Requires: perl(Params::Util) >= 0.15
|
||||
Requires: perl(Storable) >= 2.12
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -54,22 +47,20 @@ should think of 'top' as 'right', and 'bottom' as 'left'.
|
||||
%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 LICENSE README
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user