Accepting request 741161 from home:tinita:branches:devel:languages:perl

- Regenerate spec with newest cpanspec
   * Add PERL_USE_UNSAFE_INC
   * Remove unused patch perl-Graphics-Primitive-remove_done_testing.patch
     (not needed anymore)

OBS-URL: https://build.opensuse.org/request/show/741161
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Primitive?expand=0&rev=11
This commit is contained in:
Stephan Kulow
2019-10-19 14:33:44 +00:00
committed by Git OBS Bridge
parent a0a8eb119c
commit 84276ae440
3 changed files with 17 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Graphics-Primitive
#
# Copyright (c) 2015 SUSE LINUX 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,7 +12,7 @@
# 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/
#
@@ -21,10 +21,10 @@ Version: 0.67
Release: 0
%define cpan_name Graphics-Primitive
Summary: Device and library agnostic graphic primitives
License: Artistic-1.0 or GPL-1.0+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Graphics-Primitive/
Source0: http://www.cpan.org/authors/id/G/GP/GPHAT/%{cpan_name}-%{version}.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GP/GPHAT/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -52,17 +52,17 @@ Requires: perl(MooseX::Storage) >= 0.17
Graphics::Primitive is library agnostic system for drawing things.
The idea is to allow you to create and manipulate graphical components and
then pass them off to a Graphics::Primitive::Driver for actual drawing.
then pass them off to a Driver for actual drawing.
%prep
%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