Accepting request 295755 from devel:languages:perl:autoupdate

update

OBS-URL: https://build.opensuse.org/request/show/295755
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Parse-ErrorString-Perl?expand=0&rev=3
This commit is contained in:
2015-04-13 17:02:25 +00:00
committed by Git OBS Bridge
parent 0b98be8220
commit 1bbb3985ff
4 changed files with 71 additions and 54 deletions

View File

@@ -1,72 +1,61 @@
# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-Parse-ErrorString-Perl
#
# Copyright (c) 2015 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
Name: perl-Parse-ErrorString-Perl
Version: 0.15
Version: 0.21
Release: 0
%define cpan_name Parse-ErrorString-Perl
Summary: Parse error messages from the perl interpreter
Source: http://search.cpan.org/CPAN/authors/id/A/AZ/AZAWAWI/Parse-ErrorString-Perl-%{version}.tar.gz
URL: http://search.cpan.org/dist/Parse-ErrorString-Perl
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl = %{perl_version}
Url: http://search.cpan.org/dist/Parse-ErrorString-Perl/
Source: http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Differences)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(Pod::POM) >= 0.27
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Basename)
BuildRequires: perl(Pod::Find)
BuildRequires: perl(Class::XSAccessor)
BuildRequires: perl(Carp)
Requires: perl(Pod::POM) >= 0.27
Requires: perl(File::Spec)
Requires: perl(File::Basename)
Requires: perl(File::Find)
Requires: perl(File::Temp)
Requires: perl(Pod::Find)
BuildRequires: perl(Pod::POM) >= 0.27
BuildRequires: perl(Test::Differences)
Requires: perl(Class::XSAccessor)
Requires: perl(Carp)
Requires: perl(Pod::POM) >= 0.27
%{perl_requires}
%description
Parse::ErrorString::Perl - Parse error messages from the perl interpreter.
Parse error messages from the perl interpreter
%prep
%setup -q -n "Parse-ErrorString-Perl-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%__sed -i 's|6.31|6.30|g' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes LICENSE README
%{_bindir}/check_perldiag
%doc %{_mandir}/man1/check_perldiag.1%{ext_man}
%dir %{perl_vendorlib}/Parse
%dir %{perl_vendorlib}/Parse/ErrorString
%{perl_vendorlib}/Parse/ErrorString/Perl.pm
%{perl_vendorlib}/Parse/ErrorString/Perl
%dir %{perl_vendorarch}/auto/Parse
%dir %{perl_vendorarch}/auto/Parse/ErrorString
%{perl_vendorarch}/auto/Parse/ErrorString/Perl
%doc %{perl_man3dir}/Parse::ErrorString::Perl.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Parse::ErrorString::Perl::*.%{perl_man3ext}%{ext_man}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes
%changelog