forked from pool/perl-namespace-autoclean
Accepting request 725887 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/725887 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-namespace-autoclean?expand=0&rev=27
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-namespace-autoclean
|
||||
#
|
||||
# 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,19 +12,19 @@
|
||||
# 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-namespace-autoclean
|
||||
Version: 0.28
|
||||
Version: 0.29
|
||||
Release: 0
|
||||
%define cpan_name namespace-autoclean
|
||||
Summary: Keep imports out of your namespace
|
||||
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/namespace-autoclean/
|
||||
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -33,7 +33,7 @@ BuildRequires: perl-macros
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.12
|
||||
BuildRequires: perl(Sub::Identify)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Requires)
|
||||
BuildRequires: perl(Test::Needs)
|
||||
BuildRequires: perl(namespace::clean) >= 0.20
|
||||
Requires: perl(B::Hooks::EndOfScope) >= 0.12
|
||||
Requires: perl(Sub::Identify)
|
||||
@@ -73,11 +73,11 @@ clean:
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -86,6 +86,7 @@ clean:
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes CONTRIBUTING LICENCE README
|
||||
%doc Changes CONTRIBUTING README
|
||||
%license LICENCE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user