forked from pool/perl-Class-Load
Accepting request 221603 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/221603 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Load?expand=0&rev=15
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:823c45885e1d29feef6867282b881d402f42af6413c7e0e9f8fe32086aee8c20
|
||||
size 20271
|
||||
3
Class-Load-0.21.tar.gz
Normal file
3
Class-Load-0.21.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10d9bae402f7e67ef441af1d7222c9d09c2b0818b81c6752c383a2d924c8047c
|
||||
size 31360
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 9 13:33:37 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 0.21
|
||||
- repository moved to the github moose organization
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 10 14:44:31 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Class-Load
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,19 +17,20 @@
|
||||
|
||||
|
||||
Name: perl-Class-Load
|
||||
Version: 0.20
|
||||
Version: 0.21
|
||||
Release: 0
|
||||
%define cpan_name Class-Load
|
||||
Summary: a working (require "Class::Name") and more
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Class-Load/
|
||||
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Data::OptList)
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
||||
BuildRequires: perl(Module::Implementation) >= 0.04
|
||||
BuildRequires: perl(Module::Runtime) >= 0.012
|
||||
BuildRequires: perl(Package::Stash) >= 0.14
|
||||
@@ -38,12 +39,7 @@ BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Requires)
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
BuildRequires: perl(version)
|
||||
#BuildRequires: perl(Class::Load)
|
||||
#BuildRequires: perl(Class::Load::PP)
|
||||
#BuildRequires: perl(Class::Load::VersionCheck)
|
||||
#BuildRequires: perl(Test::Class::Load)
|
||||
#BuildRequires: perl(Test::Spelling)
|
||||
#BuildRequires: perl(Test::Without::Module)
|
||||
|
||||
Requires: perl(Data::OptList)
|
||||
Requires: perl(Module::Implementation) >= 0.04
|
||||
Requires: perl(Module::Runtime) >= 0.012
|
||||
@@ -69,19 +65,18 @@ For that, we provide 'is_class_loaded 'Class::Name''.
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes CONTRIBUTING LICENSE README README.md
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user