8
0

Accepting request 381006 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/381006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-OptList?expand=0&rev=28
This commit is contained in:
P. Janouch
2016-03-29 11:24:53 +00:00
committed by Git OBS Bridge
parent ba0cf720c5
commit d3630c32a8
5 changed files with 45 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-OptList
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -17,14 +17,15 @@
Name: perl-Data-OptList
Version: 0.109
Version: 0.110
Release: 0
%define cpan_name Data-OptList
Summary: parse and validate simple name/value option pairs
Summary: Parse and Validate Simple Name/Value Option Pairs
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Data-OptList/
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -32,7 +33,6 @@ BuildRequires: perl-macros
BuildRequires: perl(Params::Util)
BuildRequires: perl(Sub::Install) >= 0.921
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(Params::Util)
Requires: perl(Sub::Install) >= 0.921
%{perl_requires}
@@ -73,12 +73,6 @@ following a name is its value.
%prep
%setup -q -n %{cpan_name}-%{version}
# MANUAL
%if 0%{?suse_version} < 1120
for i in `find t -type f` ; do
sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i
done
%endif
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor