Accepting request 325473 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/325473
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Request-Params?expand=0&rev=2
This commit is contained in:
Stephan Kulow
2015-08-23 14:17:33 +00:00
committed by Git OBS Bridge
parent 32dbecef07
commit a7b8e9b2f2
5 changed files with 58 additions and 37 deletions

View File

@@ -1,9 +1,7 @@
# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-HTTP-Request-Params
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
# 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
@@ -18,65 +16,55 @@
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
Name: perl-HTTP-Request-Params
Version: 1.01
Version: 1.02
Release: 0
Summary: Parse HTTP Requests for incoming Query Parameters
License: GPL-2.0+ or Artistic-1.0
%define cpan_name HTTP-Request-Params
Summary: Retrieve GET/POST Parameters from HTTP Requests
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/HTTP-Request-Params-%{version}.tar.gz
Url: http://search.cpan.org/dist/HTTP-Request-Params
Url: http://search.cpan.org/dist/HTTP-Request-Params/
Source0: http://www.cpan.org/authors/id/K/KI/KIZ/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CGI) >= 3.00
BuildRequires: perl(Class::Accessor::Fast) >= 0.19
BuildRequires: perl(Email::MIME) >= 1.42
BuildRequires: perl(Email::MIME::ContentType) >= 1.0
BuildRequires: perl(Email::MIME::Modifier) >= 1.42
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTTP::Request) >= 1.40
BuildRequires: perl(HTTP::Request::Common) >= 1.26
Requires: perl(CGI) >= 3.00
Requires: perl(Class::Accessor::Fast) >= 0.19
Requires: perl(Email::MIME) >= 1.42
Requires: perl(Email::MIME::ContentType) >= 1.0
Requires: perl(Email::MIME::Modifier) >= 1.42
Requires: perl(HTTP::Request) >= 1.40
Requires: perl(HTTP::Request::Common) >= 1.26
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%{perl_requires}
%description
This software does all the dirty work of parsing HTTP Requests to find
incoming query parameters.
%prep
%setup -q -n "HTTP-Request-Params-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?_smp_flags}
%{__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)
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%dir %{perl_vendorlib}/HTTP
%dir %{perl_vendorlib}/HTTP/Request
%{perl_vendorlib}/HTTP/Request/Params.pm
%doc %{perl_man3dir}/HTTP::Request::Params.%{perl_man3ext}%{ext_man}
%changelog