Accepting request 460141 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/460141
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-FormValidator?expand=0&rev=6
This commit is contained in:
Stephan Kulow
2017-02-28 14:21:17 +00:00
committed by Git OBS Bridge
parent 0d6c02657c
commit 934a68637c
5 changed files with 69 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-FormValidator
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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,34 +17,31 @@
Name: perl-Data-FormValidator
Version: 4.81
Version: 4.83
Release: 0
%define cpan_name Data-FormValidator
Summary: Validates user input (usually from an HTML form) based
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Data-FormValidator/
Source: http://www.cpan.org/authors/id/M/MA/MARKSTOS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/D/DF/DFARRELL/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CGI) >= 3.48
BuildRequires: perl(Date::Calc) >= 5
BuildRequires: perl(Email::Valid)
BuildRequires: perl(File::MMagic) >= 1.17
BuildRequires: perl(Image::Size)
BuildRequires: perl(MIME::Types) >= 1.005
BuildRequires: perl(Module::Build) >= 0.38
BuildRequires: perl(Perl6::Junction) >= 1.1
BuildRequires: perl(Regexp::Common)
BuildRequires: perl(Regexp::Common) >= 0.03
Requires: perl(Date::Calc) >= 5
Requires: perl(Email::Valid)
Requires: perl(File::MMagic) >= 1.17
Requires: perl(Image::Size)
Requires: perl(MIME::Types) >= 1.005
Requires: perl(Perl6::Junction) >= 1.1
Requires: perl(Regexp::Common)
Requires: perl(Regexp::Common) >= 0.03
%{perl_requires}
%description
@@ -60,20 +57,22 @@ or process the resulting valid data.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
./Build test
%{__make} test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes RELEASE_NOTES test
%doc Changes RELEASE_NOTES
%changelog