Accepting request 354825 from home:bmwiedemann:branches:devel:languages:perl
- add cpanspec yaml - fix license - update to 1.39 - Require netcfg to make tests pass this drops some old requires that are part of perl-base or perl OBS-URL: https://build.opensuse.org/request/show/354825 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Apache-Test?expand=0&rev=5
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Apache-Test (Version 1.36)
|
||||
# spec file for package perl-Apache-Test
|
||||
#
|
||||
# Copyright (c) 2010 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
|
||||
@@ -15,27 +15,28 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Apache-Test
|
||||
Version: 1.36
|
||||
Release: 1
|
||||
License: CHECK(GPL+ or Artistic)
|
||||
Version: 1.39
|
||||
Release: 0
|
||||
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
|
||||
%define cpan_name Apache-Test
|
||||
Summary: Test.pm wrapper with helpers for testing Apache
|
||||
Url: http://search.cpan.org/dist/Apache-Test/
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://www.cpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{version}.tar.gz
|
||||
# MANAUAL
|
||||
Url: http://search.cpan.org/dist/Apache-Test/
|
||||
Source0: http://www.cpan.org/authors/id/S/SH/SHAY/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Patch0: fix-provides.diff
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Cwd) >= 2.06
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec) >= 0.8
|
||||
Requires: perl(Cwd) >= 2.06
|
||||
Requires: perl(File::Spec) >= 0.8
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: netcfg
|
||||
Requires: netcfg
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
*Apache::Test* is a wrapper around the standard 'Test.pm' with helpers for
|
||||
@@ -43,7 +44,6 @@ testing an Apache server.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# MANUAL
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
@@ -58,9 +58,6 @@ testing an Apache server.
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes CONTRIBUTORS LICENSE README SUPPORT ToDo
|
||||
|
Reference in New Issue
Block a user