1
0

- 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:
Stephan Kulow 2012-02-28 08:29:38 +00:00 committed by Git OBS Bridge
parent 7970a51aa0
commit 7f42440050
4 changed files with 23 additions and 34 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acb2496643784976fe8edebc7b412e9a93f6f0825631f5bd9186c810aed1763e
size 15065

View File

@ -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 Wed Dec 14 11:04:53 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Sub-Install # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,41 +17,32 @@
Name: perl-Sub-Install Name: perl-Sub-Install
Version: 0.926
Release: 0
%define cpan_name Sub-Install %define cpan_name Sub-Install
Summary: Install subroutines into packages easily 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 Group: Development/Libraries/Perl
Version: 0.925 Url: http://search.cpan.org/dist/Sub-Install/
Release: 0 Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Url: http://search.cpan.org/dist/Sub-Install
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Scalar::Util) #BuildRequires: perl(Sub::Install)
BuildRequires: perl(Test::More) #BuildRequires: perl(Test::Perl::Critic)
# other not perl || perl-base %{perl_requires}
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.06
#
Requires: perl(Scalar::Util)
Requires: perl(Test::More)
%description %description
This module makes it easy to install subroutines into packages without the 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. can see them.
Author: Ricardo Signes, <rjbs@cpan.org>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@ -59,19 +50,11 @@ can see them.
%install %install
%perl_make_install %perl_make_install
# do not perl_process_packlist (noarch) %perl_process_packlist
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
# normally you only need to check for doc files %defattr(-,root,root,755)
%defattr(-,root,root) %doc Changes LICENSE MYMETA.json MYMETA.yml README
%doc Changes LICENSE README
%changelog %changelog