forked from pool/perl-Sub-Install
- updated to 0.926
cope with terminal dots from new Carp OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Sub-Install?expand=0&rev=22
This commit is contained in:
parent
7970a51aa0
commit
7f42440050
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a65a6e87b2f886ea9bbe3ac5a62ae98a7ff3f8139c0b92e727c2a7cb2d618ce9
|
||||
size 14432
|
3
Sub-Install-0.926.tar.gz
Normal file
3
Sub-Install-0.926.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:acb2496643784976fe8edebc7b412e9a93f6f0825631f5bd9186c810aed1763e
|
||||
size 15065
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 08:19:21 UTC 2012 - coolo@suse.com
|
||||
|
||||
- updated to 0.926
|
||||
cope with terminal dots from new Carp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 14 11:04:53 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Sub-Install
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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,41 +17,32 @@
|
||||
|
||||
|
||||
Name: perl-Sub-Install
|
||||
Version: 0.926
|
||||
Release: 0
|
||||
%define cpan_name Sub-Install
|
||||
Summary: Install subroutines into packages easily
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Version: 0.925
|
||||
Release: 0
|
||||
Url: http://search.cpan.org/dist/Sub-Install
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/Sub-Install/
|
||||
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::More)
|
||||
# other not perl || perl-base
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.06
|
||||
#
|
||||
Requires: perl(Scalar::Util)
|
||||
Requires: perl(Test::More)
|
||||
#BuildRequires: perl(Sub::Install)
|
||||
#BuildRequires: perl(Test::Perl::Critic)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module makes it easy to install subroutines into packages without the
|
||||
unslightly mess of no strict or typeglobs lying about where just anyone
|
||||
unslightly mess of 'no strict' or typeglobs lying about where just anyone
|
||||
can see them.
|
||||
|
||||
Author: Ricardo Signes, <rjbs@cpan.org>
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@ -59,19 +50,11 @@ can see them.
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
# normally you only need to check for doc files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes LICENSE README
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE MYMETA.json MYMETA.yml README
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user